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.