Hello Paul,

thank you very much for your help. However, I'm bloody new to this topic, so
I have some problems in understanding your hints...

> You can suggest a column width to the browser, see the
> <portlet-controller-entry> for TwoColumns in
> WEB-INF/conf/controllers.xreg.

I don't have this file in my Jetspeed 1.3a1 installation.

Do you mean "WEB-INF/conf/jetspeed-config.jcfg"? There I can find the
<portlet-controller-entry>, but I can't figure out how to suggest a column
width there, neither I see any "TwoColumns" value. What do you exactly mean?

> To define your own controller, place the <portlet-controller-entry> in
> an new file named <portlet-controller-entry>.

:) I don't understand this either. I guess you mean that I should somehow
link the new entry done in the <portlet-controller-entry> to the new file
"<portlet-controller-entry>", right? But how?
The entries in "WEB-INF/conf/jetspeed-config.jcfg" are linking some Java
classes as controllers, but what I understand is that you suggest to link a
XML file here... (I'm so confused...)

> Example of the local-manager with a definition of My Columns.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <registry>
>     <portlet-controller-entry name="MyColumn" hidden="false">
>         <meta-info>
>             <title>MyColumns</title>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.controllers.VelocityPortletC
> ontroller</classname>
>         <parameter name="template" value="multicolumn.vm"
> hidden="false"/>
>         <parameter name="action"
>             value="controllers.MultiColumnControllerAction"
> hidden="false"/>
>         <parameter name="sizes" value="25%,75%" hidden="false"/>
>         <parameter name="cols" value="2" hidden="false"/>
>         <media-type ref="html"/>
> </registry>

And how can this "VelocityPortletController" be found. Neither the class nor
the source is in my distribution, not in the jetspeed-1.3a1.jar and not in
the velocity.jar

Thanks again for your help, but can you please try to make it clearer to me?

Bernhard


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

Reply via email to