cstuber
18 Feb 2012, 3:42 PM
I'm building a Touch app using Designer 2 build 288.
I have created a simple Form Panel with a FieldSet. One of my input form fields is a Select Field.
At runtime I want to load the possible values for my Select Field using the result of a JsonP call.
I have a model and a JsonP Store defined. The JsonP store's model property is set to the model name. I then specified my JsonP store for the "store" property value of my Select Field.
Unfortunately, the Select Field possible values do not appear when I run the app. However, I can see in the browser that the JsonP call is being triggered and the data containing possible value is returned from the server.
I feel like I'm missing something. What steps are required to properly link a Select Field to a JsonP store in Designer 2? Are there additional steps I need to take to map my JsonP store data to the "text" and "value" properties of my Select Field?
Any help would be appreciated!
Chad
I have created a simple Form Panel with a FieldSet. One of my input form fields is a Select Field.
At runtime I want to load the possible values for my Select Field using the result of a JsonP call.
I have a model and a JsonP Store defined. The JsonP store's model property is set to the model name. I then specified my JsonP store for the "store" property value of my Select Field.
Unfortunately, the Select Field possible values do not appear when I run the app. However, I can see in the browser that the JsonP call is being triggered and the data containing possible value is returned from the server.
I feel like I'm missing something. What steps are required to properly link a Select Field to a JsonP store in Designer 2? Are there additional steps I need to take to map my JsonP store data to the "text" and "value" properties of my Select Field?
Any help would be appreciated!
Chad