EVIL, wow, sounds serious. On Tue, Apr 21, 2009 at 12:02 PM, Lukasz Lenart < [email protected]> wrote:
> 2009/4/21 Suneel <[email protected]>: > > 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: [email protected] > For additional commands, e-mail: [email protected] > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

