You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lukasz Lenart <lu...@googlemail.com> on 2009/07/09 08:07:12 UTC

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

2009/7/7 Cristian Peraferrer <co...@gmail.com>:
> <field-validator type="usernameavailable">
>      <param name="userId">${enterprise.enterpriseId}</param>
>      <message>This username is already taken.</message>
>    </field-validator>

Do you have a getter called getEnteriprise() on an action?


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

Mary Pickford  - "Adding sound to movies would be like putting
lipstick on the Venus de Milo." -
http://www.brainyquote.com/quotes/authors/m/mary_pickford.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org