Struts Form Validation

2004-03-08 Thread Rous, Simon
I'm letting the user of my form build up entry fields as they need them - ie : logic:iterate id=trade name=requestForm property=tradeColl indexId=ctr html-el:text property=tradeQuantity[${trade}] / /logic:iterate giving form fields ... input type=text name=tradeQuantity[0] input type=text

Re: Struts Form Validation

2004-03-08 Thread Niall Pemberton
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 1:54 PM Subject: Struts Form Validation I'm letting the user of my form build up entry fields as they need them - ie : logic:iterate id=trade name=requestForm property=tradeColl indexId=ctr html-el:text property=tradeQuantity[${trade

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
:14 -0400 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts form validation of radio buttons and checkboxes Greg Amaroso wrote: I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
if getCheckbox():return String in your action form. -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:48 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes Thanks for the response

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 21:48 To: Struts Users Mailing List Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS. IN OUR

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
PROTECTED] Date: Thu, 4 Sep 2003 08:48:19 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
] Sent: Thursday, 4 September 2003 22:00 To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes I currently have Struts 1.1. Is the checkbox/radio update available in the most current nightly build? Also, should the form-property type be boolean

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 22:38:19 +0800 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes Have you implemented code in reset() to reset the checkbox to its unticked value in the form yet? Not sure why

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
? -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 23:03 To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes No, I haven't implemented it yet. But I must plead ignorance here, because I don't understand

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
, September 04, 2003 9:00 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes I currently have Struts 1.1. Is the checkbox/radio update available in the most current nightly build? Also, should the form-property type be boolean or java.lang.Boolean (case

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
[mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:48 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes Thanks for the response, but I don't think the problem lies with the actual validation that's happening. I suspect that when a user

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
)? Thanks. From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 08:48:19 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX

Struts form validation of radio buttons and checkboxes

2003-09-03 Thread Greg Amaroso
I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any other type of field, but not radios/checkboxes. Here's where I seem to be having trouble: In the struts-config.xml file, should the form-property type

Re: Struts form validation of radio buttons and checkboxes

2003-09-03 Thread Robert Leland
Greg Amaroso wrote: I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any other type of field, but not radios/checkboxes. Here's where I seem to be having trouble: Try a --nightly-- build of struts. I

Struts form validation: DAO and multipages

2003-09-01 Thread Leyla TOLUN (Internet Yazilimlari Yonetmeni)
Nobody has an idea on the subject? This should be a problem for anyone that codes, select one and continue type web apps. -Original Message- From: Leyla TOLUN (Internet Yazilimlari Yonetmeni) Sent: Friday, August 29, 2003 10:58 AM To: Struts Users Mailing List Subject: Struts form

Re: Struts form validation: DAO and multipages

2003-09-01 Thread Adam Hardy
Subject: Struts form validation: DAO and multipages Hi, I have a multipage transaction. On the first page, inside the Action class , I bind a DAO list to request. This is listed on the second page. When I submit the formed page, if the next ActionForm.validate fails, it automatically returns

Re: Struts form validation: DAO and multipages

2003-09-01 Thread Firat TIRYAKI
Message - From: Leyla TOLUN (Internet Yazilimlari Yonetmeni) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 01, 2003 12:18 PM Subject: Struts form validation: DAO and multipages Nobody has an idea on the subject? This should be a problem for anyone

Struts form validation: DAO and multipages

2003-09-01 Thread Leyla TOLUN (Internet Yazilimlari Yonetmeni)
the problem. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 12:41 PM To: Struts Users Mailing List Subject: Re: Struts form validation: DAO and multipages Hi Leyla, working out a strategy for your lists can be as simple or as complicated

Re: Struts form validation: DAO and multipages

2003-09-01 Thread Adam Hardy
. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 12:41 PM To: Struts Users Mailing List Subject: Re: Struts form validation: DAO and multipages Hi Leyla, working out a strategy for your lists can be as simple or as complicated as you want

RE: Struts form validation: DAO and multipages

2003-09-01 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
} } -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:10 PM To: Struts Users Mailing List Subject: Re: Struts form validation: DAO and multipages I would use seperate mappings. That is what I have always done. However you

Struts form validation: DAO and multipages

2003-08-29 Thread Leyla TOLUN (Internet Yazilimlari Yonetmeni)
Hi, I have a multipage transaction. On the first page, inside the Action class , I bind a DAO list to request. This is listed on the second page. When I submit the formed page, if the next ActionForm.validate fails, it automatically returns to the previos page. (As defined in the