|
|
|
Andy Gherna and I worked on CPortletAdapter enhancements @ the JA-SIG dev meeting to allow CPortletAdapter to present the dynamic portlet titles as dynamic channel titles. However, as I try to plug this in with the dynamic channel title support in place, I don't see how it can work:
... channelState.setPortletTitle(title); Since the HttpServletRequest in PortalControlStructures is the request from the end user's browser, how does this work for multiple portlets setting their titles on the RenderResponse? Should we be looking somewhere else for the per-portlet dynamic portlet title? We need a really simple example portlet that sets its title to something, to include in uP to exercise this feature, and another look at how to make CPortletAdapter harvest the dynamic portlet title... Patch for CPortletAdapter etc. capturing the Pluto-placed dynamic portlet title request attribute from the wrapped HttpServletRequest.
The CPortletAdapter.txt patch doesn't appear to work either. I'll commit an example portlet that sets its title so we'll have something to test against in getting CPortletAdapter to render dynamic portlet titles.
This portlet now included in uPortal to demonstrate current lack of support for setTitle(): http://jasigch.princeton.edu:9000/display/PLT/RenderCountPortlet
The complete resolution was provided by
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UP-1246support for dynamic IChannel titles is required as the foundation upon which to implementUP-1247support for JSR-168 dynamic titles.