My the action method that I call before visiting the form is as follows: if (form == null) { form = new LazyValidatorForm(); } CommonTools.formDataCopy(request, form); request.setAttribute("searchNameForm", form); return mapping.findForward("searchName");
The form is always null. I guess that is because the form has not been visited. I create the lazy form (still working on using the form bean config to do this). I call a helper method that retrieves my formData object from the session (creating and storing if it is not already there) and copies it's contents into the current form object. I then set that object to the request using the name that the action uses. Voila. It works great. --- Norris Shelton <[EMAIL PROTECTED]> wrote: > I am using a LazyValidatorForm for each area of my site. They > want information entered on a form in one part of the site to > be > the default value when a form in another part of the site is > displayed. I am accumulating the information that is entered > in > a session bean. ===== Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Appriss, Inc. ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]