You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ra...@networks.groupvu.com on 2001/05/30 01:19:56 UTC

VelocityPortletControl and VelocityPortlet

I've just landed the second part of the VelocityPortletControl work:
- replacing the PanedPortletControl with a Velocity template based one
- implementing the "Close" action (not very well actually...)
- implement proper Maximize and Customize functions

The customize functions currently only works with the new VelocityPortlet
because it's the only one that defines a local customizer but it's quite
easy to plug a default parameter customizer for non customize aware portlets
(coming tomorrow or thursday...)

For those you want to check out the VelocityPortlet, the documentation is still
sketchy but I advise you to look out at the portlet example (HelloVelocity defined
in portlets.xreg).

--
Raphaël Luta - luta.raphael@networks.vivendi.net

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


Re: VelocityPortletControl and VelocityPortlet

Posted by Santiago Gala <sg...@hisitech.com>.
raphael.luta@networks.groupvu.com wrote:

> I've just landed the second part of the VelocityPortletControl work:
> - replacing the PanedPortletControl with a Velocity template based one
> - implementing the "Close" action (not very well actually...)
> - implement proper Maximize and Customize functions
> 


I'm looking at the code, and it looks great. It is much cleaner to have 
a template to design controls than to write ecs code for this. Also, it 
allows out

It looks like it should be a TemplatePortletControl, and leave the 
selection of the template engine and creation of the context to Turbine.

In this way, we could have VelocityControls, JSPControls, and 
XSLTControls out of the same code base. Feasible? I don't know well the 
context creation and template selection processes.


> The customize functions currently only works with the new VelocityPortlet
> because it's the only one that defines a local customizer but it's quite
> easy to plug a default parameter customizer for non customize aware portlets
> (coming tomorrow or thursday...)
> 
> For those you want to check out the VelocityPortlet, the documentation is still
> sketchy but I advise you to look out at the portlet example (HelloVelocity defined
> in portlets.xreg).
> 
> --
> Raphaël Luta - luta.raphael@networks.vivendi.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
> 
> 




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