t.addElement( new TR().addElement( new TD()
.addElement( new B().addElement( "Actions:" ) ) ) );
String internal = null;
JetspeedLink jsLink = null;
try
{
jsLink = JetspeedLinkFactory.getInstance(rundata);
String mtype = rundata.getParameters().getString("mtype");
if (mtype != null)
{
jsLink.setMediaType(mtype);
jsLink.addQueryData("mtype", mtype);
}
String js_peid = rundata.getParameters().getString("js_peid");
// FIX ME: If the portlet is viewed in Avantgo and then portlet info is restored, the portlet will
// be maximized (similar to customizing certain portlet types. The desired effect would be to
// set the portlet's mode to normal.
internal = jsLink.addPathInfo("js_peid", js_peid).setAction("controls.Maximize").toString();
}
catch (Exception e)
{
logger.error("Exception", e);
}