[jsr-314-open] sendAjaxRequest is not defined?

David Geary clarity.training at GMAIL.COM
Mon May 25 22:16:35 EDT 2009


I have this:

<h:inputText value="#{user.name}"...>
  <f:ajax event="onkeyup" render="echo"/>
</h:inputText>
..
<h:outputText id="echo" value="#{user.name}"/>

That works fine. As I type in the input, whatever I type is echoed by the
output. But if I remove the event attribute, like this:

<h:inputText value="#{user.name}"...>
  <f:ajax render="echo"/>
</h:inputText>
..
<h:outputText id="echo" value="#{user.name}"/>

For the preceeding markup, nothing is echoed as I type, or when I tab out of
the field. In fact, the only thing that happens is that I get a JS error
that says "sendAjaxRequest is not defined".

Is this a bug?

I've attached a snapshot of the error in Firebug.

Thanks,


david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20090525/98e50052/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 005.png
Type: image/png
Size: 31587 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20090525/98e50052/attachment.png 


More information about the jsr-314-open-mirror mailing list