No, a PortletControl is *not* an Action but a subclass of Portlet.
(PortletControl extends Portlet).

The PortletControl acting as a Proxy to a Portlet for most methods
it delegates calls to the inner portlet. You can retrieve a reference
to a protlet within a Control at any time using getPortlet() method.

> -----Message d'origine-----
> De : Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Envoyé : lundi 7 octobre 2002 10:35
> À : Jetspeed Users List
> Objet : Re: Psml customizing permission
> 
> 
> but in the buildActionList() of VelocityPortletControl 
> checkes directly to
> the portlet (and i think that is VelocityPortletAction) so i 
> have to get
> that variable in that case, out of buildXXX, to check 
> permissions (i didnt't
> tried with a AbstractPortlet directly, but probably it works 
> if i use it,
> but i don't think i could use velocity template with it.)
> 
> 
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
> 
> 
> ----- Original Message -----
> From: "Luta, Raphael (VUN)" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, October 07, 2002 10:00 AM
> Subject: RE: Psml customizing permission
> 
> 
> In your buildXXX() functions you get a VelocityPortlet (extending
> AbstractPortlet)
> that is the portlet object you need to invoke your methods on.
> 
> --
> Raphaël Luta - [EMAIL PROTECTED]
> Technology and New Initiatives
> Vivendi Universal Networks - Paris
> 
> > -----Message d'origine-----
> > De : Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> > Envoyé : samedi 5 octobre 2002 19:39
> > À : Jetspeed Users List
> > Objet : Re: Psml customizing permission
> >
> >
> > I have another question: i am using VelocityPortletAction,
> > but it is a child
> > class from the turbine pack, and it has nothing of
> > AbstractPortlet, so none
> > of those functions.
> > How i can make VelocityPortletAction having the functions of
> > AbstractPortlet? i can't cast types, and rewriting all them sounds a
> > bit..odd. (and it's obviously correct, they arent from the 
> same class)
> >
> >
> > <=- Raffaele Ragni -=>
> > ----- Original Message -----
> > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, October 04, 2002 10:01 PM
> > Subject: Re: Psml customizing permission
> >
> >
> > >
> > > Umm, i were just wondering before... it works the fact of
> > permissions? or
> > it
> > > isnt implemented still? because, it doens't work form 
> what i've get
> > > (and how i can know having an instance of a portlet if it
> > is a panel or a
> > > portlet?)
> > >
> > > <=- Raffaele Ragni -=>
> > >
> > > ----- Original Message -----
> > > From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > Sent:
> > > Subject: Re: Psml customizing permission
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to