Im confused about the method:
VelocityPanedPortletController.retrievePaneID(rundata, byParameter );

I don't know whether to use true or false for byParameter.

The javadocs say "Returns the pane id of the parameter used for pane selection". To me, this means that the same id will be returned, if you pass true or false for byParameter. What confuses me is the source looks like it will return something different based on byParameter. Further, one place in the source that uses this method, uses it like this:

( copied from PanedControllerAction.buildNormalContext )
 if (null == portlet)
 {
   paneID = cont.retrievePaneID(rundata, true);
   portlet = myPortlets.getPortletByID(paneID);
   if (null == portlet)
   {
       paneID = cont.retrievePaneID(rundata, false);
       portlet = myPortlets.getPortletByID(paneID);
   }
 }

Which again, implies that you might get a different result.

Any help?

Thanks!

Ryan Christianson



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



Reply via email to