list --> detail page problem (object passing)
I have a problem in making the following work:
I have an application with spring, hibernate and JSF and want to make a simple
list with an edit link in every line. The edit link gets you to a editDetails.jsp where you can change and save details. (Simplest CRUD - app)
My list looks something like this:
<h:dataTable id="table" value="#{consoleService.participants}" var="participant">
<h:column>
<h:outputText value="#{participant.lastName}" />
</h:column>
<h:column>
<h:commandLink action="editParticipant">
<h:outputText value="edit" />
<f:param name="participant" value="#{participant}" />
</h:commandLink>
</h:column>
this works fine so far
In my details page I use
value="#{participant.id}"
value="#{participant.email}"
and so on to acces the properties of the participant but the properties are empty
I desparately searched the the web for the last 4 hours and could not find the proper to pass objects to the next page. What is the recommended way? I have tried all different combinations without success
I have a list and want to see the details of a specific item on the next page?
Can this be done without any further java coding (I already have a consoleService.getParticipant method).
Can I pass a java object in a f:param tag?
Pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeease help!

