Do we need this or should we just deprecate trh:script and recommend f:outputScript?
On Tue, Oct 27, 2009 at 4:28 PM, Matthias Wessendorf <[email protected]> wrote: > Hi, > > there are some new standard tags that are going to register resources > with the <tr:document>, > once these tasks are committed/implemented: > > https://issues.apache.org/jira/browse/TRINIDAD-1610 > https://issues.apache.org/jira/browse/TRINIDAD-1611 > > Should we add similar support to our existing tags? > > Today something like > <trh:script source="#{resource['foo.js']}" /> > > renders inline. Maybe we should give the page author the "right" to > *target* this to head (or form or body) ? > We also could leverage the new terminology of name="foo.js" and > library="corp" (which would be similar > to #{resource['corp:foo.js']}. > > What do you think ? > > -Matthias > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf >
