Yes, I did. But in the action the string takes the value "${field}" and not the field value.
Lukasz Lenart wrote: > > 2009/5/19 manub <e.bla...@reply.it>: >> I'm trying to write a custom field validator which needs other fields to >> validate the field I need to validate. How can I pass field values (and >> not >> static params) to a field validator in the validation xml? I'm using >> Struts >> 2.1.6. > > Did you try ${fieldFromAction} ? > > > 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 > > > -- View this message in context: http://www.nabble.com/passing-form-parameters-to-a-custom-validator-tp23615918p23630243.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org