Hi,

I'm proposing two new methods for ClientConverter and ClientValidator in issue 17. Please let me know if there are comments or objections?

https://issues.apache.org/jira/browse/ADFFACES-117

Thanks,

Gabrielle

-------------------------------------------------------------

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);


Th method below 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();

Reply via email to