You will need to get a reference to the portletInstance and change the title on it and store the information back to the psml. Check out actions.portlets.Customize for an example of how the customizer changes the title.

Jeremy Ford
[EMAIL PROTECTED]


From: [EMAIL PROTECTED]
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Changing JSP portlet title on-the-fly
Date: Mon, 23 Aug 2004 11:19:28 -0600

I have a jsp portlet that uses the buildNormalContext() in the action class
to build attributes for the template. Depending on the some variables in the
action class, the portlet title needs to be changed from one to the other. I
have tried different ways to implement the Portlet.setTitle method in my
buildNormalContext but nothing works for me yet. Am I doing this in the
wrong place or wrong way? Any helps will be appreciated.
Thanks
Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to