Results 1 to 3 of 3

Thread: [2.??][DUP] Store load() problem

  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2007
    Posts
    228
    Vote Rating
    4
      0  

    Default [2.??][DUP] Store load() problem

    It seems Store [re]load({params:{}}) apply "params" before "baseParams" but must do it afterwards."params" must have ability to redefine baseParams for particular [re]load operation.

    Regards.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default DUP

    Duplicate of this post.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,381
    Vote Rating
    858
      0  

    Default

    I don't really think this is a bug, the base parameters are sent along with every request and they can be changed by accessing the baseParams property on the class. If you need the parameter to change on each load, it's not really a "base parameter".

    Also, it could be a breaking change because there might be code that relies on the fact that the base parameters don't change even when you pass them into the load method.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •