Hi there!

Got a small problem with the constants in the validation.xml, which I
couldn't solve using the docs and google.

What I do is using the validator for indexed properties and using javascript
to jump to the right field, if somebody clicks on the errormessage.


validation.xml:
 
<constant><constant-name>system</constant-name><constant-value>currentProfile[0]</constant-value></constant>
..
 <field  property="${system}" depends="required,mask,maxlength">

this works fine (it validates currentProfile[0]), BUT 
the validator stores the error messages under ${system} and not under
currentProfile[0], which I think is not the right thing.
And I need to get currentProfile[0], as I need to jump the field...

Anyway, is there a way to tell the validator to store it under another name
or kind of switching substituting constants on??

Sure I could just stop using the constant there, but I'd loose in
maintenance.

Looking forward to suggestions,
thanks
Axel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to