populating form fields from request params

2003-10-18 Thread Marc Dugger
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;

Re: populating form fields from request params

2003-10-18 Thread Martin Gainty
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

RE: populating form fields from request params

2003-10-18 Thread Marc Dugger
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

Re: populating form fields from request params

2003-10-18 Thread Martin Gainty
- 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

RE: Populating form fields (more)

2003-03-25 Thread shirishchandra.sakhare
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

Re: Populating form fields (more)

2003-03-23 Thread Karl Stenerud
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

Populating form fields

2003-03-20 Thread Karl Stenerud
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,

Re: Populating form fields

2003-03-20 Thread Konstantina Stamopoulou
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

RE: Populating form fields

2003-03-20 Thread shirishchandra.sakhare
; 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

Re: Populating form fields

2003-03-20 Thread Simon Kelly
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

RE: Populating form fields

2003-03-20 Thread shirishchandra.sakhare
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