History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1125
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: tm_jee
Reporter: tm_jee
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

optiontransferselect tag should add its respective entries when the form it is included is submitted

Created: 25/Jan/06 10:23 AM   Updated: 30/Jan/06 09:34 PM
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.2.1



 All   Comments   Change History      Sort Order:
tm_jee - [28/Jan/06 01:57 AM ]
fixed. Added / change testcases to reflect this. Added example into show case (with lots of optiontransferselect tag that auto select its elements upon its containing form submision)


tm_jee - [28/Jan/06 01:59 AM ]
this currently only works on simple, xhtml theme but not ajax theme

tm_jee - [28/Jan/06 02:28 AM ]
changes are

src/java/com/opensymphony/webwork/components/DoubleListUIBean.java
src/java/com/opensymphony/webwork/components/OptionTransferSelect.java
src/java/com/opensymphony/webwork/static/optiontransferselect/optiontransferselect.js
src/java/template/simple/form-close.ftl src/java/template/simple/form.ftl
src/java/template/simple/optiontransferselect.ftl src/java/template/xhtml/form-validate.ftl
src/test/com/opensymphony/webwork/views/jsp/ui/Formtag-1.txt
src/test/com/opensymphony/webwork/views/jsp/ui/Formtag-3.txt
src/test/com/opensymphony/webwork/views/jsp/ui/Formtag-4.txt
src/test/com/opensymphony/webwork/views/jsp/ui/Formtag-5.txt


changes to add an example in show case are

webapps/showcase/src/webapp/tags/ui/index.jsp webapps/showcase/src/webapp/WEB-INF/classes/xwork-tags-ui.xml webapps/showcase/src/webapp/tags/ui/lotsOfOptiontransferselect.jsp webapps/showcase/src/webapp/tags/ui/lotsOfOptiontransferselectSubmit.jsp
webapps/showcase/src/java/com/opensymphony/webwork/showcase/LotsOfOptiontransferselectAction.java

tm_jee - [30/Jan/06 09:34 PM ]
added this feature into ajax theme, using dojo.event.connect