On 7/21/06, Vaneet Sharma <[EMAIL PROTECTED]> wrote:
Hii frndsIf i want to show a form in edit mode, and suppose my form has a drop dowm box say country drop down box , In this drop down i want to show all the countries and also the counrty tht was previoulsy selected by the user as selected option. How do u do that. I think that for this --- I will first query a table where all the country names will be selected , and then i will copy all the country names to say form bean property (allcontryies) I will also get the selected country from the table also ,and will copy the selected country in another form bean property(selectedCountry). And in my jsp i will use <html:select property="selectedCountry" > tag . <html:options property="roleIdList" labelProperty="name" /> </html:select> But how on earth i will display the previulsy selected Country as checked.
http://wiki.apache.org/struts/StrutsWidgets#head-d413131b40091e2337eb036c8a7ce9e43f428aec --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

