Hi,
I tried to implement my own portlet controller. As a first test I took the
code of the DefaultPortletController and changed it a little bit (=deleted a
little bit) and saved it as a new class in a new package.
I had no errors while compiling and the CLASSPATH is also correct.
Furthermore I added something to a certain xreg-file. In the attachment you
can see what I added to this xreg-file.
This is my problem: The controller is listed correctly in the combo box with
which you can choose the controllers. But once you have selected it, some
computation is done (data is sent to the server and back to the browser) and
the controller "Single Column" is selected automatically.
Is there anything that I have forgotten? Are there any requirements that I
have to fulfill? Is there any tutorial or guide or howto?
Any help appreciated.
Thanks
Matthias Wimmer
--- mycontrollers.xreg ---
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-controller-entry name="BimzzzPortletController" hidden="false">
<classname>de.wimmisoft.portal.controllers.BimzzzPortletController</classnam
e>
<parameter name="template" value="card.vm" hidden="false"/>
<parameter name="action" value="controllers.PanedControllerAction"
hidden="false"/>
<parameter name="parameter" value="pane" hidden="false"/>
<parameter name="defaultpane" value="0" hidden="false"/>
<media-type ref="html"/>
</portlet-controller-entry>
</registry>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>