ICEfaces-EE Core 3.3.0.GA_P05
Java API Documentation

org.icefaces.util
Class JavaScriptRunner

java.lang.Object
  extended by org.icefaces.util.JavaScriptRunner

public class JavaScriptRunner
extends java.lang.Object

Utility API for evaluating Javascript code on the client.


Constructor Summary
JavaScriptRunner()
           
 
Method Summary
static java.lang.String collateScripts(javax.faces.context.FacesContext context)
           
static java.lang.String escapeJavaScript(java.lang.String str)
           
static void runScript(javax.faces.context.FacesContext context, java.lang.String script)
          Send immediately Javascript code to the client for evaluation and execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptRunner

public JavaScriptRunner()
Method Detail

runScript

public static void runScript(javax.faces.context.FacesContext context,
                             java.lang.String script)
Send immediately Javascript code to the client for evaluation and execution.

Parameters:
context - the current FacesContext
script - the Javascript code

collateScripts

public static java.lang.String collateScripts(javax.faces.context.FacesContext context)

escapeJavaScript

public static java.lang.String escapeJavaScript(java.lang.String str)

ICEfaces-EE Core 3.3.0.GA_P05
Java API Documentation

Copyright 2017 ICEsoft Technologies Canada, Corp. All Rights Reserved.