Hi,

I have the following form submitted to a Struts2 action:
<s:text name="bean.getFoo('bar').name"/>

Is this input name supposed to work with ParamsInterceptor?

Actually Bar.setName() is successfully set with the correct value, but it
also adds a conversion error (xwork.default.invalid.fieldvalue) for this
field and action is returning to INPUT.
I didn't found the origin of the conversion error. It's very strange because
the bean is set correctly.

-------

class MyAction extends ActionSupport {
   public Bean getBean() { ... }
}

class Bean {
   public Foo getFoo(String param) { ... }
}

class Bar {
   public String getName() { ... }
   public String setName() { ... }
}

Many thanks

--
View this message in context: 
http://struts.1045723.n5.nabble.com/ParamsInterceptor-is-input-bean-getFoo-bar-name-supposed-to-work-tp5710056.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to