public class ContentOnly extends Object
render(HttpServletRequest, String); the chrome guards in head.jsi
and sidebar.jsi are shared by every console page.| Modifier and Type | Method and Description |
|---|---|
static boolean | isContentOnly(HttpServletRequest req)True when the request asks for fragment rendering. |
static boolean | render(HttpServletRequest req,
String id)Whether the named element must be rendered for this request. |
static Set<String> | requestedIds(HttpServletRequest req)The sanitized set of requested element ids. |
public static boolean isContentOnly(HttpServletRequest req)
req - the requestpublic static boolean render(HttpServletRequest req, String id)
req - the requestid - the element idpublic static Set<String> requestedIds(HttpServletRequest req)
req - the request