[jsr-314-open] eval of inline scripts

Jim Driscoll Jim.Driscoll at Sun.COM
Wed Aug 19 17:13:12 EDT 2009


I've filed spec bug 616, eval of inline scripts.

Currently, the specification doesn't require that <script> tags get 
evaluated during update or insert operations on the client, nor does it 
specify how they be evaluated if they are included.

Right now, the RI doesn't eval these included scripts - but we plan to 
do so, as does MyFaces.  Given that this behavior was the default for 
many "legacy" JSF Ajax solutions, I think that's the general user 
expectation as well.

Although there is a eval operation in the XML schema, this is 
unfortunately insufficient - renderers for custom components, for 
instance, will already be wrapped in an update operation, and cannot 
easily do a separate eval operation in the RI.

Just wanted to give warning to anyone who may be relying on us *not* 
doing script eval that's it's going in for FCS, as well as making the 
case for it's inclusion in the next rev of the spec.

Jim




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