ClientConverter: add api's to load custom js libs and built in trinidad js
--------------------------------------------------------------------------

                 Key: ADFFACES-117
                 URL: http://issues.apache.org/jira/browse/ADFFACES-117
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Gabrielle Crawford


I would like to add these method to ClientConverter and ClientValidator, which 
should allow getting rid of InternalClientConverter and 
InternalClientValidator, which are in impl. 

The first method is used to load a custom js lib. 

 
  /**
   * Gets the URI specifying the location of the js lib resource.
   * Only the first reference to a library will result in its being imported.
   */
  public String getClientLibrarySource(
   FacesContext context);


This method is used to load built-in js scripts, and should return the same 
information that would be used in the importScript's "names" attribute 
component. See
http://incubator.apache.org/adffaces/tagdoc/af_importScript.html
 
  /**
   * Supports importing the built-in scripts provided by ADF Faces. 
   * It can be used to ensure that a Javascript function is available 
   * before using it in a Javascript handler. 
   * Only the first reference to a script will result in its being imported.
   * @return a collection of function names
   */
  public Collection<String> getClientImportNames();   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to