Changing the text of a label inside a horizontalFlowPane makes it vanish
------------------------------------------------------------------------

                 Key: XAP-251
                 URL: https://issues.apache.org/jira/browse/XAP-251
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: James Margaris


If you dynamically change the text of a label in a horizontal flow pane in 
Mozilla/FF, the text just dissapears.

---

<xal xmlns="http://openxal.org/ui/html"; xmlns:mco="http://openxal.org/core/mco"; 
xmlns:macro="http://openxal.org/core/macro"; 
xmlns:xm="http://openxal.org/core/xmodify"; >

<macro:macro id="handler">      
        <xm:modifications>
        <xm:set-attribute select="id('myLabel')">
                        <xm:attribute name="text" value="Y"/>
                </xm:set-attribute>
        </xm:modifications>
</macro:macro>
    
    <horizontalFlowPane backgroundColor="#EEEEEE">
        
      <label richText="true"  id="myLabel" text="&lt;b&gt;label&lt;/b&gt;" 
borderWidth="1px" borderStyle="solid" borderColor="red"/>

    </horizontalFlowPane>


    
    <button id="myButton" text="button" 
onCommand="macro:handler.execute()"></button>
</xal>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to