myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] Commented: (MYFACES-2654) Trinidad ajax-branch does not work with MyFaces2
Date Fri, 09 Apr 2010 14:27:50 GMT


Werner Punz commented on MYFACES-2654:

Just a minor sidenote, to debug this out on the client side here is a little helper,
drop the expanded scripts into the webapp under resources/js and then include it in following
                <script type="text/javascript" src="#{resource['js:myfaces/_impl/_util/_LangUtils.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/_util/_ListenerQueue.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/_util/_Utils.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/_util/_HtmlStripper.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_Exception.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_AjaxUtils.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_AjaxRequestQueue.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_AjaxRequest.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_AjaxResponse.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/xhrCore/_xhrCoreAdapter.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/_impl/core/jsf_impl.js']}"/>
                <script type="text/javascript" src="#{resource['js:/myfaces/api/jsf.js']}"/>
That includes the expanded scripts which are easier to debug than the compressed ones

> Trinidad ajax-branch does not work with MyFaces2
> ------------------------------------------------
>                 Key: MYFACES-2654
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-3
>         Environment: Trinidad ajax branch, URL:
> MyFaces TRUNK
>            Reporter: Matthias We├čendorf
> run the demo (like via Jetty):
> Go to "http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx"
> on any "ajax" action/click, I get these two alert() boxes:
> * "TypeError: this._ajaxOldDomElements is null"
> * "malformedXML--"
> Same stuff works with Mojarra 2.0.2

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

View raw message