I am trying to modify attribute inspector that comes by default with edit widget in flex viewer 2.3.1. The attribute inspector displays a text field with a text box. I would like to replace this text box with a drop down list box. And I will set its data using an xml list. Can this be done, and if yes, where the change needs to be made? Please advise.. Many thanks for your help in advance!
I do not have coded domains for this text field, simply because the options will be different for different places on the map.
Just to give more background, here's a case:
Text Field name : School name Lets say based on either the edit location or user login I know the school district is Jones Elementary School District. Drop down field data: All school names occurring in Jones Elementary School District, so user selects a school instead of typing its name.
I think based on school district variable set by the user I can generate a list of schools by query and store it as an xml list ready to be used in this drop down. This list will be required to be defined only once during a user's flex website session so I don't have to run query during edit sessions.
I tried to manually set field inspectors and tried to hard code renderers etc but no change in editors display of attribute inspector.