yes, it's in the root of the portlet application.
I've tried both ways:
  - redirect to view.jsp from the doVIew() of the portlet
  - just put this in doView()
       - response.setContentType("text/html");
       - response.getWriter().print("<p>Something...</p>");
The effect is the same in both ways...
Any idea what am I doing wrong?

On Wed, 23 Mar 2005 13:16:03 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> du you have a view.jsp ?
> <name>jspView</name>
>        <value>/view.jsp</value>
> 
> Vladimir Simjanoski <[EMAIL PROTECTED]>
> 23.03.2005 13:05
> Please respond to "Jetspeed Users List"
> 
>         To:     Jetspeed Users List <jetspeed-user@jakarta.apache.org>
>         cc:
>         Subject:        Re: Portlet body not shown
> 
> I've just added this to default-page.psml
>     <fragment id="dp-26" type="portlet" name="first::FirstPortlet">
>       <property layout="TwoColumns" name="row" value="4" />
>       <property layout="TwoColumns" name="column" value="0" />
>     </fragment>
> 
> My first.war(deployed in \WEB-INF\deploy) has the following structure
>  - WEB-INF
>       - classes/ (with only the portlet class)
>       - lib/
>       - portlet.xml
>       - web.xml
> 
> and the portlet.xml looks like:
> <portlet-app id="first" version="1.0">
> 
> <portlet id="FirstPortlet">
>      <init-param>
>        <name>jspView</name>
>        <value>/view.jsp</value>
>      </init-param>
>     <portlet-name>FirstPortlet</portlet-name>
>     <display-name>FirstPortlet Wrapper</display-name>
>     <description>This is a test</description>
>     <portlet-class>test.FirstPortlet</portlet-class>
>     <expiration-cache>-1</expiration-cache>
>     <supports>
>       <mime-type>text/html</mime-type>
>       <portlet-mode>EDIT</portlet-mode>
>       <portlet-mode>VIEW</portlet-mode>
>       <portlet-mode>HELP</portlet-mode>
>     </supports>
>     <supported-locale>en</supported-locale>
>     <portlet-info>
>       <title>FirstPortlet Title</title>
>       <short-title>the very first</short-title>
>       <keywords>First</keywords>
>     </portlet-info>
>   </portlet>
> </portlet-app>
> 
> Users List"
> >
> >         To:     Jetspeed Users List <jetspeed-user@jakarta.apache.org>
> >         cc:
> >         Subject:        Re: Portlet body not shown
> >
> >
> > Hi!
> > It's just a dummy portlet that extends GenericPortlet and in doView()
> > and doEdit() renders just one line (i.e. "FIRST TEST..."). No Struts,
> > no forwarding.
> >
> > vladimi
> >
> > On Wed, 23 Mar 2005 12:24:20 +0100, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > hi !
> > > what kind of portlet it is ?
> > >
> > > i had the problem with a struts-portlet if i used wrong
> > > jars and tld's or put too much redirects in my struts-config
> > >
> > > thomas
> > >
> > > Vladimir Simjanoski <[EMAIL PROTECTED]>
> > > 23.03.2005 12:22
> > > Please respond to "Jetspeed Users List"
> > >
> > >         To:     jetspeed-user@jakarta.apache.org
> > >         cc:
> > >         Subject:        Portlet body not shown
> > >
> > >
> > > Hello!
> > > I've Tomcat 5.0.28 with J2 (binary) installed.
> > >
> > > Done one simple portlet and deployed it like it's explained in the
> > > http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets.
> > > The problem is that I only got the portlet title in the default page
> > > (the portlet body is missing).
> > > Since I couldn't find anything in the logs, I don't know what could be
> > > the problem.
> > >
> > > I'm trying to push J2 as a JSR168 implementation for the student's
> > > portal in my university.
> > > So, I need to show something very quickly. PLEASE, HELP!!!
> > >
> > > Regards,
> > > Vladimir
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to