This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change the Hello Portlet in Jetspeed2 Demo

 
snow ice
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic