Here is the description of my specific problem:
I got the datatable, sortheaders and datascroller working with Tomahawk. Then I was trying to ajaxify the table loading on the basis of a drop down. The table loads with ajax perfectly however, the datascroller and sort headers in it have stopped working. Is this a known issue? Does tomahawk not work with Ajax4jsf?
Can anyone help me look into how to make this work?
Tell me if you need more details/code to be able to help.
Thanks a lot.
Regards,
Aneesha
Annesha,
I use the datatable with datascroller and a4j.
I spent a lot of time to get this running and I had to patch the datatable and the datascroller.
What is your specific problem ?
(I don't have the beginning of this thread)
Michael
From: Aneesha Govil [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 1. November 2006 06:02
To: MyFaces Discussion
Subject: Re: JSF and ajax using phaselistener approach
Hi Craig,
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,
AneeshaOn 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

