You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Nugroho DS <nd...@nwa.iao.co.id> on 2004/03/30 07:26:21 UTC

FW: Cannot focus to Invalid field in Multiple Form

Since there is no response in Tapestry Users maillist I forward to this
maillist.

Please help me, Is it a bug or I missed something ?

-----Original Message-----
Hi,

I have problem about validation, I use tapestry 3.0 beta 4. 
In my page I have two Form, both are validated and contain ValidFields. 
If the second Form have an error in validation, cursor is focused on the
first 
ValidField in the first Form not on the ValidField of second Form.

Form the javadoc  (addSelect() method in ValidField.java):
/**
*  Creates JavaScript to set the cursor on the first required or error
*  field encountered while rendering.

It is always focus to "the first Form" if it contains required
ValidField, 
The other Form seems to be ignored.

How can the cursor focus on the second form ?

Thanks,
Nugroho DS

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.643 / Virus Database: 411 - Release Date: 3/25/2004
 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org