WebSphere Portal Server - Rendering a mapped URL in a theme

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2007 > Rendering a mapped URL in a theme





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Rendering a mapped URL in a theme

2007-06-25, 1:25 am

Most pages on our portal have mapped URL's and I want to create a button in the theme that provides the user with the 'friendly URL' for the page they are currently on.

Is there a tag for this?

Can I use some Java to get this url?

Any help appriciated ( :

Jessica Garcia-Glennie

2007-06-25, 1:24 pm

I was intrigued by your question so spent a little while trying to figure out if the NavigationModelUtil class would help. It didn't, but it led to the ModelUtil class which had a method called getURLMappingModel. When I googled for that method, I found
:

http://www.webservertalk.com/archiv...-8-1572358.html

Looks... intricate. I wish you nothing but luck

Jaye
RuneH

2007-06-26, 1:21 pm

Check out the banner_toolbar.jspf file in the default theme and how the link to the administration page is created. If I understand you correctly you will need the portal-navigation:urlGeneration tag.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com