WebSphere Portal Server - Site Map

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2004 > Site Map





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 Site Map
alexmcglashan

2004-01-19, 3:00 pm

Does anyone know of a way to generate a site map for a portal?
Pieter

2004-01-19, 3:00 pm

For Wps5 the com.ibm.wps.composition.elements.Component class should help
you out.
It has an iterator you can obtain with the getChildren(runData) method.
The iterator returns objects implementing the NavigationNode interface.
The NavigationNode interface demands the getContentNode() method that
returns the page you might want to display the description and title of.

Use NavigationModelUtil to create the urls with to jump to the pages.

See http://www.e-office.com/wps/portal/!ut/p/_s.7_0_A/7_0_QD for an
implementation created this way.

We use it as an alternative for our missing Search functionality :-( the
available document search portlet only works with a session, and we don't
have sessions for anonymous.





"alexmcglashan" <amcglashan@salmon.ltd.uk> wrote in message
news:373063616.1069067525067.JavaMail.wasadmin@swg3ws003...
quote:

> Does anyone know of a way to generate a site map for a portal?




Joel Wellington

2004-01-19, 3:00 pm

I take it this is implemented in a portlet?


"Pieter" <pieter.hertogh.IDoNotWantSpm@e-office.com> wrote in message
news:bpd3cf$374m$1@news.boulder.ibm.com...
quote:

> For Wps5 the com.ibm.wps.composition.elements.Component class should help
> you out.
> It has an iterator you can obtain with the getChildren(runData) method.
> The iterator returns objects implementing the NavigationNode interface.
> The NavigationNode interface demands the getContentNode() method that
> returns the page you might want to display the description and title of.
>
> Use NavigationModelUtil to create the urls with to jump to the pages.
>
> See http://www.e-office.com/wps/portal/!ut/p/_s.7_0_A/7_0_QD for an
> implementation created this way.
>
> We use it as an alternative for our missing Search functionality :-( the
> available document search portlet only works with a session, and we don't
> have sessions for anonymous.
>
>
>
>
>
> "alexmcglashan" <amcglashan@salmon.ltd.uk> wrote in message
> news:373063616.1069067525067.JavaMail.wasadmin@swg3ws003...
>
>




Pieter

2004-01-19, 3:01 pm

Yep,

it can be used in a portlet. Our website is built on wps5.0 and the sitemap
is done using this code:
http://www.e-office.com/wps/portal/!ut/p/_s.7_0_A/7_0_QD




"Joel Wellington" <Joel.Wellington@wesfarmerslandmark.com.au> wrote in
message news:bpeg14$79bk$1@news.boulder.ibm.com...
quote:

> I take it this is implemented in a portlet?
>
>
> "Pieter" <pieter.hertogh.IDoNotWantSpm@e-office.com> wrote in message
> news:bpd3cf$374m$1@news.boulder.ibm.com...
help[QUOTE][color=darkred]
don't[QUOTE][color=darkred]
>
>




alexmcglashan

2004-01-19, 3:01 pm

Thanks for the advice on the site map. I'm interested in what you said about the search facility - do you mean searching external websites or the portal's own document repository?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com