hi paul!
   thanx for your reply ...though i tried as u had said but still my
helloworld is nowhere to be seen...

as regards the log entries...i think i have another problem here....for the
past few days (after 9th july) i don't have any entries in my log
file....earlier it just used to work fine...i mean logging and all...

sumit.

----- Original Message -----
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 8:30 PM
Subject: Re: problem with hello world


> Sumit,
> I am a little confused! Why are using the WebPagePortlet with a
> <classname>?  WebPagePortlets are used to encapsulate an existing web
> page identified by a <url> into a portlet.
>
> What is in the jetspeed ( look in webapps/jetspeed/WEB-INF/log ) and
> tomcat log files ( look in Tomcat's logs directory )?  Log file are you
> friend!
>
> >From looking at the other entries in the configuration files and the
> "How to write a portlet" documentation, it appears 2 entries must be
> defined ( I have not tested this, it is just the route I would follow at
> this point)
>
>         <!-- Make portlet reference type known to jetspeed -->
>         <portlet-entry type="abstract" name="HelloPortal">
>
> <classname>com.gluecode.portal.portlets.HelloPortlet</classname>
>         </portlet-entry>
>
>         <!-- Add a portlet of reference type HelloPortal -->
>         <portlet-entry type="ref" parent="HelloPortal"
> name="MyHelloPortal">
>             <meta-info>
>                 <title>MyHelloPortal</title>
>             </meta-info>
>         </portlet-entry>
>
> Thus "MyHelloPortal" should appear on the Customizer page
>
> Paul Spencer
>
> Vincent Bonamy wrote:
> >
> > Sumit Ranjan wrote:
> >
> > > hi jochen !
> > >    thanx for your prompt reply...
> > >    however what u suggested is not the case here...
> > >    my portlet.xreg entry is....
> > >
> > >  <portlet-entry
> > >
> > > type="instance" name="HelloPortal" parent="WebPagePortlet"
hidden="false"
> > >
> > > application="false">
> > >
<classname>com.gluecode.portal.portlets.HelloPortlet</classname><meta-info>
> > >
> > > <title>myportlet</title>
> > >         </meta-info>
> > >
> > > </portlet-entry>
> > > </registry>
> > >
> > > this entry is at the ned of  the portlet.xreg file.
> > > do u c anything wrong here ?
> > >
> >
> > Hello,
> > this I think I can answer,
> > (soory : english very poor)
> >
> > You compile your HelloPortlet.java.
> > You put HelloPortlet.class in $HOM_JETSPEED/WEB-INF/classes/
> > If directory classes doesn't exist, create it.
> > Endly, you put only :
> >
> > <portlet-entry type="instance" name="HelloPortal">
> >     <classname>HelloPortlet</classname>
> >     <meta-info>
> >         <title>myportlet</title>
> >        </meta-info>
> > </portlet-entry>
> >
> > And it's OK.
> >
> > NB: Personally, I put  "<portlet-entry   ...." in my
jetspeed-config.jcfg.
> >
> > Good luck.
> >
> > vincent.
> >
> > ---------------------------------------------------------------------
> > 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