You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Nehemia Litterat <nl...@yahoo.com> on 2004/03/28 21:17:18 UTC

Adding myHelloWorld portlet

Hi all
I worte a very simple Hellow world portlet
the package I choose to put it in called 'testportlets'
I created a directory names 'testportlets' under \WEB-INF\classes
copied the HelloWorld.class file to this directory
went to the admin and added the portlet
I can see it under admin portlet browser but this is the only place I can see it
Security Reference is set to user-view admin all
I checked and there is a file called  local-portlets.xreg under WEB-INF\conf which hold the registry for my portlet
HELP PLEASE
 


Thanks
   Nehemia Litterat
   064700685

---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

Re: Adding myHelloWorld portlet

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Sunday, March 28, 2004, at 02:58  PM, sinda hauser wrote:

>  From the tutorial the steps are:
>
> 1. Create your HelloWorld Portlet.  Compile it and make sure it
> is in the classpath, ie WEB-INF/classes/.  Packaged classes
> should have the directories under this.
> 2. Add a reference for your portlet to Jetspeed's Portlet
> Registry. ie create the yourfragment.xreg  which I assume you
> have and using local-portlets.xreg
>
> 3. From the menu customizer it should list the new portlet,
> check the box so that it gets included. Next, Save and apply and
> apply.
>
> 4. Restart tomcat (assuming you're using tomcat). Log on and it
> should display.
>
Brilliant:
3.  Customize your portal
4. Restart, Login

> Honestly, I find the tutorial difficult to follow as it does not
> show the cause and effect.  Good Luck.

How is this for cause and effect: The tutorial has been removed from 
the web.
If anyone needs a tutorial in the future, please reference the 4 step 
tutorial above




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Adding myHelloWorld portlet

Posted by sinda hauser <xi...@yahoo.com>.
 From the tutorial the steps are:

1. Create your HelloWorld Portlet.  Compile it and make sure it
is in the classpath, ie WEB-INF/classes/.  Packaged classes
should have the directories under this.
2. Add a reference for your portlet to Jetspeed's Portlet
Registry. ie create the yourfragment.xreg  which I assume you
have and using local-portlets.xreg

3. From the menu customizer it should list the new portlet,
check the box so that it gets included. Next, Save and apply and
apply.

4. Restart tomcat (assuming you're using tomcat). Log on and it
should display.

Honestly, I find the tutorial difficult to follow as it does not
show the cause and effect.  Good Luck.


--- Nehemia Litterat <nl...@yahoo.com> wrote:
> Hi all
> I worte a very simple Hellow world portlet
> the package I choose to put it in called 'testportlets'
> I created a directory names 'testportlets' under
> \WEB-INF\classes
> copied the HelloWorld.class file to this directory
> went to the admin and added the portlet
> I can see it under admin portlet browser but this is the only
> place I can see it
> Security Reference is set to user-view admin all
> I checked and there is a file called  local-portlets.xreg
> under WEB-INF\conf which hold the registry for my portlet
> HELP PLEASE
>  
> 
> 
> Thanks
>    Nehemia Litterat
>    064700685
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org