19 Jan 2011 3:42 PM #1
proxy.url vs. proxy.conn.url?
I set up a listener to dynamically change a store's URL based upon an item selected in a ListView (backed by a different store). The store's URL is originally set via it's proxy so I assumed that that was where I needed to change it (i.e. store.proxy.url). Finding this not to work and doing a little digging in the forum, I decided to try store.proxy.conn.url instead and it did work. Debugging via Firebug showed that store.proxy.conn.url was null prior to being set in the listener and store.proxy.url still had the original value after the change to store.proxy.conn.url. Even though it worked, I was still puzzled by this behavior and was hoping that someone could explain it.
By Elijah in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 19 Jan 2011, 3:51 PM
By jasoche2 in forum Community DiscussionReplies: 1Last Post: 8 Sep 2010, 8:55 AM
By g13013 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 16 Jun 2009, 2:31 AM
By stevieke in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 8 Apr 2009, 9:29 AM
By Rafael in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 16 Feb 2009, 1:12 PM