change of attribute order in plain jsp view description language mode on both
the ri and myfaces
------------------------------------------------------------------------------------------------
Key: TRINIDAD-1793
URL: https://issues.apache.org/jira/browse/TRINIDAD-1793
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 2.0.0-alpha-2
Environment: OSX, MyFaces 2.0, Mojarra
Reporter: Werner Punz
While investigating https://issues.apache.org/jira/browse/MYFACES-2666
I ran into following bug, the demo application was in plain jsp mode, with
facelets turned off by
a misconfiguration by the demo.
I added manual html javascript includes into the page to include my js files
manually:
(body or head, same behavior)
<script type="text/javascript"
src="/trinidad-demo/resources/js/myfaces/_impl/_util/_LangUtils.js"></script>
<script type="text/javascript"
src="/trinidad-demo/resources/js/myfaces/_impl/_util/_ListenerQueue.js"></script>
<script type="text/javascript"
src="/trinidad-demo/resources/js/myfaces/_impl/_util/_Utils.js"></script>
Trinidad changed the rendering of this at the generated html code to:
<script src="/trinidad-demo/resources/js/myfaces/_impl/util/LangUtils.js"
type="text/javascript"></script>
<script
src="/trinidad-demo/resources/js/myfaces/_impl/util/_ListenerQueue.js"
type="text/javascript"></script>
<script
src="/trinidad-demo/resources/js/myfaces/_impl/util/_Utils.js"
type="text/javascript" ></script>
by exchanging the src and type positions which then caused firebug to fail to
load the scripts
a)
<script type="text/javascript"
src="/trinidad-demo/resources/js/myfaces/_impl/_util/_LangUtils.js"><!--
--></script>
I am not sure if Trinidad is at fault here or the JSP engine of Jetty since
Trinidad does
some ResponseWriter magic of its own.
The error occurred both on the Mojarra and MyFaces
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.