2009/4/21 Suneel <sunee...@gmail.com>:
> I'm not sure about this but can't you invoke a function in OGNL. I
> guess thats how the getText function works in ognl. Probably you can
> write a function in your action like getResult and invoke it using
> <s:property value="getResult(key.price,value)"/>
> Correct me if i'm wrong.

Yes you can do that, but it's EVIL! DON'T DO THAT!!! Business logic
has to be in your business model, not in a presentation layer!


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

Reply via email to