|
|
In SWF1.x you could use A4J lib to AJAX enable a component.Code:
lt;h:inputText value=quot;#{bean.field}quot;gt; lt;a4j:support event=quot;onkeyupquot; action=quot;searchquot;
reRender=quot;dataquot; requestDelay=quot;1500quot; eventsQueue=quot;myQueuequot;/gt;
lt;/h:inputTextgt;
In SWF2.x this results in a javascript error when triggering the AJAX request 'onkeyup'.
quot;ERROR 'A4J' is undefined
Is there an lt;sf/gt; wrapper tag similar to lt;sf:commandButton/gt; ?
Answer:
Code:
lt;sf:ajaxEvent event=quot;onkeyupquot; action=quot;searchquot; processIds=quot;*quot;gt; lt;h:inputText value=quot;quot;/gt;
lt;/sf:ajaxEventgt; |
|