How can I send a parameter value to a portlet if this one is a VelocityPortlet without 
an Action class ? In this case, I'm using a small application tool directly in the vm 
template which need to use this paramater.

To be more precise, I have a small 'Catalog portlet' which display different 
directories by using Slide. When I click on one of these 'directory' link, I want to 
refresh the same portlet with the sub-directory content.

My vm template is somthing like :

        #set ($catalogName = $data.getParameters.getString("catalogName"))
    #set ($catalog = $CMS.getCatalog($catalogName))
        #foreach ($item in $catalog.getItems())
            ....
            <a href="$jlink.setPortlet("Catalog").addPathInfo("catalogname", 
"$item.getName()")">$item.getName()</a>
            ....
        #end 



Is it correct ? for me no because the parameter 'catalogname' can be read by another 
'Catalog' portlet set into the same pane. Can you point me to the correct way ?


Thanks, 
Christophe


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


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

Reply via email to