tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Mannering" <robin.manner...@concept.com>
Subject RE: FW: Input taglib
Date Fri, 10 Aug 2001 11:14:34 GMT
That would be great Shawn. Do you think it's workable? I'll carry on
developing as I am and I'll let you know if other form inputs suffer from it
too (Radios and checks).

Thanks
Robin

-----Original Message-----
From: Shawn Bayern [mailto:shawn.bayern@yale.edu]
Sent: 10 August 2001 00:07
To: taglibs-user@jakarta.apache.org; robin.mannering@concept.com
Subject: Re: FW: Input taglib


Hi Robin.  I'm away on vacation for the rest of the week, but if nobody
gets a chance to look at this issue before then, I'd be happy to take a
look at it early next week.

Thanks for the message,

Shawn

On Thu, 9 Aug 2001, Robin Mannering wrote:

> I've been using the input library for some time and it's great but I've
come
> across one problem though recently which concerns select/drop down
options.
>
> The drop down will have the relevant entry selected only when it receives
a
> new request object (via a response.sendRedirect/form
submission/hyperlink).
> I have an MVC frontend in place that forwards using a RequestDispatcher
> (rather than redirecting) and although the relevant values are in place in
a
> querystring, the drop down list does not 'remember' its chosen option.
For
> example I do something like this.....
>
> 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.
>
> If I do
> request.sendRedirect(originatingPageView + "?statusFlag=T");
>
> it works fine ?????!!???
>
> Have anyone got any ideas on  a fix for this. I haven't tested radios or
> checkboxes yet though. I can't do redirects as I am sometimes storing
object
> in the request object via request.setAttribute()
>
>
> Cheers
> Robin



Mime
View raw message