ICEfaces Core 2.0.2
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 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)

ICEfaces Core 2.0.2
Java API Documentation

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