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!


View this message in context: How to change the Hello Portlet in Jetspeed2 Demo
Sent from the Pluto - Dev forum at Nabble.com.

Reply via email to