hi all,
It is urgent for me to make validations of a form which is nested in another form using Validator Frame work..
I am able to do the validations of the outer form but not interior... howww.should I make it...
Please any body help me urgentt....
:(
Thanx in advance
MaRu
Discussions
Web tier: servlets, JSP, Web frameworks: How Validation of nested Form will be done in Validatorframework
-
How Validation of nested Form will be done in Validatorframework (6 messages)
- Posted by: Maruthi Ram
- Posted on: June 02 2004 09:51 EDT
Threaded Messages (6)
- How Validation of nested Form will be done in Validatorframework by Paul Strack on June 02 2004 15:34 EDT
- Please try to understand the question before you answer it by Eric Ma on June 17 2004 08:54 EDT
-
Please try to understand the question before you answer it by Maruthi Ram on June 18 2004 01:15 EDT
-
Can you share your solution? by Eric Ma on June 18 2004 01:22 EDT
-
Can you share your solution? by Maruthi Ram on June 22 2004 01:03 EDT
- Can you share your solution? by Eric Ma on June 22 2004 04:21 EDT
-
Can you share your solution? by Maruthi Ram on June 22 2004 01:03 EDT
-
Can you share your solution? by Eric Ma on June 18 2004 01:22 EDT
-
Please try to understand the question before you answer it by Maruthi Ram on June 18 2004 01:15 EDT
- Please try to understand the question before you answer it by Eric Ma on June 17 2004 08:54 EDT
-
How Validation of nested Form will be done in Validatorframework[ Go to top ]
- Posted by: Paul Strack
- Posted on: June 02 2004 15:34 EDT
- in response to Maruthi Ram
Nested forms are a violation of the HTML specs. Any validation you do with nested forms is going to be an ugly hack.
The correct solution is to reorganize your page so that your forms are no longer nested. -
Please try to understand the question before you answer it[ Go to top ]
- Posted by: Eric Ma
- Posted on: June 17 2004 08:54 EDT
- in response to Paul Strack
Do you know what a Struts ActionForm is? He is not talking about nested HTML <form>. He is talking about nesting one Struts Actionform bean inside another. -
Please try to understand the question before you answer it[ Go to top ]
- Posted by: Maruthi Ram
- Posted on: June 18 2004 01:15 EDT
- in response to Eric Ma
Exactly...
I had tried for it... and I got it
We can get it as we are using nested properties for a form
like form1.form2.property
I completed the work.
Thanx and Regards,
MaRu.
:) -
Can you share your solution?[ Go to top ]
- Posted by: Eric Ma
- Posted on: June 18 2004 13:22 EDT
- in response to Maruthi Ram
I am facing the same problem. Search on the Struts user mailing list did not give me anything useful. Can you share some code? Thanks very much. -
Can you share your solution?[ Go to top ]
- Posted by: Maruthi Ram
- Posted on: June 22 2004 01:03 EDT
- in response to Eric Ma
U can easyly do it.
In jsp we will call the property of nested been as follows..
<bean:write property="form1.form2.property"/>
in the similar way....
in validation.xml
<form name="form1">
<field property="form2.property" depends="required">
.....
</field>
</form>
it will work..
Thanx and Regards
MaRu -
Can you share your solution?[ Go to top ]
- Posted by: Eric Ma
- Posted on: June 22 2004 16:21 EDT
- in response to Maruthi Ram
Thanks. Is your nested form also an indexed property?