Search Type: Posts; User: jlowe

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Here's what I did:



    initEvents: function() {

    this.validated = false;

    this.on('show', function(){
    this.validated = false;
  2. Replies
    13
    Views
    4,431
    Thanks Tim. The flag does the job.
  3. Replies
    13
    Views
    4,431
    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. Replies
    13
    Views
    4,431
    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. Replies
    13
    Views
    4,431
    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. Replies
    13
    Views
    4,431
    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. Replies
    13
    Views
    4,431
    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. Replies
    8
    Views
    1,248
    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. Replies
    8
    Views
    1,248
    It's hard to tell exactly what you're doing because this JSON can't be decoded. The children array isn't closed.
  10. 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. 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. Using JSP, I insert a javascript fragment into every page, like so:



    <script type="text/javascript">
    var Server = {
    blankImageUrl: ${blankImageUrl},
    sessionTimeoutUrl:...
  13. Thanks mdm-adph. Setting the absolute height and width did it.
  14. No problem in FF. Haven't touched the CSS.



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

    initComponent: function() {

    Ext.apply(this, {
  15. 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 see, from Animal's picture, is that mine has the .NET CLR.
  17. 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. 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 object, which populates responseXml if the Content-Type specifies XML. No need for further overhead.
  20. 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. 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 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 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 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. 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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar