jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Add public API constants for "jsf.js" and "javax.faces"

From: Kito Mann <kito.mann_at_virtua.com>
Date: Thu, 28 Jul 2016 06:32:09 -0400

+1

___

Kito D. Mann | @kito99 | Author, JSF in Action
Web Components, Polymer, JSF, PrimeFaces, Java EE, and Liferay training and
consulting
Virtua, Inc. | virtua.tech
JSFCentral.com | @jsfcentral | knowesis.io
<http://knowesis.io/web/webcomponents> - fresh Web Components info
+1 203-998-0403

* Listen to the Enterprise Java Newscast: *http://
<http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
<http://ww.enterprisejavanews.com>*


On Fri, Jul 22, 2016 at 5:30 AM, Bauke Scholtz <balusc_at_gmail.com> wrote:

> Hi,
>
> While working on
> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1404 I noticed
> the strings "jsf.js" and "javax.faces" are littered throughout the API and
> impl.
>
> I propose to make them public API constants in ResourceHandler class like
> below.
>
> /**
> * <p class="changed_added_2_3">
> * Resource name of JSF script resource.
> * </p>
> *
> * @since 2.3
> */
> public static final String JSF_SCRIPT_RESOURCE_NAME = "jsf.js";
>
>
> /**
> * <p class="changed_added_2_3">
> * Library name of JSF script resource.
> * </p>
> *
> * @since 2.3
> */
> public static final String JSF_SCRIPT_LIBRARY_NAME = "javax.faces";
>
>
> I created https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1428
> on this. If there are no objections, I will take care of it.
>
> Cheers, B
>