Search Type: Posts; User: robert.peszek

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    15,219
    Here it is:
    http://www.sencha.com/forum/showthread.php?175580-MVC-%E2%80%93-Model-to-view-binding-with-error-handling&p=718443#post718443
  2. This post is intended as a continuation of this thread: http://www.sencha.com/forum/showthread.php?139149-DataBinding-in-ExtJs-4.

    There are other threads relevant to model-view binding, for...
  3. Replies
    8
    Views
    15,219
    We ended up extending Ext JS with an overlay of extended classes, everything from model, store to form panel and form fields. Lots of it is business specific.

    I have not started looking at what...
  4. Thank you for your help!
    Robert
  5. I think this maybe a bug, but maybe I do not understand something. It seems like Ext ingores Z-order when
    finding DD targets. If several target controlls (in the same ddGroup) are positioned of top...
  6. What is the suggested way to handle server errors with Infinite Scroll?
    Similar question probably can be asked about paging.

    Out of the box behavior is that if server sends back an error on one...
  7. Using sencha infinite scroll example (simplified) here is code which works:


    Ext.onReady(function(){
    Ext.define('ForumThread', {
    extend: 'Ext.data.Model',
    fields: [
    ...
  8. More info:
    after scrolling all the way down Ext issues following query:
    ...
  9. Problem can be reproducted using infinite scroll example:
    http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/infinite-scroll.html

    1. Start with the Last Post column sorted in descending order...
  10. Such functionality would be consistent with what is currently available on simple forms.

    Form has a very cool event called dirtychange, it is cool because it is reversible: say I wrote logic...
  11. That is quite understandable. Thanks!
  12. Replies
    8
    Views
    15,219
    I ended up extending EXT ;) to have:

    form(s) bound to model,
    model validation shown on form(s),
    server side validation shown on form(s)

    I believe Ext does not have that out of the box.
    ...
  13. Replies
    27
    Views
    26,816
    +3

    Here is a good example: go to Ext 4 examples Rest Proxy Grid example:

    http://dev.sencha.com/deploy/ext-4.0.2a/examples/restful/restful.html

    This is a grid you can edit. In the first row...
  14. In Ext 4:
    With the MVC way of coding handler is not set.

    This seems to be working:


    mybutton.fireEvent('click', mybutton);
  15. I see a lot of hard to maintain code dealing with enabling/disabling components.

    Would it not be COOL if Ext provided some help. Typically application needs to disable/enable components based in...
  16. I too would like to know.

    I end up writing a lot of jasmine specs. Sanity check test on a new class/object help preventing this.
    Which opens another question. Most testing frameworks (like JS...
  17. Josh:
    Simply set trackResetOnLoad on the form:

    myFormComponent.getForm().trackResetOnLoad=true;
    For example, you can do it by extending Ext.form.Panel initComponent():



    initComponent:...
  18. REQUIRED INFORMATIONExt version tested:

    Ext 4.0.2
    Browser versions tested against:

    Chrome - works in chrome
    FF6 (firebug 1.8.1 installed) - fails in FF
    Description:
    When Ext.create is...
  19. Weird, this it fails my testcase using 4.0.2:



    describe("Configuring form.Basic using FormPanel", function() {
    it("Should allow to configure form.Basic trackResetOnLoad property via...
  20. store has load(callbackOptions) method.
  21. form.Basic has several important configuration parameters. These options are passed using initConfig() from form.Panel to form.Basic.

    So the following works and trackResetOnLoad will be...
  22. Replies
    48
    Views
    36,079
    I am working on a project using Ext 4 MVC.

    I think it would be great if presentation of validation errors (from the server or from the model) were handled automatically by Ext.form.Basic/Panel and...
Results 1 to 22 of 22