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 "James Margaris (JIRA)" <xa...@incubator.apache.org> on 2007/02/16 02:15:05 UTC

[jira] Updated: (XAP-251) Changing the text of a label inside a horizontalFlowPane makes it vanish

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

James Margaris updated XAP-251:
-------------------------------

    Component/s:     (was: Widgets)
                 Layouts

> 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: Layouts
>            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.
-
You can reply to this email to add a comment to the issue online.