Reply To: Losing https after redirecting from the backedn

Splash Forums PrettyFaces Users Losing https after redirecting from the backedn Reply To: Losing https after redirecting from the backedn

#25182

Sal
Participant

Hi again,

First of all thanks for the help.

I think I find a solution for this but I could not test it. In the end we decided to remove the prettyfaces from the part of the application where we are having the problems.

BTW my guess is that we were missing to set the navigation-rules in the faces-config.xml to make it redirect.

        <navigation-case>
            <from-outcome>page1</from-outcome>
            <to-view-id>/page1.xhtml</to-view-id> 
            <redirect />
        </navigation-case>

The other components should be as follow, pretty-config.xml:

    <url-mapping id="page1">
        <pattern value="/page1" />
        <view-id value="/page1.xhtml" />
    </url-mapping>

And then from the managed bean:

return "page1";

Does it makes any sense to you guys?

As I said a couldn’t test it, so I just leave it for the record. 🙂

Regards.

  • This reply was modified 8 years, 3 months ago by  Sal.