Hi Werner,
i'm a PrimeFaces commiter :)
We just wrap the PartialViewContext, we don't modify any logic here. The
original MyFaces PartialViewContext is used.
I think it would be no problem to fix it on our side and just remove the
request param but IMO if we send the request param with value @none,
nothing should be processed.
Regards,
Thomas
2013/5/27 Werner Punz werner.p...@gmail.com
Am 22.05.13 16:05, schrieb Thomas Andraschko:
Hi,
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%**2BPXSBTJVus5p6rncWDWwUAgQ9UIOw**
eKuerVM0Z7
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
Any idea? Or should i just raise an issue?
Thanks,
Thomas
Hi, to my knowledge Primefaces uses its own ajax cycle and does not
utilize jsf.ajax.request hence the difference.
Not sure why p:ajax works on mojarra though.
I would raise a bugreport on the Primefaces list and see what they have to
say, I dont think it is a myfaces issues, since you said it works fine with
f:ajax. (I fixed the @none issue a while ago in our codebase)
Werner