Bjorn,

While they are similar in approach and capabilities, Ajax4jsf seems to be the most common choice for JSF users today. While, AjaxAnywhere works fine with JSF - indeed it was a common choice not too long ago - it is written for JSP in general. Today we have ajax4jsf, which is designed specifically for JSF. It just fits in nicer, I think.

Compare the following code snippets from thier example applications. Which one do you think would integrate more naturally with a JSF app? I chose ajax4jsf...

AjaxAnywhere
---------------------
Current server-side time is :
<aa:zone name="dateZone">
<%=new java.util.Date()%>
</aa:zone>
<input type="button"
       value="Refresh current server-side time"
       onclick="ajaxAnywhere.getAJAX('?','dateZone')">
---------------------

Ajax4jsf
---------------------
<h:outputText value="Type the Text:" />
<h:inputText size="50" value="#{bean.text}">
        <a4j:support event="onkeyup" reRender="repeater" />
</h:inputText>

<h:outputText value="Text in the AJAX Response:" />
<h:outputText id="repeater" value="#{bean.text}" />
---------------------

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Bjørn T Johansen wrote:
Any specific reasons?

BTJ

On Thu, 2 Nov 2006 14:05:04 +0200
"Cagatay Civici" <[EMAIL PROTECTED]> wrote:

In my opinion, definitely ajax4jsf.

On 11/2/06, Bjørn T Johansen <[EMAIL PROTECTED]> wrote:
Just wondering which one to choose...?


Regards,

BTJ

--

-----------------------------------------------------------------------------------------------
Bjørn T Johansen

[EMAIL PROTECTED]

-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange
Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

-----------------------------------------------------------------------------------------------






Reply via email to