How do we redirect to new page like home page
I used the following code to redirect but in liferay its not redirecting
,it is getting the home page and showing it in that portlet.It looks like
homepage in another home page.
<p:processor name="oxf:redirect">
<p:input name="data">
<redirect-url>
<path-info>
http://localhost:8080/home</path-info>
</redirect-url>
</p:input></p:processor>
How do we achieve this?
Thanks,
Prameela.
Hi Prameela,
Redirect to your page-flow.xml path / as
<redirect-url>
<path-info>/</path-info>
</redirect-url>
and configure the xpl & xhtml of your homepage in that page-flow
<page id="home" path-info="/" model="model.xpl" view="view.xhtml"/>