Re: Problem with OGNL syntax

2008-03-04 Thread oscar perez
Hi, Thank you for your quick reply. I tried your suggested syntax and didn't work either. However, I like a lot more your last proposal so I will give it a shot. Thanks! Oscar On Tue, Mar 4, 2008 at 1:05 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > oscar perez wrote: > > > > > > > > > > > I s

Re: Problem with OGNL syntax

2008-03-03 Thread Jeromy Evans
oscar perez wrote: I see what you're trying to do; you're asking OGNL to evaluate companyType first, and use the string result in the outer expression to evaluate. The %{} notation won't do this for you. According to the OGNL guide you should use parentheses to evaluate part of the

Problem with OGNL syntax

2008-03-03 Thread oscar perez
Hi! I am having a very strange problem with struts 2. I am newbie to Struts 2 so maybe it is a simple thing I misunderstood. I have an abstract class (enterprise) and 4 subclasses. I want to perform CRUD operations on them and since all the properties are common to all the subclasses I've decided