This works a lot better for the abstract DataModel: | @DataModelSelection("searchResults") | protected T current; | | @DataModel | protected List<T> searchResults; |
I'm now gonna try the same for the secondary model. I'm still interested in a tutorial / example on how the DataModel and DataModelSelection annotations work in multiples like above, so if someone has a clear example / doc / tutorial, please post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062014#4062014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062014 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user