}
protected List createActionList(List actions, JetspeedRunData rundata, Portlet portlet)
{
JetspeedLink jsLink = null;
// Now that we know which actions should be displayed,
// build the links and put it in the context
Iterator i = actions.iterator();
while( i.hasNext() )
{
PortletAction action = (PortletAction)i.next();
try
{
jsLink = JetspeedLinkFactory.getInstance(rundata);
}
catch( Exception e)
{
logger.error( "Exception in buildActionList", e );
}
// action.setLink( jsLink.setPortletById(portlet.getID())
// .addQueryData("action", getAction( action.getName()))
// .toString());
action.setLink( jsLink.setAction( getAction( action.getName()), portlet).toString());
JetspeedLinkFactory.putInstance(jsLink);
jsLink=null;
}
return actions;