You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org> on 2006/08/08 18:09:14 UTC
[jira] Created: (ADFFACES-117) ClientConverter: add api's to load
custom js libs and built in trinidad js
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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Summary: ClientConverter, ClientValidator: add api's to load custom js libs and built in trinidad js (was: ClientConverter: add api's to load custom js libs and built in trinidad js)
> ClientConverter, ClientValidator: 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: ssnConverter.js
added apache license to top
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Adam Winer updated ADFFACES-117:
--------------------------------
Status: Resolved (was: Patch Available)
Resolution: Fixed
Applied patch - thanks Gabrielle!
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: (was: patch117.patch)
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: patch117.patch
I created a dir for some demo js I wrote, but the patch won't let me include things in a new dir, will upload separately.
> ClientConverter, ClientValidator: 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
> Attachments: patch117.patch
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: ssnConverter.js
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: (was: passwordValidator.js)
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: passwordValidator.js
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Simon Lessard updated ADFFACES-117:
-----------------------------------
Attachment: ADFFACES-117_Java_5.patch
Added Java 5 standard.
> ClientConverter, ClientValidator: 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
> Attachments: ADFFACES-117_Java_5.patch, passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Status: Patch Available (was: Open)
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: passwordValidator.js
please let me know if there's a better way to do this, these js files need to go in a new dir named "jsLibs" in:
trinidad\trinidad-demo\src\main\webapp
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: (was: ssnConverter.js)
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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
[jira] Updated: (ADFFACES-117) ClientConverter, ClientValidator:
add api's to load custom js libs and built in trinidad js
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/ADFFACES-117?page=all ]
Gabrielle Crawford updated ADFFACES-117:
----------------------------------------
Attachment: patch117.patch
new version of patch which also updates the client validation dev guide doc
> ClientConverter, ClientValidator: 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
> Attachments: passwordValidator.js, patch117.patch, ssnConverter.js
>
>
> 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