Good day!

I'm writing news site using jetspeed-2.1-dev. Site has a page that contains
portlet with one news. This news has a caption. I need page title (<title>
tag in <head>) was equals to this caption.

For example. I have collection of two news as objects of class News:
News1:
id: 06091501
caption: Hello world

News2:
id: 06091502
caption: some test caption

When user enters
http://mycompany.net/jetspeed/portal/newscontent.psml?id=06091501, jetspeed
must return page with title "Hello world".

But when user enters
http://mycompany.net/jetspeed/portal/newscontent.psml?id=06091501, jetspeed
must return page with title "some test caption".

How can I do it?

Thanks!

Reply via email to