I have a problem using the framework and EntityHome class. My page parameter is not set in the EntityHome on link click and therefore no entity instance is loaded into the EntityHome class.
Anything I'm missing? My list.xhtml: <h:column> | <f:facet name="header">Username</f:facet> | <s:link view="/admin/secure/options/details.xhtml" | value="#{entity.username}"> | <f:param name="entityId" value="#{entity.id}" /> | </s:link> | </h:column> | My details.xhtml <s:decorate id="usernameDecorate" | template="fieldDecorate.xhtml"> | <ui:define name="label">Username:</ui:define> | <ui:define name="field"> | <h:inputText id="username" value="#{account.username}" /> | </ui:define> | </s:decorate> | My components.xml: <factory name="account" value="#{accountHome.instance}" /> | <fwk:entity-home name="accountHome" | entity-class="de.llynch.kingpin.dao.Account" /> | And my pages.xml: <page view-id="details.xhtml"> | <param name="entityId" value="#{accountHome.id}" | converter="java.lang.Integer" /> | <begin-conversation join="true" /> | | <navigation> | <rule if-outcome="updated"> | <end-conversation /> | <redirect /> | </rule> | <rule if-outcome="persisted"> | <end-conversation /> | <redirect /> | </rule> | <rule if-outcome="removed"> | <end-conversation /> | <redirect view-id="/admin/secure/options/list.xhtml" /> | </rule> | </navigation> | </page> | I'm also not sure if the begin-conversation and end-converstation tags are required. It does not work with or without them though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057821#4057821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057821 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user