webtier@glassfish.java.net

Re: <f:ajax> not working at all ?

From: <webtier_at_javadesktop.org>
Date: Sun, 27 Jun 2010 23:56:55 PDT

OK, Problem solved ... I think ;)

The solution was to supply an execute parameter to the ajax component, reexecuting the inputText field.This helps running this example. But still I don´t know why it was not working ...

<h:panelGrid>
<h:inputText id="input" value="#{ajaxController.text}">
<f:ajax event="keyup" render="text" execute="input" />
</h:inputText>
<h:outputText id="text" value="#{ajaxController.text}" />
</h:panelGrid>
[Message sent by forum member 'danielbreitner']

http://forums.java.net/jive/thread.jspa?messageID=476077