0 Replies Latest reply on May 31, 2008 1:26 AM by Arthur Marinis

    Use of same variable fails in second parameter

    Arthur Marinis Newbie

      This has had me for a couple days. I have searched the forums and could not find a similar issue.


      basically, when I use 2 s:links with the same param, the second param result in the query string is always empty.


      eg:


      <s:link view="/#{empty from ? 'timesheetWeek' : from}.xhtml" 
                         value="Select" 
                            id="week" rendered="#{not week.closed}">
                      <f:param name="weekid" value="#{week.weekId}"/>            
                  </s:link>
                 <s:link value="Print" view="/#{empty from ? 'timesheet/timesheet' : from}.xhtml">
                                      <f:param name="weekid" value="#{week.weekId}"/>
                              </s:link>



      The first link looks like this


      https://......../../timesheetWeek.seam?weekid=4&cid=3
      the second link looks like
      https://......../../timesheetWeek.seam?weekid=&cid=3