Silly one.. Thanks:)
Dave Newton <[EMAIL PROTECTED]>
10/18/2007 03:01 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
RE: (beginner) How to intialize a form's input item
You're creating a new ActionForm instead of
on {
>
> public ActionForward execute(ActionMapping
> arg0, ActionForm arg1,
> HttpServletRequest arg2, HttpServletResponse arg3)
> throws Exception {
> ProcessForm processForm = new
> ProcessForm();
> processForm.setUsername("It
%>
Start Page
Trial Form
User Name:
Password:
Email:
Thank you
-H
"Slattery, Tim - BLS" <[EMAIL PROTECTED]>
10/18/2007 11:55 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
RE
> My requirement: Prepopulate a form feild if value is present.
> Can anybody help me in intializing a input feild using struts
> custom tags?
The tags look for a corresponding property in the form bean, and take an
initial value from that. For example, if this tag is in you JSP file:
Struts
Not helpful for S1.
You're better off pre-populating the ActionForm in the
action (not sure what 1.3 provides for that kind of
functionality) rather than via S1 or JSTL tags.
d.
--- Norris Shelton <[EMAIL PROTECTED]> wrote:
> Look at the Preparable or Model interface.
>
>
> - Original Mes
Look at the Preparable or Model interface.
- Original Message
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Thursday, October 18, 2007 1:47:22 PM
Subject: (beginner) How to intialize a form's input item
Hi,
I am starter in Struts. I am using 1.3.8.
My
6 matches
Mail list logo