Adam Hardy on 22/02/08 17:32, wrote:
I wrote a TypeConverter and configured S2 with xwork-conversion.properties to use it so:

org.permacode.patternrepo.domain.Market=org.permacode.atomic.web.DomainObjectTypeConverter

as per the wiki.

However, from debugging it looks as though struts is completely ignoring the TypeConverter and instantiating my Market objects as it needs them from scratch, for instance with nested objects in my form:

instrument.market.id=13

What am I doing wrong? I use the ParamsInterceptor. Should I be using a different interceptor?

This issue is proving very difficult to solve and so far I haven't been able to work out from debugging xwork and ognl what exactly is going wrong.

It appears to be just this action which ignores my TypeConverter. Other actions are working fine with it. They have no extra config - it is only set in the global xworks-conversion.properties file.

Has anyone else ever come across such a situation?


Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to