myfaces-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/MYFACES-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855413#action_12855413
] 

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
order
<trh:head>
                <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']}"/>
       </trh:head>
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: https://issues.apache.org/jira/browse/MYFACES-2654
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-3
>         Environment: Trinidad ajax branch, URL: https://svn.apache.org/repos/asf/myfaces/trinidad/branches/jsf2_ajax.3/
> 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.


Mime
View raw message