Announcement Announcement Module
Collapse
No announcement yet.
Attribute Mapper to subflow with button Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attribute Mapper to subflow with button

    Hello,
    I have a question regarding attribute mapping between the main flow and a subflow.
    I have created a jsp page similar to the details.jsp in the phonebook example (a list of results and if you click on the hyperlink it enters a subflow which diplays the details of a person) So far this works.

    <c:forEach var="colleague" items="${person.colleagues}">
    <a href="phonebook.htm?_flowExecutionId=${flowExecuti onId}&_eventId=select&id=${colleague.id}">
    ${colleague.firstName} ${colleague.lastName}<br></a>
    </c:forEach>

    But now instead of having a hyperlink on which to click I would like to have a button next to every search result.
    Something like this:
    <c:forEach var="colleague" items="${person.colleagues}">
    <td>${colleague.lastname}</td>
    <td><input type="submit" name="_eventId_select" value ="Select"> <input type="hidden" name= "_flowExecutionId" value="${flowExecutionId}></td>
    </c:forEach>

    My question is: How do I pass id=${colleague.id} to my subflow?
    I have tried to pass it via a hidden field but this does not work.

    Hope somebody can help me.
    Tks in advance
Working...
X