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

    S:Link is not sending my parameter

    xtof83

      Hi


      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"
                login-required="true">
        <navigation from-action="#{myAction.setId(asIn.getId())}">
          <redirect view-id="/page2.xhtml"/>
        </navigation>
      </page>



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


      :/


      So do you have any idea what to do ?
      Thx