Jun 02, 2010, 7:33 AM
Proxy with Nested Url
Hi,
How can I set a nested Url property in a store proxy:
<ext:Store ID="Store1" runat="server">
<Proxy>
<ext:HttpProxy Url="/customers/{customerId}/orders/List" />
</Proxy>
<Reader>
<ext:JsonReader IDProperty="KEY" MessageProperty="message">
<Fields>
<ext:RecordField Name="ID" SortDir="ASC"/>
<ext:RecordField Name="NAME" />
<ext:RecordField Name="DESC" />
<ext:RecordField Name="TYPE" Type="int" />
</Fields>
</ext:JsonReader>
</Reader>
<SortInfo Field="ID" Direction="ASC" />
</ext:Store>
How can I set customerId value dinamically?