OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exo-portal List | July 2008 Index

    Date Index  -->     Thread Index  -->

[[exo-portal]] portal URLs


Hello,

 

Is there any way to control the URLs for portal pages? For example, rather than having the format public/[portal]/[page], I’d like it to be /[page]. More concretely, the URL for a my News page is this:

 

http://localhost/portal/public/classic/news

 

I’d like it to be this:

 

http://localhost/portal/news

 

I’ve handled this with a filter and a call to RequestDispatcher.forward(), which works fine, but the URLs generated by the navigation menu portlet still use the default format. I know I can modify the Groovy template to handle this, but I was wondering if there was a more elegant solution…

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
phone: +1 203-653-2989
fax: +1 203-653-2988

 

Come to the first annual JSFOne Conference this September! Visit http://www.jsfone.com for details.

 



    Date Index  -->     Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.