[ http://issues.apache.org/struts/browse/SHALE-183?page=comments#action_39152 ] Andres Almiray commented on SHALE-183: --------------------------------------
Hi, just to let you know that there is a new release of Json-lib that covers several bugfixes and enhancements, in case you'll continue to use the library :-) > Shale Remoting doesn't support linking Javascript of popular javascript > libraries. > ---------------------------------------------------------------------------------- > > Key: SHALE-183 > URL: http://issues.apache.org/struts/browse/SHALE-183 > Project: Shale > Issue Type: Improvement > Components: Remoting > Reporter: Ed Burns > Fix For: TBD > > Attachments: shale-183-snapshot.tar.gz > > > I would like to have an enhancement to XhtmlHelper.linkJavascript() that > supported many different popular JavaScript libraries. For example, I'd like > to do something like: > getXhtmlHelper().linkJavascript(context, component, writer, > Mechanism.CLASS_RESOURCE, "dojo", "0.3.0"); > getXhtmlHelper().linkJavascript(context, component, writer, > Mechanism.CLASS_RESOURCE, "prototype", "1.4.0"); > getXhtmlHelper().linkJavascript(context, component, writer, > Mechanism.CLASS_RESOURCE, "scriptaculous", "1.6.1"); > And rest assured in the knowledge that the proper script elemnets will be > rendered out iff no-one else on this request has asked for these scripts to > be rendered. > If we make jMaki and jsf-extensions use this, then we can save a lot of code > and bandwidth. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
