5 Replies Latest reply on Feb 29, 2008 5:21 PM by christophe gaultier

    S:Link is not sending my parameter

    christophe gaultier Newbie


      I want to use s:link instead of outputLink for semantic issue.

      I want to do this:

      <s:link id="view" action="#{myAction.setId(asIn.getId())}" value="#{asIn.getTitle()} -- #{asIn.getId()}"/>

      So asIn.getId() return right id, in the page

      I had a condition in page.xml

      <page view-id="/page1.xhtml"
        <navigation from-action="#{myAction.setId(asIn.getId())}">
          <redirect view-id="/page2.xhtml"/>

      I can see that myAction.setId receive for value: 0


      So do you have any idea what to do ?