*/
public ConcreteElement getContent(RunData rundata)
{
ConcreteElement content = null;
PortletController controller = getController();
PortalResource portalResource = new PortalResource(this);
try
{
JetspeedLink jsLink = JetspeedLinkFactory.getInstance(rundata);
portalResource.setOwner(jsLink.getUserName());
JetspeedLinkFactory.putInstance(jsLink);
}
catch (Exception e)
{
Log.warn(e.toString());
portalResource.setOwner(null);
}
if (!JetspeedSecurity.checkPermission((JetspeedUser) rundata.getUser(),
portalResource, JetspeedSecurity.PERMISSION_VIEW))
{