RE: Problem with Validator it does not reload request attributes

2006-07-20 Thread Yee, Richard K CTR DMDC
age itself. -Richard -Original Message- From: Kim Brianne Go [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 12:15 AM To: Struts Users Mailing List Subject: Re: Problem with Validator it does not reload request attributes Thanks for the suggestions. I tried this and it works if the

Re: Problem with Validator it does not reload request attributes

2006-07-20 Thread Kim Brianne Go
Thanks for the suggestions. I tried this and it works if the content of the list boxes are static. But in my case, the values that is being used by this widget is pulled out from the database then forwarded to the jsp page using request.setAttribute. Unfortunately, i dont think it will be possi

Re: Problem with Validator it does not reload request attributes

2006-07-19 Thread Adam Gordon
Kim- I had the same problem with some static form elements (e.g. contents of list boxes that were not part of any model data I cared to keep, yet it needed to be in the JSP page.) One solution I found was to set the properties on the session, but I decided that that was unnecessarily clutter

RE: Problem with Validator it does not reload request attributes

2006-07-19 Thread Krishna, Hari
Hey have a attribute called "firsttime" in form bean. set it to "true" inside validate() in formbean. Now in jsp check whether the value of the firsttime is true or not() if its true set all the original values to the formbeam properties( mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2