Package io.keikai.jsf.ui.impl
Class FacesUtil
- java.lang.Object
-
- io.keikai.jsf.ui.impl.FacesUtil
-
public class FacesUtil extends Object
Utility to handle faces stuff- Author:
- dennis
-
-
Constructor Summary
Constructors Constructor Description FacesUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addUpdateScript(String clientId, String script)
static void
clearUpdateScript()
static void
clearUpdateScript(String clientId)
static javax.faces.context.FacesContext
getContext()
static List<String>
getUpdateScript()
static boolean
isAjaxRequest()
static javax.faces.component.UIComponent
searchComponent(String id)
static javax.faces.component.UIComponent
searchComponent(javax.faces.component.UIComponent base, String id)
static String
toScriptString(String script)
-
-
-
Method Detail
-
getContext
public static javax.faces.context.FacesContext getContext()
-
isAjaxRequest
public static boolean isAjaxRequest()
-
searchComponent
public static javax.faces.component.UIComponent searchComponent(String id)
-
searchComponent
public static javax.faces.component.UIComponent searchComponent(javax.faces.component.UIComponent base, String id)
-
clearUpdateScript
public static void clearUpdateScript(String clientId)
-
clearUpdateScript
public static void clearUpdateScript()
-
-