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
Hey guys I am having really crazy problems with s:select. Here's what
happens I have a jsp page with a s:form in it. Then I have a Collection
defined up top that gets from the session just like this
session.getAttribute...Also my page is actually a tile. I started doing this
from scratch but whenev
4 matches
Mail list logo