Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?

Splash Forums PrettyFaces Users Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app? Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?

#23027

Carolina
Member

At last I have achieved what I am expecting.

Thanks Christian/Lincoln for your support and help.

Now on click of login the URL rewrite is working.

I have changed in the action method by redirecting ‘ preety:Login ‘ as below

<url-mapping id=”Login”>

<pattern value=”/b2c/Login” />

<view-id value=”/pages/hotel/hotelLoginNormal.xhtml” />

</url-mapping>

public String loginClick(){

return “pretty:Login”;

;

}

Once again thanks to Prettyfaces :)