In the property component you also specify a value argument, which will store
the selected item ( value="ognl:selectedUsed" ).
However, this value is also used during rendering to specify which of the "combo" items will be the
selected one.
So, you just need to initialize (for instance in pageLoad) the selectedUser object...

RajaSekhar KS wrote:

I have a property selection(DropDown list) and it contains a list of
users and i created usersmodel class for iteration and i am getting
the drop down list displayed.
Now what i want to know is how do i set the default user in that drop downlist.

Example:
i have user1 to user100 in drop down list, and now i have to set
user22 as default.

Regards,
RajaSekhar K S

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to