tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lavandowska <>
Subject RE: Input taglib
Date Fri, 10 Aug 2001 14:00:41 GMT

just to clarify, you tested textboxes & textareas by appending a
querystring in the RequestDispatcher as you show below?

Looking at the code briefly, it performs a 
String[] selected = req.getParameterValues(name)
then evaluates if selected.length > 1.  If selected.length > 1 
and "multiple" is not set, it tosses the whole selected array.
To quote from the comments: "If there are multiple selections but the
page doesn't call for a <select> that accepts them, ignore the

So, is it possible that by adding the ?statusFlag=T you're causing
request.getParameterValues("statusFlag") to return more than one value?
 You could test this by adding "multiple" to the attributes HashMap.


--- Robin Mannering <> wrote:
> > RequestDispatcher rd = null;
> > rd = getServletContext().getRequestDispatcher(originatingPageView +
> > "?statusFlag=T");
> >
> > Text boxes and text areas in the same form repopulate correctly but
> > drop downs do not.

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

View raw message