It would be convenient to support property paths in beanprops, such as "foo.bar.baz" where baz is a field of Bean C, which is the type of the field bar in Bean B, which is the type of the field foo. This is analogous to property paths in Wicket, e.g. in PropertyModel.
The corresponding thread on the ML is here: http://sourceforge.net/mailarchive/forum.php?thread_name=b06f30d40802200615y7bf36a98w600415dfa15b03c%40mail.gmail.com&forum_name=wicketwebbeans-users
Two notes about the patch:
handleElementRemove() should be ok, as it makes no sense to explicitly remove a property path. But to be sure we could always return false when the argument is a property path. BTW: the Javadoc says the method returns true when the element was removed, however, when findElementAddPseudos returns null, this is not the case.
The name findElement() is now perhaps a bit misleading, as it's not a pure lookup function anymore, "elements" is modified.
patch
Logged In: YES
user_id=167643
Originator: NO
This will be implemented in the WWB 2.0 branch.