/** * Compute the courier update html element id for the main panel - add "." and other names for inner panels. * * @param toolId * The tool (portlet) id. * @return The courier update html element id for the main panel. */ public static String mainPanelUpdateId(String toolId) { // TODO: who should be responsible for "Main" here? It's a Portal thing... -ggolden return Validator.escapeJavascript("Main" + toolId); } // mainPanelUpdateId
/** * Compute the courier update html element id for the title panel. * * @param toolId * The tool (portlet) id. * @return The courier update html element id for the title panel. */ public static String titlePanelUpdateId(String toolId) { // TODO: who should be responsible for "Title" here? It's a Portal thing... -ggolden return Validator.escapeJavascript("Title" + toolId); } // titlePanelUpdateId
/** * Compute the courier update html element id for the main panel - add "." and other names for inner panels. * * @param toolId * The tool (portlet) id. * @return The courier update html element id for the main panel. */ public static String mainPanelUpdateId(String toolId) { // TODO: who should be responsible for "Main" here? It's a Portal thing... -ggolden return Validator.escapeJavascript("Main" + toolId); } // mainPanelUpdateId
/** * Compute the courier update html element id for the title panel. * * @param toolId * The tool (portlet) id. * @return The courier update html element id for the title panel. */ public static String titlePanelUpdateId(String toolId) { // TODO: who should be responsible for "Title" here? It's a Portal thing... -ggolden return Validator.escapeJavascript("Title" + toolId); } // titlePanelUpdateId