DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16066>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16066

How can I prepopulate a form

           Summary: How can I prepopulate a form
           Product: Struts
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The simplest way to prepopulate a form is to have an action whose sole purpose 
is to populate an  ActionForm and forward to a servlet/jsp/etc to manipulate 
the form.  You can use request parameters from the query string (extracted 
using request.getParameter(paramName) if you want specific information loaded.  
This allows you to turn off validation for the populate action and on for the 
form manipulation.

As you get more familiar with the machinations of ActionForms and Actions you 
can get more sophistocated in how form fields are populated.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to