Search:

Type: Posts; User: jlowe

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    253
    Views
    116,990

    Here's what I did: initEvents: function()...

    Here's what I did:



    initEvents: function() {

    this.validated = false;

    this.on('show', function(){
    this.validated = false;
  2. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    Thanks Tim. The flag does the job.

    Thanks Tim. The flag does the job.
  3. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    Makes sense. I'm confused by your statement...

    Makes sense.

    I'm confused by your statement "I don't see that behavior with 2.2.1 or the latest 3.0 code from SVN." Given that we want to execute the function when the user presses Enter or...
  4. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    tryanDLS, I changed the code to use the "keys"...

    tryanDLS,

    I changed the code to use the "keys" configuration, and removed the explicit key listener. However I'm still getting the same result, i.e. if the submit button has focus when the enter...
  5. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    Understood. But isn't that the same thing that...

    Understood. But isn't that the same thing that you've suggested above, i.e.:



    keys: {
    key: Ext.EventObject.ENTER,
    fn: function() {alert('Enter')}, <- your click handling here
    scope:this...
  6. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    We're on 2.2.1 and getting this behavior...

    We're on 2.2.1 and getting this behavior consistently. Here is the code. Any ideas?

    Thanks,
    -Jeff



    App.CreateProjectForm = Ext.extend(Ext.form.FormPanel, {

    initComponent : function()...
  7. Thread: Default Button

    by jlowe
    Replies
    13
    Views
    5,895

    One gotcha on this approach, is that if the...

    One gotcha on this approach, is that if the button has focus, then the function may be executed twice, once for the key mapping, and once for the button press.
  8. Thread: json format

    by jlowe
    Replies
    8
    Views
    1,637

    They're both valid syntax, but they're certainly...

    They're both valid syntax, but they're certainly not interchangeable.

    In the array example, if you're not processing a list, then the array container serves no purpose.

    In the second example...
  9. Thread: json format

    by jlowe
    Replies
    8
    Views
    1,637

    It's hard to tell exactly what you're doing...

    It's hard to tell exactly what you're doing because this JSON can't be decoded. The children array isn't closed.
  10. Replies
    1
    Views
    760

    Made some progress using the following: ...

    Made some progress using the following:



    var nav = new Ext.KeyNav(this.getView().mainBody, {
    "tab" : function(e){
    this.getView().focusCell(maxrow, maxcol);
    },
    scope : this...
  11. Replies
    1
    Views
    760

    Tabbing into and out of a non-editable grid

    I have a non-editable grid with some toolbar buttons. When the user tabs into the grid-panel, they first tab through the toolbar buttons, and then into the rows of data. I'm trying to implement...
  12. Replies
    2
    Views
    829

    Using JSP, I insert a javascript fragment into...

    Using JSP, I insert a javascript fragment into every page, like so:



    <script type="text/javascript">
    var Server = {
    blankImageUrl: ${blankImageUrl},
    sessionTimeoutUrl:...
  13. Replies
    4
    Views
    1,956

    Thanks mdm-adph. Setting the absolute height and...

    Thanks mdm-adph. Setting the absolute height and width did it.
  14. Replies
    4
    Views
    1,956

    No problem in FF. Haven't touched the CSS. ...

    No problem in FF. Haven't touched the CSS.



    App.TermWindow = Ext.extend(Ext.Window, {

    initComponent: function() {

    Ext.apply(this, {
  15. Replies
    4
    Views
    1,956

    Window doesn't render properly in IE

    Window doesn't render properly in IE. See attached picture. Any ideas?

    Thanks,
    -Jeff
  16. I also have FF 3.0.5. The only difference I...

    I also have FF 3.0.5.

    The only difference I see, from Animal's picture, is that mine has the .NET CLR.
  17. trailing lowercase "L" doesn't render in disabled text field (FireFox only)

    In FireFox, when rendering a disabled text field, the last letter does not display if the letter is a lowercase "L".

    Is there something in my environment, or is this a bug?

    -Jeff



    ...
  18. Replies
    0
    Views
    688

    combobox store gets filtered, and shouldn't

    Had to fix a bug in my code, where a combobox could not find a corresponding record in its underlying store, even though I know it's there.

    Finally tracked down the problem and found that when...
  19. I believe that would be consistent with the XHR...

    I believe that would be consistent with the XHR object, which populates responseXml if the Content-Type specifies XML. No need for further overhead.
  20. json response

    Hi Doug,

    I'm refactoring our application to handle many of the repetitive tasks closer to (or within) the framework. One of those repetitive tasks is the decoding of the responseText to JSON.
    ...
  21. how can I get the reader, so I can get the jsonData?

    I have a Store configured with a JsonReader and HttpProxy. In response to load(), the server returns json that has the same structure as a form submit result, i.e. {success: true, data: [...]} or...
  22. I see a potential for conflict (i.e. things...

    I see a potential for conflict (i.e. things breaking) when we upgrade our version of Ext. In this case the handleMouseDown method is responsible for other scenarios besides the one that I'm...
  23. >> You simply need to override the...

    >> You simply need to override the RowSelectionModel which handles the selecting/de-selecting of rows when you CTRL+click something.

    From looking at the RowSelectionModel source code, it appears...
  24. >> depending on the end desired result, it may be...

    >> depending on the end desired result, it may be easier just to check if any rows are selected when an action is attempted; eg clicking a button.

    Yes, I often take that approach. However in this...
  25. grid single selection - must have one at all times

    Is it possible to implement the behavior where once a row is selected, a single selection must be maintained. The scenario I'm trying to prohibit is where a user ctrl-clicks on a selected row,...
Results 1 to 25 of 29
Page 1 of 2 1 2