"trustin" wrote : 
  | It actually doesn't create any anonymous bean but it's identical to the 
following Java code:
  | 
  | beanX.getPropA().setPropB("C");
  | 
  | 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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to