Hi all again, Now I'm trying to solve another JSF/Seam related problem and hope yopu will help me to do it :)
I have an Seam component defined as: | | @Name("account") | class Account { | private String id; | private String name; | private List<Limit> limits; | | // getters and setters here | } | | | class Limit { | private String type; | private Long value; | | // getters and setters here | } | Now my problem begins here: each account can have different limits number. Limits are system-wide configuration (e.g. you can have 4 different limit types defined and the you get a list with 4 items in Account instance). I can easily print all limit types and their input types using facelets <ui:repeat>: | <ui:repeat value="#{account.limits}" var="limit"> | <h:outputText value="limit.type"/> | <h:inputText value="limit.value"/> | </ui:repeat> | But I'm affraid is't a bad solution. I want to submit form data together with limits data. Now I get NullPointerException on limits field in my action Bean. How can i properly get all the data? Do I need to use Limit as seam component also? Or do I have to use long running conversation somehow? Thanks for replies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082355#4082355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082355 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user