Re: Invoking action methods from jsp: parameter types

2008-06-06 Thread Jukka Välimaa
Well, I managed to solve this one. Ognl didn't actually pass the object itself to the method, but rather an instance of com.opensymphony.xwork2.util.CompoundRoot. I managed to get the object I needed by using its peek() method. On Fri, Jun 6, 2008 at 2:47 PM, Jukka Välimaa <[EMAIL PROTECTED]> wrot

Invoking action methods from jsp: parameter types

2008-06-06 Thread Jukka Välimaa
Hi all, I'm trying to format a certain string property of an object differently depending on the object state. For this, I'm trying to call an action method from the jsp, like this: My problem is the following: if I use my class type as the parameter type of the first argument of the method, the