Ok, I gave in. I am using now PickList.jsp instead of optiontransferselect.
The tags works perefect, but, when I try to recover de data, it returns
null:
<script type="text/javascript" src="<c:url
value='/scripts/selectbox.js'/>"></script>
...
<li>
<fieldset>
<legend><fmt:message key="userProfile.assignPoltals"/></legend>
<table class="pickList">
<tr>
<th class="pickLabel">
<label class="required"><fmt:message
key="portals.availablePortals"/></label>
</th>
<td></td>
<th class="pickLabel">
<label class="required"><fmt:message
key="user.portals"/></label>
</th>
</tr>
<c:set var="leftList"
value="${availablePortals}"
scope="request"/>
<s:set name="rightList"
value="userPortals" scope="request"/>
<c:import
url="/WEB-INF/pages/pickList.jsp">
<c:param
name="listCount" value="1"/>
<c:param name="leftId"
value="leftPortals"/>
<c:param name="rightId"
value="userPortals"/>
</c:import>
</table>
</fieldset>
</li>
public String execute() {
try {
String[] userPortals =
getRequest().getParameterValues("userPortals");
<-- Returns null
}
}
I copied it from userForm.
Always troubels, troubels, troubels... :P
Sorry.
Cheers.
--
View this message in context:
http://appfuse.547863.n4.nabble.com/a-few-struts2-x-tag-don-t-work-within-appfuse2-0M4-tp563704p2225326.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]