0 Replies Latest reply on May 31, 2008 1:26 AM by amarinis.a.marinis.base2services.com

    Use of same variable fails in second parameter

    amarinis.a.marinis.base2services.com

      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