-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Liferay Faces Alloy / Showcase / Tests, Liferay Faces Util
-
Labels:None
The following constants and methods com.liferay.faces.util.render.RendererUtil can be moved to an internal class (perhaps a new class named AlloyRendererUtil)in liferay-faces-alloy.jar since that is the only module that references them:
public static final String[] MOUSE_DOM_EVENTS = { "onclick", "ondblclick", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup" }; public static final String[] KEYBOARD_DOM_EVENTS = { "onkeydown", "onkeypress", "onkeyup" }; public static void addDefaultAjaxBehavior(ClientBehaviorHolder clientBehaviorHolder, String execute, String process, String defaultExecute, String render, String update, String defaultRender); public static void encodePassThroughAttributes(ResponseWriter responseWriter, UIComponent uiComponent, final String[] PASS_THROUGH_ATTRIBUTES) throws IOException; public static String escapeJavaScript(String javaScript); private static String toHexString(int i); private static Collection<String> getExecuteIds(String execute, String process, String defaultValue); private static Collection<String> getRenderIds(String render, String update, String defaultValue);