You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by cl...@netscape.net on 2001/09/25 22:08:55 UTC

Question from a new Jetspeed developer

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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org