ww:select can't set init value.
khanhluong <[email protected]> Wed, 06 Dec 2006 04:07:37 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <19814790.1165399690185.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
hi all,
I create a select field. After submiting form, get back the result but the select field turns back to default value. I don't know whether webwork can set value to select field or I didn't follow the framework.
My select field as:
<ww:select name="searchCriteria.searchType" list="%{#{'0':'Containing', '1':'Start With', '2':'Exact'}}"/>
The select field always sets to Containing even I choose Start With before submiting.
Can anyone help me!
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52263&messageID=105469#105469
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]