portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amedeo Zottola" <amedeo.zott...@noema.it>
Subject R: [control.xreg] <portlet-control-entry name="TitlePortletControl" ...
Date Wed, 02 Oct 2002 15:42:54 GMT
I use psml in DB! :(

Can i set my portlet's control when i write (or deploy) my portlet?!
Can i add some parameter in my portlet-entry in local-portlets.xreg?!

Help me, please!!!
Amedeo.


> -----Messaggio originale-----
> Da: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Inviato: mercoledì 2 ottobre 2002 17.21
> A: Jetspeed Developers List
> Oggetto: RE: [control.xreg] <portlet-control-entry
> name="TitlePortletControl" ...
> 
> 
> Amedeo,
> 
> You would use your new control in psml:
> 
>         <entry id="P-ef3df3cd99-10002" parent="DatabaseBrowserTest">
> 		<control name="MyPortletControl"/>
>             <parameter name="sql" value="select login_name from
> turbine_user"/>
>             <parameter name="windowSize" value="5"/>
>         </entry>
> 
> For now, you have to manually set the control in psml. It 
> would be nice if
> this could be done via customizer (perhaps it will be 
> possible in the near
> future). Or if you want this control to be your default 
> control, then set
> the following property in jr.props:
> 
> services.PortalToolkit.default.control=MyPortletControl
> 
> Best regards,
> 
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: mark_orciuch@ngsltd.com
> web: http://www.ngsltd.com
> 
> 
> > -----Original Message-----
> > From: Amedeo Zottola [mailto:amedeo.zottola@noema.it]
> > Sent: Wednesday, October 02, 2002 10:13 AM
> > To: Jetspeed Developers List
> > Subject: [control.xreg] <portlet-control-entry
> > name="TitlePortletControl" ...
> >
> >
> > Hi to all,
> >
> > my issue is to render two portlet using two different templates.
> > I saw that default template is "jetspeed.vm" defined into the file
> > "control.xreg" ( TitlePortletControl ) .
> >
> > So, i add a new portlet-control-entry in control.xreg file :
> >
> >   <portlet-control-entry name="MyPortletControl">
> >
> > 
> <classname>org.apache.jetspeed.portal.controls.VelocityPortlet
> Control</c
> > lassname>
> >     <parameter name="theme" value="myPortletTemplate.vm"/>
> >     <meta-info>
> >       <title>My Customized Title Control Template</title>
> >     </meta-info>
> >     <media-type ref="html"/>
> >     <media-type ref="wml"/>
> >   </portlet-control-entry>
> >
> > and now?!
> > How can i use my new portlet-control-entry and where?!
> >
> > Thanks,
> > Amedeoz.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jetspeed-dev-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:jetspeed-dev-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message