public interface ClientScriptService
This interface describes service that determines JavaScript module and function for Java corresponded version ( both Converter and Validator )
Modifier and Type | Method and Description |
---|---|
LibraryFunction |
getScript(javax.faces.context.FacesContext facesContext,
Class<?> javaClass)
Get description for client-side version of Java implementation |
LibraryFunction getScript(javax.faces.context.FacesContext facesContext, Class<?> javaClass) throws ScriptNotFoundException
Get description for client-side version of Java implementation
facesContext
- TODOjavaClass
- either Converter or Validator class.ScriptNotFoundException
- if no JavaScript code associated with Java class.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.