I am using the same form to both create and update database entities. The
following is an example of a form field:
html-el:select property='documentStatusTypeId'
value='${note.auditIdentity.documentStatusType.id}'
onchange=editNoteForm.action=''; editNoteForm.submit(); return true;
the name or property being null can be tested and value assigned can be
ascertained.
Keep me informed,
-Martin
- Original Message -
From: Marc Dugger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 12:35 PM
Subject: populating form fields from request params
I am using
Gainty [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 1:25 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: populating form fields from request params
check out
http://jakarta.apache.org/struts/userGuide/struts-html.html#options
(I wouldnt use collection
-
From: Marc Dugger [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 3:21 PM
Subject: RE: populating form fields from request params
I thought I could resolve this by specifiying:
value='${true ? param.documentStatusTypeId
b tags...
-Original Message-
From: Karl Stenerud [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:47 AM
To: Struts Users Mailing List
Subject: Re: Populating form fields (more)
Hi, thanks for the reply, but I'm looking for something a little different
Hi, thanks for the reply, but I'm looking for something a little different
from this...
I'm not sure if I am missing some fundamental concept of struts, but it
appears to be missing the ability to have the action class provide a form
bean for presentation that is different from
How do you populate form fields in struts?
I have a page with a form ContractSetupForm, which then forwards to another
page that contains a ContractForm, which has some fields the same, some
different. In my action class leading to this form, I made a
ContractSetupData bean and populated it,
AM
Subject: Populating form fields
How do you populate form fields in struts?
I have a page with a form ContractSetupForm, which then forwards to
another
page that contains a ContractForm, which has some fields the same, some
different. In my action class leading to this form, I made
;
END OF Forwarded text
***
-Original Message-
From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 9:58 AM
To: Struts Users Mailing List
Subject: Re: Populating form fields
Try
nothing.
Cheers
Simon
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 11:24 AM
Subject: RE: Populating form fields
-
To unsubscribe, e-mail: [EMAIL PROTECTED
try
html:checkbox tag...
html:checkboxbean:message/html:checkbox
should do the trick..But i have never tried...
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 11:42 AM
To: Struts Users Mailing List
Subject: Re: Populating form fields
Hi
11 matches
Mail list logo