You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Vladimir Limansky (JIRA)" <ji...@apache.org> on 2009/03/20 14:10:03 UTC

[jira] Updated: (WW-3036) Unable override *.js files for struts module.

     [ https://issues.apache.org/struts/browse/WW-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Limansky updated WW-3036:
----------------------------------

    Attachment: struts_dojo.js.uncompressed.patch
                utils.patch

I added patch only for uncompressed version.

> Unable override *.js files for struts module.
> ---------------------------------------------
>
>                 Key: WW-3036
>                 URL: https://issues.apache.org/struts/browse/WW-3036
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.0
>         Environment: struts2-core-2.1.0.jar struts2-dojo-plugin-2.1.0.jar
>            Reporter: Vladimir Limansky
>         Attachments: struts_dojo.js.uncompressed.patch, utils.patch
>
>
> I need to 'override' some *.js file for bug fixing/adding new features.
> I managed successfully 'override' template *.ftl files by putting them into %WEB_MODULE_ROOT%/template dirrectory. But this does not work for *.js files.
> The paths I've tried:
> %WEB_MODULE_ROOT%\org\apache\struts2\static\utils.js 
> %WEB_MODULE_ROOT%\common\struts\utils.js
> %WEB_MODULE_ROOT%\struts\utils.js
> But it does not work i.e. browser still loads 'native' *.js file from struts2-core-2.1.0.jar\org\apache\struts2\static\utils.js 
> Is there any solution to override *.js files?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.