Mario Ivankovits schrieb:
Hi!
Mario, Could you please open jira issues on the defects you found during your work with
<s:pprPanelGroup>.
The problems I had previously were:

1) Sometimes ppr simply stopps working, a full page refresh will happen. Don't know how to reproduce it. Probably you could simply ignore that issue. 2) You need a way how to send the component h:messages together with the ppr response. In a4j you could wrap any component. These component are then fetched with ANY ajax request. This makes it VERY easy to have ajax submit by still being able to show the messages, even if a custom messagesRenderer is used (like we have here). 3) Support setting a new ViewRoot from within an ajax request. a4j also supports that. The ajax response will then be (I think aborted) and a full page refresh will happen. But hey, it was really cool once I discovered that this works at all.

More generally I have to say I find it way more harder to define all the client-side id's where the ppr should trigger than to simply setup a reRender attribute on any commandLink/commandButton. We found it much more natural to work that way then to configure triggerPatterns.

a4j also provides an easy way to have a status icon somewhere on the page which will appear on ajax-req-start and disappear (or whatever, just configure the facets) on ajax-req-stop.

The main question is, what is the target of our pprPanelGroup. If it is to be as comfortable as the other ppr implementations I think it needs much more work.


The main incentive was afair to get a ppr mechanism into tomahawk, it started as a gsoc project, ajax4jsf was back in those days semi usable.
Have in mind since then a lot has happend Sergeij took over the a4j code
and made it working and Trinidad then merged into myfaces having its own mechanism, and the Trinidad people added ajax to their iframe transport layer.

I am not sure if it really makes sense to get our ppr promoted
(That is Ernstl Fastls job to decide, he made the component and he still maintains it)
maybe it makes more sense to extrapolate the Trinidad ppr or add another
existing mechanism.

Reply via email to