Looks like quite a few people have got this working. I can't, but I think I'm 
doing it slightly differently. What I'm trying to do is add a portlet and a 
page containing that portlet to the default portal. From reading the 
documentation it looks like what I need to do is put into a war the following:

the code for my portlet (in WEB-INF/classes)

helloworld-portlet.xml, the portlet descriptor (in WEB-INF) which contains the 
portlet class name and the portlet-name, which is referenced by

jboss-portlet.xml (in WEB-INF) which contains the portlet-name defined in the 
portlet.xml

portlet-instances.xml (in WEB-INF) which contains an instance-name for 
referring to the portlet (where component-ref in this file= portlet-name in 
jboss-portlet.xml and portlet.xml)

jboss-app.xml (in WEB-INF) which contains an app-name which is referenced in 
helloworld-pages.xml

helloworld-pages.xml (in WEB-INF) which is a definition for a page, where 
portal-name is the name of an existing portal definition, and instance-ref is 
<app-name>/<portlet-name>/<instance-name>

So basically what I would be doing is defining a new page in helloworld-pages, 
but have the portal-name set to default so it attaches the page to the existing 
(default) portal.

Can anyone see what I'm doing wrong? Or is this not the right info to diagnose 
the problem? 

Or if anyone could let me have a working HelloWorld.war I can take a look at, 
that would be much appreciated - the link in the Documentation to where the 
HelloWorld example is now takes you to portletswap.com where there is no 
HelloWorld portlet.

Cheers,
Kev.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904735#3904735

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904735


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to