[jsr-314-open] [C036-ElInResources] Vote favors DefaultToOptOut

lincolnbaxter at gmail.com lincolnbaxter at gmail.com
Fri Oct 2 16:44:56 EDT 2009


ACTION: Please vote +1 or -1 on OPTION ELEvaluatedInCSSOnly 

+1


Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Ed Burns <Ed.Burns at Sun.COM>

Date: Fri, 02 Oct 2009 13:23:52 
To: <jsr-314-open at jcp.org>
Subject: [jsr-314-open] [C036-ElInResources] Vote favors DefaultToOptOut


First, let me say I think we need to quickly make a statement in the
ChangeLog about this because not having this feature, at least in CSS
resources, is a big shortcoming for Resource loading.  Note that Mojarra
currently does have this in *all* resources and I requested Ryan to make
it for just CSS CSS resources to provide a solution for Ted Goddard's
immediate problem regarding the prototype JavaScript library.

EB> OPTION DefaultToOptOut

EB> With this option, we modify Resource.getInputstream() to state that EL
EB> evaluation in Resource files is disabled by default.  For simplicity, I
EB> suggest the user convey their intention at a per-application granularity
EB> using a context-param.  

This was the most popular option, but no-one was in favor of the context
param; everyone that voted wanted a finer grain solution.  

AS> As Jim's email described, the caching behavior is intimately related to 
AS> the question of how to handle EL evaluation in resources.  I don't think 
AS> that these two discussions really are separate matters.

Yes, I see your point that they are related.  However, we chose to say
nothing about cache headers and resources in 2.0.  Therefore, I think
what we say about cache headers and resources should wait for the next
JCP release of JSF.  

On the other hand, as I said above, I think the absence of a way for
resources to refer to other resources is a missing feature.  I intended
to specify it in Resource.getInputStream(), but I failed to do so
through an error on my part.  Therefore, I'm going to place another
option on the table for inclusion in the ChangeLog.

OPTION ELEvaluatedInCSSOnly

With this option, we modify Resource.getInputStream() to state that EL
evaluation in CSS files is enabled by default.  We will state that care
must be taken by the user to ensure that the EL expression always
evaluates to the same thing across multiple requests.  We will state
that the user may decorate the ResourceHandler to get more flexibility.

ACTION: Please vote +1 or -1 on OPTION ELEvaluatedInCSSOnly 

Thanks,

Ed

-- 
| ed.burns at sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/


More information about the jsr-314-open-mirror mailing list