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/23 20:59:51 UTC
[jira] Created: (XAP-519) Widgets: Table: replace-children breaks
alternating row color
Widgets: Table: replace-children breaks alternating row color
-------------------------------------------------------------
Key: XAP-519
URL: https://issues.apache.org/jira/browse/XAP-519
Project: XAP
Issue Type: Bug
Components: Widgets: Table/Tree/TreeTable
Reporter: Trevor Oldak
Priority: Minor
Run the below xal and click the button to replace the rows in the table. The row colors will no longer alternate after the button is clicked.
<xal xmlns="http://openxal.org/ui/html">
<data:documentDataSource xmlns:data="http://openxal.org/core/data" id="data1" source="data.xml"/>
<macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:replace-children select="//table">
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</xm:replace-children>
</xm:modifications>
</macro:macro>
<rootPane>
<freePane width="1024px" height="768px">
<button height="25px" text="Button" width="100px" x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
<table height="200px" width="300px" x="20px" y="10px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
</freePane>
</rootPane>
</xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (XAP-519) Widgets: Table: replace-children breaks
alternating row color
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Oldak closed XAP-519.
----------------------------
Resolution: Fixed
> Widgets: Table: replace-children breaks alternating row color
> -------------------------------------------------------------
>
> Key: XAP-519
> URL: https://issues.apache.org/jira/browse/XAP-519
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Reporter: Trevor Oldak
> Priority: Minor
>
> Run the below xal and click the button to replace the rows in the table. The row colors will no longer alternate after the button is clicked.
> <xal xmlns="http://openxal.org/ui/html">
> <macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro">
> <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
> <xm:replace-children select="//table">
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> </row>
> </xm:replace-children>
> </xm:modifications>
> </macro:macro>
> <rootPane>
> <freePane width="1024px" height="768px">
> <button height="25px" text="Button" width="100px" x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
> <table height="200px" width="300px" x="20px" y="10px">
> <column>
> <header text="Column #1" width="100px"/>
> </column>
> <column>
> <header text="Column #2" width="100px"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> </row>
> </table>
> </freePane>
> </rootPane>
> </xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (XAP-519) Widgets: Table: replace-children breaks
alternating row color
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Oldak updated XAP-519:
-----------------------------
Description:
Run the below xal and click the button to replace the rows in the table. The row colors will no longer alternate after the button is clicked.
<xal xmlns="http://openxal.org/ui/html">
<macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:replace-children select="//table">
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</xm:replace-children>
</xm:modifications>
</macro:macro>
<rootPane>
<freePane width="1024px" height="768px">
<button height="25px" text="Button" width="100px" x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
<table height="200px" width="300px" x="20px" y="10px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
</freePane>
</rootPane>
</xal>
was:
Run the below xal and click the button to replace the rows in the table. The row colors will no longer alternate after the button is clicked.
<xal xmlns="http://openxal.org/ui/html">
<data:documentDataSource xmlns:data="http://openxal.org/core/data" id="data1" source="data.xml"/>
<macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:replace-children select="//table">
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</xm:replace-children>
</xm:modifications>
</macro:macro>
<rootPane>
<freePane width="1024px" height="768px">
<button height="25px" text="Button" width="100px" x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
<table height="200px" width="300px" x="20px" y="10px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
</freePane>
</rootPane>
</xal>
> Widgets: Table: replace-children breaks alternating row color
> -------------------------------------------------------------
>
> Key: XAP-519
> URL: https://issues.apache.org/jira/browse/XAP-519
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Reporter: Trevor Oldak
> Priority: Minor
>
> Run the below xal and click the button to replace the rows in the table. The row colors will no longer alternate after the button is clicked.
> <xal xmlns="http://openxal.org/ui/html">
> <macro:macro xmlns:macro="http://openxal.org/core/macro" name="defaultMacro">
> <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
> <xm:replace-children select="//table">
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> </row>
> </xm:replace-children>
> </xm:modifications>
> </macro:macro>
> <rootPane>
> <freePane width="1024px" height="768px">
> <button height="25px" text="Button" width="100px" x="20px" y="230px" onCommand="macro:defaultMacro.execute()"/>
> <table height="200px" width="300px" x="20px" y="10px">
> <column>
> <header text="Column #1" width="100px"/>
> </column>
> <column>
> <header text="Column #2" width="100px"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> </row>
> </table>
> </freePane>
> </rootPane>
> </xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.