Sorry, the whole thing was my blunder. It's working fine now.<br><br><br>david<br><br>2009/5/26 Roger Kitain <span dir="ltr"><<a href="mailto:Roger.Kitain@sun.com">Roger.Kitain@sun.com</a>></span><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">One thing that is wrong with your example (at least the code snippet below) is you need to specify:<br>
<f:ajax event="keyup".../> *not* event="onkeyup" (using logical names).<br>
Now... looking over the spec - specifically - Section 10.4.1.1 I don't see any mention of this. So, I'm adding it to the errata.<br>
Not sure how your example is working with "onkeyup".</blockquote><div><br>Sorry, that was a typo. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 08ex; padding-left: 1ex;">
<br>
when I remove the event attr , I'm not seeing your error. Is there anything more that you have in your page that I'm not<br>
seeing in your code snippet? Seems like the "chain" function is getting called per your firebug output.<br>
<br>
-roger </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
David Geary wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have this:<br>
<br>
<h:inputText value="#{<a href="http://user.name" target="_blank">user.name</a> <<a href="http://user.name" target="_blank">http://user.name</a>>}"...><div class="im"><br>
<f:ajax event="onkeyup" render="echo"/><br>
</h:inputText><br>
..<br></div>
<h:outputText id="echo" value="#{<a href="http://user.name" target="_blank">user.name</a> <<a href="http://user.name" target="_blank">http://user.name</a>>}"/><div class="im"><br>
<br>
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:<br>
<br></div>
<h:inputText value="#{<a href="http://user.name" target="_blank">user.name</a> <<a href="http://user.name" target="_blank">http://user.name</a>>}"...><div class="im"><br>
<f:ajax render="echo"/><br>
</h:inputText><br>
..<br></div>
<h:outputText id="echo" value="#{<a href="http://user.name" target="_blank">user.name</a> <<a href="http://user.name" target="_blank">http://user.name</a>>}"/><div class="im"><br>
<br>
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".<br>
<br>
Is this a bug?<br>
<br>
I've attached a snapshot of the error in Firebug.<br>
<br>
Thanks,<br>
<br>
<br>
david<br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
</blockquote>
</blockquote></div><br>