myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] Commented: (MYFACES-2666) Getting a full-page-refresh when running JSF's Ajax on the Trinidad 2 (trunk)
Date Wed, 21 Apr 2010 11:51:49 GMT


Werner Punz commented on MYFACES-2666:

Ok I found one problem, when I tried to include the script files manually first the resource
el resolution failed

	<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>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/_util/_HtmlStripper.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_Exception.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_AjaxUtils.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_AjaxRequestQueue.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_AjaxRequest.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_AjaxResponse.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/xhrCore/_xhrCoreAdapter.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/_impl/core/jsf_impl.js"></script>
            <script type="text/javascript" src="/trinidad-demo/resources/js/myfaces/api/jsf.js"></script>

resolved in the final html 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"
            <script src="/trinidad-demo/resources/js/myfaces/_impl/util/_Utils.js"  type="text/javascript"

Which prevented firefox to load more than _LangUtils.js due to the text/javascript being moved
to the last position in the tag.
Somehow firebug goes haiwire over issuing the script tag the way the code is rendered.
This might also be the problem why I did not see the jsf.js include at my first test.

> Getting a full-page-refresh when running JSF's Ajax on the Trinidad 2 (trunk)
> -----------------------------------------------------------------------------
>                 Key: MYFACES-2666
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0
>            Reporter: Matthias We├čendorf
> Running "pprDemos.jspx" page and triggering any ajax action, we see a full-page-refresh
> (tested with TRUNK of MyFaces2)
> Check out Trinidad trunk and change the pom.xml to take myfaces => 2.0.1-SNAPSHOT
instead of the beta-3
> go to trinidad-examples/trinidad-demo and trigger "mvn clean jetty:run -PjettyConfig"
> Now point a browser to this URL:
> http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx

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

View raw message