Todd

In your answer I can see only the portlet action mapping to a java class . 
But what I'm looking for is where is the api for eg.
what to call for Edit,  what to call for Minimize etc is defined? .  How 
does it know which api to call from the class for different
events?
At 05:29 PM 5/1/2002 -0700, Todd Kuebler wrote:
>Ah, you are looking to provide your own Customizer for a portlet.  The 
>docs are unfortunately a little light on this.  For an example of how to 
>do this with Velocity, check out the customizer for the very cool 
>DatabaseBrowserPortlet and the entry in the demo-portlets.xreg the binds 
>the customizer to the DatabaseBrowserAction.
>
> From demo-portlets.xreg:
>
>     <portlet-entry name="DatabaseBrowserTest" hidden="false" type="ref"
>         parent="DatabaseBrowserPortlet" application="false">
>         <meta-info>
>             <title>DatabaseBrowserTest</title>
>             <description>Simple Test Database Browser Portlet 
> Example</description>
>         </meta-info>
>         <parameter name="template" value="database-browser-portlet" 
> hidden="false"/>
>         <parameter name="customizeTemplate" 
> value="database-browser-customize" hidden="false"/>
>         <parameter name="action" 
> value="portlets.browser.DatabaseBrowserAction" hidden="false"/>
>         <parameter name="sql" value="select * from coffees" hidden="false"/>
>         <parameter name="windowSize" value="5" hidden="false"/>
>         <media-type ref="html"/>
>     </portlet-entry>
>
>Hope that points you in the right direction..  Anyone with a more concrete 
>answer feel free to chime in as I'm relatively new to this as well.
>
>
>-tk
>
>
>At 05:01 PM 5/1/2002 -0700, Shan Gopalakrishnan wrote:
>>I'm looking at where is the actions for each portlet is defined . For eg. 
>>the actions for Min, Max, Edit and Close.
>>I'm looking at to define a edit page and bind it to the edit action of my 
>>portlet .
>>
>>Thanks
>>
>>- Shan
>>
>>
>>--
>>To unsubscribe, 
>>e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: 
>><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, 
>e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


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

Reply via email to