Hi,
tks for your help, but now i've got another problem:

I wrote my own class MyCustomPortletController following the existing 
classes, then I registred it in controllers.xreg and modified a psml in order 
to use my controller.

When I run jetspeed i can see the page but i have the portlet displayed 
before the html structure I created in the controller.

In log file I had no exceptions, first MyCustomPortletController is correclty 
added to the registry but then i had the error:

Failed to retrive com.mycompany.portal.controllers.MyCustomController.

I also tried to put the controller in org.apache.jetspeed.portal.controller 
but the result is the same.

Any ideas?

Thanks a lot!

Andrea Franconi
[EMAIL PROTECTED]


On Thursday 21 February 2002 10:01, you wrote:
> 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

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

Reply via email to