put in jsp
<s:select key="reservationId" required="true" cssStyle="select large"
list="myList" listKey="id" emptyOption="true"
listValue="item.aaa+' '+ item.bbb" />
and request or session put a list with key "myList"
Fan wrote:
>
> I was looking at the userForm.jsp with the following code of showing drop
> down list:
>
> <div>
> <s:set name="country" value="user.address.country" scope="page"/>
> <appfuse:country name="user.address.country" prompt=""
> default="${country}"/>
> <p><label for="user.address.country"><fmt:message
> key="user.address.country"/>
> <span class="req">*</span></p>
> </div>
>
>
> but I dont understand how does it work, where does the option list come
> from ? Please elaborate
>
--
View this message in context:
http://www.nabble.com/How-to-create-a-drop-down-list-in-Appfuse-2.0-tf3273482s2369.html#a9126362
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]