> > Hello Paul,
> >
> > Thanks so far for your help, but I haven't managed to get it to work yet,
since
> > I'm confused what exactly to do.
> > I have 7 JSP files, they are all linking to eachother and I want them all to
be
> > in one directory. The portlet should open the index.jsp, from where I can
link
> > to the other JSP pages (addtopic.jsp, viewtopic.jsp etc..)
> >
> > I've chosen to use your last option, because I want to have all JSP inside
the
> > Jetspeed environment.
> >
> > This is what I did so far:
> >
> > 1. I put all the JSP pages in
> > /WEB-INF/templates/jsp/portlets/html/forum>
> > 2. I edited the demo-portlets.xreg as described in my previous mail (see
below)
> > 3. I created the directory /WEB-INF/psml/group/forum/html
> >
> > Is this right so far? Like this I can add the portlet and see the index.jsp,
but
>
>  So far you are correct.
>
> In the directory /WEB-INF/psml/group/forum/html:
>   create the file add.psml with 1 <entry> to the Forum_AddTopic.
>    (Use the /WEB-INF/psml/group/apache/html/news.psml as a guide)
>
>   Each Forum portlet should have it's own PSML file in this directory.
>   The file "default.psml" will be used when no, or a non-existant
>   PSML file is in the URL for the group
>
>   The JSPs should link to the add/.... PSML files in this group.

Okay.. it seems I've come a little further now. :)

I copied the /WEB-INF/psml/group/apache/html/news.psml to
/WEB-INF/psml/group/forum/html/addtopic.psml
I replaced the line <entry type="ref" parent="Apacheweek"/> with <entry
type="ref" parent="ForumJSP"/> , where ForumJSP is the name of the portlet, as
defined in demo-portlets.xreg.

In my index.jsp the link to addtopic.jsp looks like this:
http://localhost/jetspeed/portal/group/forum/page/addtopic.jsp

Correct so far?

When I start Jetspeed and click on the Add Topic link in the forum portlet I get
the following exception:

Horrible Exception: org.apache.jetspeed.om.profile.ProfileException:
org.apache.turbine.util.security.UnknownEntityException: The specified group
does not exist

Thanks for any new ideas.

Regards,
Jasper



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to