Hey Musachy here's my page from start to end: agencyRef is defined in the
Action class in Java
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.*,com.xfact.struts2login.util.*,
com.xfact.struts2login.value.WebAppUserVO"%>
<%@ taglib prefix="s" uri="/
I'm using the select tag and it seems to work fine, I'm using
Collections, Maps, multiple values, pretty much everything.
You are not forced to use a Map, you can use Collection or an
Enumeration, and then specify which field is the key, with listKey and
which field is the value with listValue.
@
That happened to me once, and it ended up that the s:select tag was improperly
written. Make sure that you are returning an appropriate map
from the function that is associated to the list attribute in s:select. It
expects a map that maps IDs to strings that get displayed.
Hope it helps,
Sess
3 matches
Mail list logo