Search:

Type: Posts; User: caerolus

Search: Search took 0.03 seconds.

  1. function in initialConfig of extended Panel

    Hi guys,

    I'm extending a Ext.Panel to modify some behavior, and one of the custom config parameters that I need is a function (according to that custom function, the behavior changes).

    ...
  2. Replies
    12
    Views
    2,336

    Then I wouldn't use the renderTo config option....

    Then I wouldn't use the renderTo config option. If that panel is within another panel, for example, you don't need to have a div to attach it to. I guess you'll have to set the size otherwise. Did...
  3. Replies
    12
    Views
    2,336

    Try using a ViewPort like this: ...

    Try using a ViewPort like this:

    var vPort = new Ext.Viewport({
    layout: 'border',
    renderTo: Ext.getBody(),
    items: [new...
  4. Replies
    0
    Views
    4,018

    Slider to resize images in Dataview+Paging

    Hi all.
    I'm trying to do something here: I've got a dataview with a pagingtoolbar and a slider. The dataview displays some images, and the slider resizes them to see them bigger or smaller.
    The...
  5. Replies
    3
    Views
    10,832

    If I am correct, the dependencies are loaded...

    If I am correct, the dependencies are loaded after the current script is processed, right?
    In such a case, if my script foo.js has a variable called F, and my script foo2.js uses that F variable,...
  6. [2.1-2.2] Checkbox label not correctly displayed

    Hi all,
    I just upgraded from 2.1 to 2.2. Everything fine, but I've got a problem with a checkbox. Here's the code (probably need to change ext's paths):


    <html>
    <head>
    <link...
  7. Replies
    12
    Views
    2,553

    Sorry to bother u again Condor, but it does not...

    Sorry to bother u again Condor, but it does not seem to work. I'm trying with this:


    <html>
    <head>
    <link type="text/css" rel="stylesheet" href="/extjs/resources/css/ext-all.css"> ...
  8. Replies
    5
    Views
    1,831

    Check this out:...

    Check this out: http://extjs.com/learn/Tutorial:Basic_Form_Submit
  9. Replies
    0
    Views
    682

    'defaults' config in extended FormPanel

    Hi fellas. I'm extending the Ext.form.FormPanel to create all my app's forms with similar look:


    Ext.namespace("ui");

    ui.FormPanel = Ext.extend(Ext.form.FormPanel, {
    labelWidth : 120,
    ...
  10. Replies
    12
    Views
    2,553

    Yes, I though about doing it outside, but...

    Yes, I though about doing it outside, but wondered if there was another way of doing it inline.
    Thanks a lot Condor=D>
  11. Replies
    12
    Views
    2,553

    I see, good to know of those createXXX functions...

    I see, good to know of those createXXX functions \:D/, but how would it be here?


    Users.signing.upForm = function(){
    // This is the validator function, private
    var vFoo= function(val) {
    ...
  12. Replies
    12
    Views
    2,553

    Thanks Condor, that makes sense. One last thing:...

    Thanks Condor, that makes sense. One last thing: is it possible to pass the form panel as the scope to the validator function? In the validator I want to mark 2 different fields as invalid when the...
  13. Replies
    12
    Views
    2,553

    Well, I did and still do that. The thing is that...

    Well, I did and still do that. The thing is that all those examples are just to show how to do something, mainly with widgets. I'm talking more about the so-called big application.
    I mean, in the...
  14. Replies
    12
    Views
    2,553

    I'm open to suggestions regarding the...

    I'm open to suggestions regarding the organization of all this.
    This is actually my 1st time with Ext (and javascript in general) and I don't know what's the best way of organizing all this stuff. I...
  15. Replies
    12
    Views
    2,553

    Binding custom validator functions

    Hi all again. Seems that there is somehting that I still don't get in javascript:-?
    I have an object which contains a form and the custom validators, like this:


    Ext.namespace("Users");...
  16. Replies
    4
    Views
    1,564

    Alright, that was it:D I was getting weird...

    Alright, that was it:D
    I was getting weird errors, so I was just trying very simple pieces of code, too simple it seems :>
    Thank you!
  17. Replies
    4
    Views
    1,564

    Well, I do that from Firebug, so I wait for the...

    Well, I do that from Firebug, so I wait for the page to be ready. Ext is supposed to be ready as well, right?
  18. Replies
    4
    Views
    1,564

    [SOLVED] Scope problem in Ext.Window config

    Hi all, I've got a scope problem I guess.
    Here is an example:

    Ext.ns("Users");
    Users.signing = function(){
    var inForm = new Ext.FormPanel();
    var outForm = new Ext.FormPanel();
    var...
  19. Replies
    56
    Views
    65,791

    yeah, I meant config parameters :)) any way of...

    yeah, I meant config parameters :))
    any way of showing them?
  20. Replies
    56
    Views
    65,791

    I can't have that working. I installed the plugin...

    I can't have that working. I installed the plugin and set the EXT profile, but it doesn't show the properties (not all of them) in the code completion, like the property 'text' in a Ext.Button.
    How...
Results 1 to 20 of 20