EVIL, wow, sounds serious. On Tue, Apr 21, 2009 at 12:02 PM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote:
> 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 > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com