> > that seems to be grey theory....

I know, like I said it was just a theory ;)

You may also want to look at the new security service in 1.3a3.  You are
able to directly control what role can invoke what actions on which portlets
via the security.xreg.


> you have to remove it directly in the jetspeed*.vm in
> C:\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\
> look for
> #foreach ( $action in $actions )
>             <a href="${action.Link}" title="${action.Name}"><img
> src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
>     #end
>
Won't removing this template code remove ALL your actions from the portlet
control?  I would try this to make it more selective.

#foreach ( $action in $actions )
#if(!$action.Name == "close")
            <a href="${action.Link}" title="${action.Name}"><img
src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
#end
#end


Scott


> -----Original Message-----
> From: Josselin Lebret [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 05, 2002 9:13 AM
> To: Jetspeed Users List
> Subject: Re: How can I remove the "close"- Button in a Portlet ?
> 
> you have to remove it directly in the jetspeed*.vm in
> C:\tomcat\webapps\jetspeed\WEB-INF\templates\vm\controls\
> look for
> #foreach ( $action in $actions )
>             <a href="${action.Link}" title="${action.Name}"><img
> src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
>     #end
> 
> ----- Original Message -----
> From: "Frederic Hahn" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, July 05, 2002 4:07 PM
> Subject: Re: How can I remove the "close"- Button in a Portlet ?
> 
> 
> > Hi Scott,
> >
> > that seems to be grey theory....
> >
> > The checkbox for "permission close" is unset by default. You cannot get
> rid
> > of it even if you delete the Close permission.
> >
> > Our problem is, that we are afraid, that the "dumb" user might delete a
> > portlet from the screen without knowing how to get it back...
> >
> > Any other ideas to solve that?
> >
> > Frederic
> >
> >
> > ----- Original Message -----
> > From: Weaver, Scott
> > To: 'Jetspeed Users List'
> > Sent: Friday, July 05, 2002 3:27 PM
> > Subject: RE: How can I remove the "close"- Button in a Portlet ?
> >
> >
> > Hi Frederic,
> >
> > I think this can be achieved by removing the "close" permission from any
> of
> > the roles you do not want closing portlets.  This is a theory, so I am
> not
> > positive on this.
> >
> > Scott
> >
> > > -----Original Message-----
> > > From: Frederic Hahn [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, July 05, 2002 7:11 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: How can I remove the "close"- Button in a Portlet ?
> > >
> > > Hi guys,
> > >
> > > I am trying to remove the "close" (X) button from a portlet. I dont
> want
> > > the
> > > user to be able to remove a portlet. Is this possible and where can I
> do
> > > it?
> > >
> > > Could this even be done dependant on the user profile?
> > >
> > > Thanks for your answers,
> > >
> > > Frederic
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:jetspeed-user-
> > > [EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:jetspeed-user-
> [EMAIL PROTECTED]>

Reply via email to