PortletController are Portlet subclasses that are specialized to build
the layout strategy (ie the way portlets are organized on the page).
Since they are Portlets, they can (and the default ones do) use a templating
system like Velocity to control the controller view.
PortletController classes should also provide a customizer suited
to their layout strategy.

So if you to need to reimplement a completely new layout strategy (ex, free-floating
stackable portlets with an x,y coordinate and a z-order) you'll need to write a brand
new PortletController and customizer suited to the task.
If you want to rewrite the customizer for the default multi-column controller
you can simply change the controller customizer Action class.
If you just want to customize the screen apperance of the controller or customizer,
simply edit or copy the vm templates and modify them to suit your needs.

Andrea Franconi wrote:

> Can you explain me the relationship between the .vm controllers in 
> /WEB-INF/templates/controllers and the classes in 
> org.apache.jetspeed.portal.controllers ?
> 
> Thanks again
> 
> Andrea Franconi
> [EMAIL PROTECTED]
> 
> 
> On Wednesday 20 February 2002 19:05, you wrote:
> 
>>Just take one of the .vm controllers under
>>/WEB-INF/templates/controllers as an example, and customize it to your
>>needs, then add it to the controller registry and start using it in your
>>psml files
>>
>>



-- 
Raphael Luta - [EMAIL PROTECTED]
Professional Services Manager
Vivendi Universal Networks - Paris


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

Reply via email to