Announcement Announcement Module
Collapse
No announcement yet.
<a herf > instead of <h:commandLink> Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • <a herf > instead of <h:commandLink>

    Hi,

    I would like to use <a href> instead of <h:commandLink>
    The reason is, I need to know which link was already visited.

    Code:
     <a href="#{flowExecutionUrl}&_eventId;select">#{stock.part}</a>
    This does not work. select is my action in the commandLink
    Any ideas or suggestions

    Thanks
    Vinaya

  • #2
    For one, I think you want something like "_eventId_select".

    Two, I don't think this approach works out-of-box when you're using JSF, since you need a JSF ActionEvent to trigger a webflow transition. Using a link doesn't trigger this.

    There have been some custom workarounds. I suggest doing a search, or maybe starting here and also referring to the link in the first post.

    Also, even if you do get this working, I'm not sure if it will do what you want. Keep in mind the flow execution URL, when rendered, will be constantly changing since the flow execution ID keeps changing.

    Comment


    • #3
      Thanks you.

      Comment

      Working...
      X