[
https://issues.apache.org/jira/browse/MYFACES-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705783#comment-13705783
]
Werner Punz edited comment on MYFACES-3728 at 7/11/13 1:20 PM:
---------------------------------------------------------------
>From an Ajax code POV:
The problem with primefaces generally is, they omit the jsf.ajax.request call
and run their own code, so the problem there clearly lies within Primefaces, I
cannot fix the code for them. I do not dare to change the code so that @none is
sent on render to the server, since we got a bugreport regarding this a while
ago, and I had to be more spec compliant. In my opinion the spec is pretty
clear here, @all is sent to the server, @none sends nothing and is omitted.
Primefaces clearly breaks the spec there with their own implementation of
jsf.ajax.request.
However what theoretically would be possible would be that the server side code
handles an optionally sent @none properly, Leo any comments on this.
was (Author: werpu):
The problem with primefaces generally is, they omit the jsf.ajax.request
call and run their own code, so the problem there clearly lies within
Primefaces, I cannot fix the code for them. I do not dare to change the code so
that @none is sent on render to the server, since we got a bugreport regarding
this a while ago, and I had to be more spec compliant. In my opinion the spec
is pretty clear here, @all is sent to the server, @none sends nothing and is
omitted. Primefaces clearly breaks the spec there with their own implementation
of jsf.ajax.request.
> "javax.faces.partial.execute=@none" still process "javax.faces.source"
> component
> --------------------------------------------------------------------------------
>
> Key: MYFACES-3728
> URL: https://issues.apache.org/jira/browse/MYFACES-3728
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.1.10
> Reporter: Thomas Andraschko
>
> i found a weird issue that if i use p:ajax on inputText with process="@none",
> the InputTextRenderer#decode method will be still invoked.
> This works fine with f:ajax in myfaces and mojarra.
> p:ajax only works expected on mojarra.
> The only difference i found is, that p:ajax sends the
> "javax.faces.partial.execute" param and f:ajax not.
> Here is a list with the post params (without my inputs):
> PrimeFaces:
> javax.faces.ViewState=N%2F6uUZMB9%2BPXSBTJVus5p6rncWDWwUAgQ9UIOweKuerVM0Z7
> javax.faces.partial.ajax=true
> javax.faces.source=xxx
> javax.faces.partial.execute=%40none
> javax.faces.partial.render=%40none
> javax.faces.behavior.event=change
> javax.faces.partial.event=change
> form_SUBMIT=1
> MyFaces:
> javax.faces.ViewState=EHCQlskNw%2BLXSBTJVus5pyzjdxWpT%2B72t7rvnK11Nffi10%2Bl
> javax.faces.partial.ajax=true
> javax.faces.source=xxx
> javax.faces.behavior.event=change
> javax.faces.partial.event=change
> javax.faces.windowId=2cc
> form_SUBMIT=1
> form=form
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira