[
https://issues.apache.org/struts/browse/WW-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42391
]
Musachy Barroso commented on WW-2235:
-------------------------------------
The dojo plugin needs these files for validation, the way I see it there are
two ways of doing this:
1. always load the files on the dojo plugin (like now, duplicated request)
2. always load the files in the "head" tag on core (the files will be there
even if js validation is not used, I think this one is worse)
can't think of anything else :(
> Duplicate requests issued by browser
> ------------------------------------
>
> Key: WW-2235
> URL: https://issues.apache.org/struts/browse/WW-2235
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.0
> Environment: Firefox with the Firebug plugin
> Reporter: Benjamin McCann
> Assignee: Musachy Barroso
>
> /struts/xhtml/validation.js and /struts/utils.js are requested twice in the
> page below.
> <%@ taglib prefix="s" uri="/struts-tags"%>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Test</title>
> <sx:head />
> </head>
> <body>
> <s:form name="test" action="Test" validate="true">
> </s:form>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.