Hi,
I'am working in spring project with hibernate and XDoclet.
For CustomerSignup process i'am using AbstractWizardFormController class.

I'am having POJO class as CustomerSignup.java
In CustomerSignup i declared Customer,Person are other pojo classes using setCustomer,setPerson method as like this .

/**
* @spring.validator type="required" page="1"
*
*/
public void setCustomer(Customer customer) {
this.customer = customer;
}

public void setPerson(Person person) {
this.person = person;
}

My problem is :
Using XDoclet for setCustomer method
i declared as

@spring.validator type="required" page="1"

but in generated validation.xml under CustomerSignUp form tag and in under all the customer field property the page="1" is not generated

In validation.xml it generated as
<form name="customerSignup">
<field property="customer.age"
depends="required">

<arg0 key="customerSignup.customer.age"/>
</field>
<field property="customer.height"
depends="required">

<arg0 key="customerSignup.customer.height"/>
</field>
U can see that page="1" is not there.I need to acheive this
How to do this help me ...
Make sure that in customer or person pojo class in all the fields u could not specify as @spring.validator type="required" page="1"

Reply me thru mail also if anyone face this problem

Regards,
Murugan.C
murugansekhar@gmail.com