org.richfaces.javascript

## Interface ClientScriptService

-     public interface ClientScriptService

  This interface describes service that determines JavaScript module and function for Java corresponded version ( both Converter and Validator )

  Author:
    asmirnov@exadel.com

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `LibraryFunction` | `getScript(javax.faces.context.FacesContext facesContext, Class<?> javaClass)` Get description for client-side version of Java implementation

- - ### Method Detail

    - #### getScript

          LibraryFunction getScript(javax.faces.context.FacesContext facesContext,
                                  Class<?> javaClass)
                                    throws ScriptNotFoundException

      Get description for client-side version of Java implementation

      Parameters:
        `facesContext` - TODO
        `javaClass` - either Converter or Validator class.
      Returns:
        description of client-side script.
      Throws:
        `ScriptNotFoundException` - if no JavaScript code associated with Java class.

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.