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

  • Attribute Mapper to subflow with button

    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.firstName} ${colleague.lastName}<br></a>

    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><input type="submit" name="_eventId_select" value ="Select"> <input type="hidden" name= "_flowExecutionId" value="${flowExecutionId}></td>

    My question is: How do I pass 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