tomcat-taglibs-user mailing list archives

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

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
selections."

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.

Lance

--- Robin Mannering <robin.mannering@concept.com> 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
http://phonecard.yahoo.com/

Mime
View raw message