On Tue, Apr 20, 2010 at 6:40 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
On Tue, Apr 20, 2010 at 7:59 AM, Matthias Wessendorf mat...@apache.org
wrote:
on the pprDemos.jspx stuff, there is a bunch of tests for PPR,
one of the has the header Command components with partialSubmit,
Yes, the -Djsf=ri profile works (with the know exception),
but default profile (with temporary using MyFaces 2.0.1-SNAPSHOT), I do get
a full-page-refresh. See MYFACES-2666
-Matthias
On Tue, Apr 20, 2010 at 6:40 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
On Tue, Apr 20, 2010 at
can you file a jira issue ?
On Mon, Apr 19, 2010 at 7:37 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
_ajaxOldDomElements is code in Page.js, this looks like a bug in
Trinidad that needs to be fixed
On Fri, Apr 9, 2010 at 8:52 AM, Matthias Wessendorf mat...@apache.org wrote:
On Mon, Apr 19, 2010 at 11:58 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
The branch is ready and the issues that were brought up in this thread
as well as other issues have been resolved. Unless there are any
objections, I will merge the changes into the trunk tomorrow.
fine here.
Ok, looks like you are talking about JSF2's JS/Ajax stuff.
The term mojarra is slightly confusing, since I understand it
as a specific dependency to that particular implementation.
But looks like we do not have that, for the ajax stuff, which is
great.
-Matthias
On Tue, Apr 20, 2010 at 9:05
Checked Mojarra 2.0.1 and MyFaces 2.0.0 (out soon)
- both have the NPE filed in TRINIDAD-1786
* Mojarra:
-PPR on select* works (exception see above)
- Command components with partialSubmit does _not_ work
* MyFaces:
- all PPR stuff does a full page-refresh
I am fine in merging these bits to
Btw. thanks guys for the effort, I think the tests also were a
good indicator about the state of our javascripts.
Which looked quite good btw.
The main issues I have seen so far were on the spec level.
We really need a queue control mechanism on the spec level and
a timeout as well, hanging xhr
Sorry
- all PPR stuff does a full page-refresh
wasn´t that a caching
issue on the browsers side, because I was investigating that problem
and could not reproduce it.
Werner
Am 20.04.10 09:26, schrieb Matthias Wessendorf:
Checked Mojarra 2.0.1 and MyFaces 2.0.0 (out soon)
- both have the NPE
Matthias,
What do you mean when you say 'command components with partialSubmit
do not work'?
Thanks,
Max
On Apr 20, 2010, at 3:26 AM, Matthias Wessendorf mat...@apache.org
wrote:
Checked Mojarra 2.0.1 and MyFaces 2.0.0 (out soon)
- both have the NPE filed in TRINIDAD-1786
* Mojarra:
on the pprDemos.jspx stuff, there is a bunch of tests for PPR,
one of the has the header Command components with partialSubmit, which
does not work (in the trinidad demo)
File (in SVN) is located there:
Also, are you using JSF RI? MyFaces is known to be bad with Ajax.
On 04/20/2010 08:50 AM, Max Starets wrote:
Hey Matthias,
This works for me:
http://adc2100180.us.oracle.com:7101/trinidad-demo-context-root/faces/demos/pprDemos.jspx
Are you seeing any errors? Is request showing up in Firebug
Am 20.04.10 17:00, schrieb Andrew Robinson:
Also, are you using JSF RI? MyFaces is known to be bad with Ajax.
Ouch that hit me personally, because I and others spent a load of hours
to make
the our javascripts as good as possible as the spec allowed (with the
help of some others).
Actually
Ok I did a testing on the RI the links do not work as well, but wont
even go into the xhr part (I will add a fix here to be coherent to the
RI in our scripts)
what happens is that the links trigger an error
jsf.ajax.request: source not set
throw new Error(jsf.ajax.request: source not set);
Hello Andrew,
on my tryouts I used both, see here:
http://markmail.org/message/onwsrqwfhu7ai67e
-Matthias
On Tue, Apr 20, 2010 at 5:00 PM, Andrew Robinson
andrew.robin...@oracle.com wrote:
Also, are you using JSF RI? MyFaces is known to be bad with Ajax.
On 04/20/2010 08:50 AM, Max Starets
Werner, sorry for the short reply on that email, the tone probably
sounded bad. There are state saving problems when using MyFaces.
Unfortunately it is bad enough to make it completely non-functional as
all PPR post backs fail to restore the state from what I have seen. We
have no such errors when
I can see this page failing with JS errors in chrome. I'll have a look
On Tue, Apr 20, 2010 at 7:59 AM, Matthias Wessendorf mat...@apache.org wrote:
on the pprDemos.jspx stuff, there is a bunch of tests for PPR,
one of the has the header Command components with partialSubmit, which
does not
Hello Andrew,
the problem below is already fixed in the up-coming release, which I used to
verify this.
Let's merge your branch to trunk and work on it to get these other (minor)
things fixed.
On Tue, Apr 20, 2010 at 6:09 PM, Andrew Robinson
andrew.rw.robin...@gmail.com wrote:
Werner, sorry
Hi Andrew, here is the ticket:
https://issues.apache.org/jira/browse/MYFACES-2641
Looks like just a ticket for the _ajaxOldDomElements is missing, right ?
http://markmail.org/message/tcoi36bneeultdx2
-Matthias
On Tue, Apr 20, 2010 at 6:16 PM, Matthias Wessendorf mat...@apache.org wrote:
On Tue, Apr 20, 2010 at 7:59 AM, Matthias Wessendorf mat...@apache.org wrote:
on the pprDemos.jspx stuff, there is a bunch of tests for PPR,
one of the has the header Command components with partialSubmit, which
does not work (in the trinidad demo)
Works fine for me using -Djsf=ri2 except for
Actually Command components with partialSubmit works for me on both
implementations.
What does not work for me on both implementations is
Command components with partialSubmit going to another page.
Werner
Am 20.04.10 18:40, schrieb Andrew Robinson:
On Tue, Apr 20, 2010 at 7:59 AM, Matthias
Werner,
__handlePprResponseAction() is meant to update the action URL on the form
(this is what old Trinidad PPR always did). It's not supposed to do
navigation.
Max
Werner Punz wrote:
Am 20.04.10 17:00, schrieb Andrew Robinson:
Also, are you using JSF RI? MyFaces is known to be bad with
Werner,
I will look into the navigation issue. The expected behavior with
Trinidad in this case
is a redirect.
Max
Werner Punz wrote:
Actually Command components with partialSubmit works for me on both
implementations.
What does not work for me on both implementations is
Command
Werner,
With the latest build, I can see the navigation happening with no issues
when you choose Go to Trinidad demos home page
on pprDemos.jspx. The response contains the following:
?xml version=1.0 encoding=utf-8?
partial-responseredirect
Ajax branch has been merged into the trunk. We'll keep hammering away
on the problems that were found (most JSF2, not AJAX related) so we
can hopefully stabilize the code for a release in the not too distant
future.
Ok then the issue is fixed, the redirect response looks ok to me.
I will update tomorrow and will fix the missing no source error
on my side so that we get the same behavior on both mojarra
and myfaces regarding null sources.
Werner
Am 20.04.10 20:42, schrieb Max Starets:
Werner,
With the
Am 20.04.10 21:22, schrieb Andrew Robinson:
Ajax branch has been merged into the trunk. We'll keep hammering away
on the problems that were found (most JSF2, not AJAX related) so we
can hopefully stabilize the code for a release in the not too distant
future.
Hey Andrew sounds good, and feel
_ajaxOldDomElements is code in Page.js, this looks like a bug in
Trinidad that needs to be fixed
On Fri, Apr 9, 2010 at 8:52 AM, Matthias Wessendorf mat...@apache.org wrote:
looks like the 2.0.1 are just labeled as Mojarra 2.0.2 (SNAPSHOT 20091204)
I now updated the pom to 2.0.2 and got this
The branch is ready and the issues that were brought up in this thread
as well as other issues have been resolved. Unless there are any
objections, I will merge the changes into the trunk tomorrow.
Note that Max added a switch to be able to turn off PPR through JSF at
the agent level so that
Hi,
when I (using the 2.0.0) navigate to this page
http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx
I get a full page reload on every click.
= works with Mojarra.
-Matthias
On Fri, Apr 9, 2010 at 2:55 PM, Matthias Wessendorf mat...@apache.org wrote:
damn cache :-)
I closed the issue
On Wed, Apr 14, 2010 at 3:26 PM, Matthias Wessendorf mat...@apache.org wrote:
Hi,
when I (using the 2.0.0) navigate to this page
http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx
I get a full page reload on every click.
= works with Mojarra.
hi,
I gave it a quick try. Here are my results:
Page:
http://localhost:8080/trinidad-demo/faces/demos/clientBehaviorHolder.xhtml
JSF_RI (Mojarra 2.0.2 (SNAPSHOT 20091204)) results:
I entered some text and clicked submit via JSF Ajax
Got this (in an alert JS box):
httpError: The Http Transport
I now checked this page:
http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx
MYFACES_SNAPSHOT: =
on any ajax action/click, I get these two alert() boxes:
* TypeError: this._ajaxOldDomElements is null
* malformedXML--
== I will file a bug against MyFaces
JSF RI (2.0.2):
== fine
https://issues.apache.org/jira/browse/MYFACES-2654
On Fri, Apr 9, 2010 at 2:52 PM, Matthias Wessendorf mat...@apache.org wrote:
I now checked this page:
http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx
MYFACES_SNAPSHOT: =
on any ajax action/click, I get these two alert()
Matthias,
Are you getting the same results with Mojarra 2.0.1?
Max
Matthias Wessendorf wrote:
hi,
I gave it a quick try. Here are my results:
Page:
http://localhost:8080/trinidad-demo/faces/demos/clientBehaviorHolder.xhtml
JSF_RI (Mojarra 2.0.2 (SNAPSHOT 20091204)) results:
I entered
eh, funny.
the pom is actually configured with 2.0.1.
Something is going wrong here :-)
On Fri, Apr 9, 2010 at 4:15 PM, Max Starets max.star...@oracle.com wrote:
Matthias,
Are you getting the same results with Mojarra 2.0.1?
Max
Matthias Wessendorf wrote:
hi,
I gave it a quick try.
looks like the 2.0.1 are just labeled as Mojarra 2.0.2 (SNAPSHOT 20091204)
I now updated the pom to 2.0.2 and got this log:
INFO: Initializing Mojarra 2.0.2 (FCS b10)
But the error is the same on the clientBehaviorHolder.xhtml page
-Matthias
On Fri, Apr 9, 2010 at 4:33 PM, Matthias Wessendorf
Just a few minor additions -
- PartialViewContext.isAjaxRequest() will be returning true for the
requests sent with jsf ajax
as well as the legacy partialSubmit=true requests.
- Trinidad's partial triggers will be honored for the jsf ajax requests.
However, this will currently work only with
Well after a bit of work, the JSF2 AJAX branch is ready for testing to
see if we want to merge it into the trunk.
Branch:
https://svn.apache.org/repos/asf/myfaces/trinidad/branches/jsf2_ajax.3
Details:
- jsf.ajax.request used to submit PPR requests from the request queue
- server serves JSF2
38 matches
Mail list logo