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

Turyn, Michael resolved XAP-280.
--------------------------------

    Resolution: Fixed

Revision 500135.
xap.taghandling.AbstractTagImpl :
Changed
     xap.xml.dom.Document.createTextNode(...) 
to 
    this.getUiDocument().createTextNode(...).

As best as I understand JS  prototype chaining, createTextNode() is a method on 
google.XDocument instances, and so is inherited by xap.xml.dom.Document 
instances, not by the constructor itself.




> 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