Hi,

--- Rapha�l Luta <[EMAIL PROTECTED]> wrote:
> Chris Kimpton wrote:
> 
> > 
> > With jetspeed1.3a1, we had a search portlet, which had a link to
> an
> > advanced search portlet - which became a "maximized" portlet.
> > 
> > We did this with a link like this;
> > 
> > /portal/portlet/AdvancedSearch
> > 
> > It seems that the latest cvs jetspeed does not support this
> feature,
> > it doesn't restrict the portlet to the one specified and only
> shows
> > it if the user has selected it via the customizer.
> > 
> 
> > Any suggestions on how to achieve something similar with the new
> > version of jetspeed?
> > 
> > My first thoughts are to perhaps have one portlet rather than 2,
> but
> > have two modes of operation and switch between them - since the
> only
> > difference between the 2 portlets is the velocity template
> anyway.
> > 
> 
> In the latest CVS, you can achieve this functionality either by
> defining the following screen template:
> 
> generic.vm:
> #set ($portlet = $data.Parameters.getString($jlink.PortletKey))
> $jetspeed.getPortlet($portlet)
> 
> 
> (you can also do that in JSP using jetspeed:portlet dynamic tag)
> 
> 
> and use the URL
> 
> /template/generic/portlet/AdvancedSearch
> 
> or
> 
> if you're willing to convert your Portlet to VelocityPortlet
> define a VelocityPortletAction which sets the "advanced" template
> in its buildMaximizeContext() method implementation and possibly
> create
> 
> a different context when maximized.
> 
> 
> You can have a look at HelloVelocity /HelloAction which sets its
> own
> customization template to see how it's done.
> 

I have gone down the VelocityPortlet route - but it seems that you
still need to be logged in to see a maximized version of the portlet
- does this sound correct - or is it a bug...

Thanks for the help,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

Reply via email to