redirection from xpl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

redirection from xpl

Prameela R

Hello All,

 

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.

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: redirection from xpl

venkata subrahmanyam


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"/>