<?xml version="1.0"?> | |
<!-- | |
Copyright 2007 The Apache Software Foundation | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<module id="tapestry.js" version="4.0.0" package="org.apache.tapestry.javascript"> | |
Module for javascript support. | |
<service-point id="JavascriptManager"> | |
Manages javascript files of 3rd party libraries. | |
<invoke-factory> | |
<construct class="JavascriptManagerImpl"> | |
<set-service property="assetSource" service-id="tapestry.asset.AssetSource"/> | |
<set property="files" value="classpath:/dojo-0.4.3-custom-4.1.6/dojo.js"/> | |
<set property="formFiles" value="classpath:/dojo-0.4.3-custom-4.1.6/dojo2.js"/> | |
<set property="widgetFiles" value="classpath:/dojo-0.4.3-custom-4.1.6/dojo3.js"/> | |
<set property="folder" value="classpath:/dojo-0.4.3-custom-4.1.6/"/> | |
<set property="tapestryFile" value="classpath:/tapestry-4.1.6/core.js"/> | |
<set property="tapestryFolder" value="classpath:/tapestry-4.1.6/"/> | |
</construct> | |
</invoke-factory> | |
</service-point> | |
</module> |