You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2007/10/05 17:02:53 UTC

[jira] Updated: (XAP-517) Widgets: TextArea: TextArea value cannot really be changed without "text" attribute

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

Trevor Oldak updated XAP-517:
-----------------------------

    Attachment: mcoJS.js

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