2009/5/20 manub <e.bla...@reply.it>: > I've written a custom field validator, which needs other field values to > validate his field. I need a way to pass that values to that field > validator.
Did you try to use param tag as below? <field name="employee.employeeType"> <field-validator type="expression" short-circuit="false"> <param name="expression">$...@pl.org.lenart.ems.model.employeetype@.value() != 'dd'}</param> <param name="messageKey">error.employee.type.required</param> <message /> </field-validator> </field> Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org