3 Replies Latest reply on Sep 1, 2010 8:10 AM by jjmiller

    Redirect to external site in faces-config?

    jjmiller

      I'm trying to set up my faces-config file to redirect to an external web site rather than a relative web site.  All the examples I see show something similar to this:

       

      <navigation-rule>
           <navigation-case>
                <from-outcome>link</from-outcome>
                <to-view-id>/page1.jsp</to-view-id>
                <redirect/>
           </navigation-case>
      </navigation-rule>

       

      I'm basically trying to do something like this:

       

      <navigation-rule>
           <navigation-case>
                <from-outcome>link</from-outcome>
                <to-view-id>http://www.google.com</to-view-id>
                <redirect/>
           </navigation-case>
      </navigation-rule>

       

      But doing it this way doesn't work.  Any ideas?