History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1228
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nils-Helge Garli
Reporter: Jason Thorpe
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebWork

When deploying portlets that use the new webwork Jsr168Dispatcher class the portlet titles are unavailable in liferay 3.6.1

Created: 07/Mar/06 11:07 AM   Updated: 17/Mar/06 01:20 AM
Component/s: Portlet Integration
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2

File Attachments: 1. Zip Archive NNDRPortlets.zip (5.32 Mb)
2. XML File portlet.xml (4 kb)

Environment:
Liferay 3.6.1 professional running on tomcat 5.0.28 on Windows XP
Vanilla build of liferay using extension environment


 Description  « Hide
I have raised this issue on the liferay user group as I initially thought it was a configuration setting within liferay, however after 2 days of trying lots of different configuration options I have been unable to get the titles to appear.

If you need any further information don't hesitate to get in touch.

 All   Comments   Change History      Sort Order:
Nils-Helge Garli - [07/Mar/06 12:18 PM ]
Hi!

Could you please paste in your portlet.xml file?

Thanks

Jason Thorpe - [07/Mar/06 04:38 PM ]
I have also tried using a resource bundle with an entry of javax.portlet.title but this doesn't work either. It is my understanding that if you have the section:

<portlet-info>
      <title>My PortletWork portlet2</title>
      <short-title>PW2</short-title>
      <keywords>webwork,portletwork</keywords>
    </portlet-info>

in the portlet.xml that should control the title?

Thanks

Jason Thorpe - [07/Mar/06 04:45 PM ]
In case you need any more details of the app or my setup, please see the attached eclipse webapp project.

Many thanks for your help with this.

Kind regards

Jason

Nils-Helge Garli - [08/Mar/06 12:52 AM ]
Thanks. I will investigate this. In the mean time, you can use a 'title' property of the result that dispatches to your view, like this:

<action name="bar" class="myPackage.barAction">
  <result name="success">
    <param name="location">/view/myJsp.jsp</param>
    <param name="title">Portlet Page Title</param>
  </result>
</action>


Jason Thorpe - [08/Mar/06 01:14 AM ]
The work around works great and is arguably possibly my preferred way to do it.

Thanks for looking into this so quickly.

Kind regards

Jason

Nils-Helge Garli - [13/Mar/06 01:24 AM ]
Fixed in CVS.