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 "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org> on 2007/12/12 23:21:43 UTC
[jira] Updated: (XAP-551) Widgets: Table: Table doesn't render
correctly when inserted into freePane
[ https://issues.apache.org/jira/browse/XAP-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Mikhaylov updated XAP-551:
----------------------------------
Attachment: FreePanel.js
Attached update to FreePanel.js fixes the issue.
> Widgets: Table: Table doesn't render correctly when inserted into freePane
> --------------------------------------------------------------------------
>
> Key: XAP-551
> URL: https://issues.apache.org/jira/browse/XAP-551
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Layouts, Widgets: Table/Tree/TreeTable, XModify
> Reporter: Trevor Oldak
> Attachments: FreePanel.js
>
>
> Run the following xal. The appended table will not show up in the freePane, only its border. One possible workaround is to put the table inside a container such as a horizontalBoxPane
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
> <documentDataSource
> xmlns="http://openxal.org/core/data"
> id="foo"
> source="foo.xml"
> />
> <macro:macro xmlns:macro="http://openxal.org/core/macro" id="addMultiRow">
> <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
> <xm:remove-element select="//table"/>
> <xm:append select="//freePane">
> <table width="100px" height="100px" x="70px" y="20px">
> <column><header text="bar"/></column>
> <row>
> <cell text="foo"/>
> </row>
> </table>
> </xm:append>
> </xm:modifications>
> </macro:macro>
> <freePane width="500px" height="300px" id="testComponentFreePane">
> <button text="add" onCommand="macro:addMultiRow.execute()" x="0px" y="0px"/>
> </freePane>
> </xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.