On Fri, Aug 1, 2008 at 2:36 AM, Edward Yakop <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 1, 2008 at 1:58 PM, Richard Wallace > <[EMAIL PROTECTED]> wrote: > > Sounds good. I want to work on getting the Action detection working > > properly so you don't have to add the composites and objects manually and > > don't have to configure things in the struts.xml file. > > I won't comment more on this as Niclas and I have the same idea. > > And on to my problem :P > o How do I set ognl.PropertyAccessor for java.lang.Object with > Qi4jPropertyAccessor. > If I do it from struts-plugin.xml, Qi4jPropertyAccesssor is never > instantiated; > if I tried to set it programatically during initialization of > Qi4jObjectFactory. > OgnlValueStack will replace it with its own accesor. > I search google and it seems overriding PropertyAcessor is not > recommended. > Hmm... I'm not sure on that one. We do need to override the PropertyAccessor so we don't have to use the lame JavaBean conventions, but I'm not sure how we can do it for all Objects. Isn't that ok though? Is it even possible to have a Property or Association on something that isn't a Composite? > Regards, > Edward Yakop > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev >
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

