1 Reply Latest reply on Jun 9, 2007 1:40 PM by pmuir

    Generating s:link programmatically

    hvram

      Hi
      I have a problem and I would be greatful for a solution .

      I have a property which is a URL (http://x.y.z?id=1&a=2&c=2 ).

      I would like to pass this to a <s:link view="http//x.y.z"> <f:param name="id" value="1" /> etc.

      How do I do this from the backend ?

      Just putting <s:link view="#{url} /> does not seem to work

      Any ideas

      Regards
      Hari

      PS : I need this to be a s:link since there is an action parameter being invoked on clicking the link

        • 1. Re: Generating s:link programmatically
          pmuir

          Huh? If you want to navigate straight to an absolute URL then there is *no way* for JSF/Seam to intercept it and do stuff (the browser just sends a request for the URL). Do you mean you want to call an action and then redirect to your URL?