I tried using Ajax4JSF but the datascrollers and sortheaders stopped working as soon as I put the datatable in an ajax-rendered zone. Therefore, I had to abandon it. I couldn't get any help on that either.
I will look at the rest of the resources. Thanks a lot for replying.
Regards,
Aneesha
On 10/31/06, Craig McClanahan <
[EMAIL PROTECTED]> wrote:
On 10/31/06, Aneesha Govil <[EMAIL PROTECTED]> wrote:Hi,
Can anyone give me links to any resources/examples on Ajax with JSF using the PhaseListener approach. I found it on the J2EE Blueprints but they work only with Java EE 5. I am using myfaces 1.1.4 (J2EE 1.4). Does this approach work with that too? Please give me some links/resources.
In addition to the other references people have given, you might want to look at the Remoting feature in Shale[1]. It includes a built-in phase listener that tries to do all the hard stuff so you don't have to, and an extensible Processor architecture so you can plug in your own processing logic.
One important factor is that Shale Remoting assumes you do *not* need access to the JSF component tree for the original page (thus eliminating the overhead of saving and restoring it), or even that the client be a JSF page at all. If you need that, you might want to look at Ajax4JSF[2] or Dynamic Faces[3]. But, if you just need an easy way to hook incoming requests to back end business logic, and like the ability to use JSF's managed beans and _expression_ evaluation capabilities, Remoting might be useful to you.
(Incidentally, Shale Remoting is what many of the Blueprints AJAX components are using under the covers to acccess static resources, or connect to server side event handlers.)
Craig
[1] http://shale.apache.org/shale-remoting/
[2] https://ajax4jsf.dev.java.net/
[3] https://jsf-extensions.dev.java.net/Any help is appreciated.
Thanks a lot.
Regards,
Aneesha

