1 Reply Latest reply on Nov 24, 2008 1:51 PM by iso

    redirection problem

    iso

      Hi.
      I need your help with very easy problem. I have this code and problem with from parameter:



      PageX.xhtml:
      ...
      <s:link action="/#{empty from ? '/Moduly/Administracja/Partner/Partner.xhtml' : from}" 
                         value="Select" 
                            id="partner">
                      <f:param name="partnerPartnerId" 
                               value="#{partner.partnerId}"/>
      </s:link>
      ...
      
      
      PageX.page.xml:
      ...
      <param name="from"/>
      ...






      This from parameter contains only page name which redirect me to PageX, and it works when this page is in root directory. But in my project this page in sub directory, and this sample is not working. Is there any easy way to get not only page name but also path to it?


      Thanx for any help.


      Regards.