[jboss-user] [Microcontainer] - Re: Nested property reference
do-not-reply at jboss.com
Fri Nov 16 04:08:17 EST 2007
"trustin" wrote :
| It actually doesn't create any anonymous bean but it's identical to the following Java code:
| It's often very useful when you want to modify a property of a read-only property (i.e. propA = read only, propB = writable).
Aha, I see. Meaning that a propA is already instantiated in beanX.
But how often do you want to do/use that?
OK, both examples of course have a current workaround, just with more XML. :-)
What we could do for the first example is something analog to our value-factory, but instead of getting the value, we would set the value, nesting it if necessary.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105341#4105341
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105341
More information about the jboss-user