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
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
: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
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
[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
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
]
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
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
?
-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
, 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
[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
)?
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
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
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
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
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
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
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
.
-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
}
}
-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
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
21 matches
Mail list logo