Re: [s2] Custom field validator with params containing OGNL expression

2009-07-09 Thread Lukasz Lenart
2009/7/7 Cristian Peraferrer corellia...@gmail.com: field-validator type=usernameavailable      param name=userId${enterprise.enterpriseId}/param      messageThis username is already taken./message    /field-validator Do you have a getter called getEnteriprise() on an action? Regards --

[s2] Custom field validator with params containing OGNL expression

2009-07-07 Thread Cristian Peraferrer
Hi! I have implemented a field validator that validates the username is not already in the database (to avoid overwriting). But in the validator call (or configuration), I need to pass a parameter that is another field in the form. Here my code: field-validator type=usernameavailable param