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

Michael Mikhaylov commented on XAP-517:
---------------------------------------

My understanding is that adding, removing or changing value of "text" attribute 
should have NO effect on TextArea. Correct?

> Widgets: TextArea: TextArea value cannot really be changed without "text" 
> attribute
> -----------------------------------------------------------------------------------
>
>                 Key: XAP-517
>                 URL: https://issues.apache.org/jira/browse/XAP-517
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: TextField / TextArea / PasswordField
>            Reporter: Trevor Oldak
>         Attachments: mcoJS.js, textAreaTest.xal
>
>
> Open the attached example.
> The textarea has the following XAL:
> <textArea id="myTextArea">foo</textArea>
> 1) Click "Read textValue' null is returned.
> 2) Click "Read nodeValue. 'foo' is returned.
> 3) Click 'Set nodeValue' - The text does not change. It should.
> 4) Click 'Read nodeValue'. - The correct nodeValue is output
> 5) Click 'Read textValue' - null is still printed.
> 6) Set the textValue. The value changes, even though the text attribute has 
> been technically removed.
> 7) Read textValue. This outputs the correct value, which is fine since we  
> accept non-schema attributes.
> 8) Read nodeValue. This is now wrong.

-- 
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