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-2666) Getting a full-page-refresh when running JSF's Ajax on the Trinidad 2 (trunk)
Date Wed, 21 Apr 2010 13:03:51 GMT

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

Werner Punz commented on MYFACES-2666:
--------------------------------------

Ok I did some investigation, the ajax post ist clearly not a partial trigger in the sense
of being a jsf partial submit within the spec

_noJavaScript	false
event	autosub
itxt	Change this text
j_id_id105	
javax.faces.ViewState	!-99z18o1pd
org.apache.myfaces.trinid...	j_id_id4
pSub_button	
partial	true
reset	
selOne	0
source	rb2
theGroup	rb2

In reality the identifier for a partial submit is (section: 14.2.4 of the specification)

javax.faces.partial.ajax true
This is also not even remotely close to what I saw on the branch, where this data
came in conjunction with the jsf.ajax.request emitted data.


So the server has no chance to see that request as a standard JSF request, but yet
the RI delivers a partial response, while MyFaces fails here.

What probably happens is that trinidad on the server side turns the request around to a ppr
request one way or the other
which in that case only works on the ri side (maybe a slight variance in the behavior somewhere)


One thing I also noticed is following:
jsf.js is not included on the page, neither on the myfaces nor on Trinidads side.
I will do further testing on the codebase now by switching over to MyFaces and to manually
included javascript files for jsf.js



> Getting a full-page-refresh when running JSF's Ajax on the Trinidad 2 (trunk)
> -----------------------------------------------------------------------------
>
>                 Key: MYFACES-2666
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2666
>             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.


Mime
View raw message