/** * Returns <code>true</code> if the portlet can be displayed via Ajax. * * @return <code>true</code> if the portlet can be displayed via Ajax */ @Override public boolean isAjaxable() { return _portlet.isAjaxable(); }
if (!portletOnLayout && portlet.isAjaxable()) { Portlet rootPortlet = portlet.getRootPortlet(); jsonObject.put("refresh", !portlet.isAjaxable());