aspose file tools*
The moose likes Portals and Portlets and the fly likes How to change the Hello Portlet in Jetspeed2 Demo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "How to change the Hello Portlet in Jetspeed2 Demo" Watch "How to change the Hello Portlet in Jetspeed2 Demo" New topic
Author

How to change the Hello Portlet in Jetspeed2 Demo

snow ice
Greenhorn

Joined: Feb 07, 2006
Posts: 1
hi ppl,

I am having a big problem..

I can't change the portlet title, hello portlet, in the jetspeed 2 demo.

The strange things is that i am able to change the title of the pickANumber portlet.

@ Portlet.xml

<portlet id="PickANumberPortlet">
<init-param>
<name>ViewPage</name>
<value>/WEB-INF/demo/simple/PickANumber.jsp</value>
</init-param>
<init-param>
<name>HelpPage</name>
<value>/WEB-INF/demo/simple/PickANumberHelp.jsp</value>
</init-param>
<init-param>
<name>EditPage</name>
<value>/WEB-INF/demo/simple/PickANumberEdit.jsp</value>
</init-param>
<portlet-name>PickANumberPortlet</portlet-name>
<display-name>Pick a number game</display-name>
<portlet-class>org.apache.jetspeed.demo.simple.PickANumberPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>HELP</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>fr</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>org.apache.jetspeed.demo.simple.resources.PickANumberResources</resource-bundle>
<portlet-info>
<title>Change TITLE</title>
</portlet-info>
<portlet-preferences>
<preference>
<name>TopRange</name>
<value>100</value>
</preference>
</portlet-preferences>
</portlet>

See.. i just replace that data in the portel-info/title.. and it changes the title in the pickANumber portlet change..

But strange! i can't do the same way for the hello portlet

Can someone tell me how to change the title in the hello portlet...

Pls help.. i am running out of time!
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

"snow ice"-
Welcome to the JavaRanch! Please take a sec to adjust your display name to match the JavaRanch Naming policy. Basically you need to have a legitmate sounding first and last name. You can tweak it here.

Thank ya kindly (oh, and again, welcome to JavaRanch)!

- Jess
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change the Hello Portlet in Jetspeed2 Demo
 
Similar Threads
IPC with pluto
Problem with Portlet Preferences not loading
Portal Deployed;but cant see it.
Configure Custom mode(Edit_Defaults) in Vignette Application Portal 7.3
navigation between the pages in different portlets using JSR286