[ 
https://issues.apache.org/jira/browse/XAP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467992
 ] 

Turyn, Michael commented on XAP-280:
------------------------------------

Oh, and
<blockquote>"Even when there is no onKeyDown listener on the node. 
"</blockquote>
----that's because the writeBack occurs for every key down, listener present or 
not---it's the only way to make absolutely sure that the HTML DOM element (a 
text node) stays in synch with the  XAL DOM elementt's  "text" attribute.

> Widgets: TextArea: Non-existent function error when typing in textArea
> ----------------------------------------------------------------------
>
>                 Key: XAP-280
>                 URL: https://issues.apache.org/jira/browse/XAP-280
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> I've only seen this error in the textArea component test
> Open the textArea component test and type in the text area. Every time you 
> press a key, this error will be thrown:
> xap.xml.dom.Document.createTextNode is not a function
> Even when there is no onKeyDown listener on the node.
> The error comes from the last line in this block of code from xapcore.js
> xap.taghandling.AbstractTagImpl.prototype.writeBackTextNode=function(_4f9){
>     var _4fa=this.getElement();
>     _4fa.removeStructureChangeListener(this);
>     var _4fb=_4fa.firstChild;
>     if(!_4fb){
>         _4fa.appendChild(xap.xml.dom.Document.createTextNode(_4f9));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to