Search Type: Posts; User: caerolus

Search: Search took 0.01 seconds.

  1. 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. 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. Try using a ViewPort like this:

    var vPort = new Ext.Viewport({
    layout: 'border',
    renderTo: Ext.getBody(),
    items: [new...
  4. 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,457
    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. 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,181
    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,703
    Check this out: http://extjs.com/learn/Tutorial:Basic_Form_Submit
  9. 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,181
    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,181
    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,181
    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,181
    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,181
    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,181
    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. 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. 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. 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. yeah, I meant config parameters :))
    any way of showing them?
  20. 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