users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] [jsr344-experts] Re: [1142-ResourceLibraryContracts] config options: property name, time and location (was: [971-MultiTemplate])

From: Frank Caputo <frank_at_frankcaputo.de>
Date: Mon, 12 Nov 2012 20:26:22 +0100

Hi Leonardo,

Am 12.11.2012 um 19:23 schrieb Leonardo Uribe <lu4242_at_gmail.com>:

>>> CONDITIONALLY_RESOLVED: Define a read-only property located on
>>> UIViewRoot whose type is List<String>. Specify that if it is not set,
>>> it must return an empty List. This property is accessible by doing
>>> FacesContext.getViewRoot().getResourceLibraryContracts().
>>
>> OK.
>>
>
> +1. Just remember each string should have the following structure:
>
> [contract-library-name]:[contract-resource-prefix]
>
> For example
>
> my.custom.resourceLibraryContract:implA
>
> and so on.

I thought the contractLibraryName and resourcePrefix is the same.

Ciao Frank