[ 
https://issues.apache.org/jira/browse/XAP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468367
 ] 

Trevor Oldak commented on XAP-183:
----------------------------------

New sample code fixes MCO and remote request issues:

xal test code:

<xal xmlns="http://openxal.org/ui/html";>
    <data:documentDataSource xmlns:data="http://openxal.org/core/data"; 
id="newsSource"
        source="tabletest.xml"/>
    <verticalBoxPane align="start" height="800px">
        <label height="20px" text="BBC News Feed" fontSize="12px"/>
        <table width="980px" height="600px">
            <column>
                <header text="Title" width="770px"/>
            </column>
            <column>
                <header text="Date" width="190px"/>
            </column>
            <data:iterator xmlns:data="http://openxal.org/core/data"; 
dataSource="newsSource"
                type="ONE_WAY" name="newsTable" select="rss/channel/item">
                <row xmlns="http://openxal.org/ui/html"; cursor="hand">
                    <cell myLink="{*('link')}" 
onMouseUp="mco:testMCO.browseTo(event)" text="{*('description')}"/>
                    <cell text="{*('pubDate')}"/>
                </row>
            </data:iterator>
        </table>
    </verticalBoxPane>
</xal>





rss code to put in tabletest.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" 
href="/shared/bsp/xsl/rss/nolsol.xsl"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/";>
<channel>
    <title>BBC News | News Front Page | World Edition</title>
    <link>http://news.bbc.co.uk/go/rss/-/2/hi/default.stm</link>
    <description>Visit BBC News for up-to-the-minute news, breaking news, 
video, audio and feature stories. BBC News provides trusted World and UK news 
as well as local and regional perspectives. Also entertainment, business, 
science, technology and health news.</description>
    <language>en-gb</language>
    <lastBuildDate>Mon, 29 Jan 2007 18:23:58 GMT</lastBuildDate>
    <copyright>Copyright: (C) British Broadcasting Corporation, see 
http://news.bbc.co.uk/2/hi/help/rss/4498287.stm for terms and conditions of 
reuse</copyright>
    <docs>http://www.bbc.co.uk/syndication/</docs>
    <ttl>15</ttl>
    <image>
        <title>BBC News</title>
        <url>http://news.bbc.co.uk/nol/shared/img/bbc_news_120x60.gif</url>
        <link>http://news.bbc.co.uk/go/rss/-/2/hi/default.stm</link>
    </image>
    <item>
        <title>African snub to Sudan over Darfur</title>
        <description>Sudan&apos;s President Omar al-Bashir is again bypassed in 
his bid to become African Union chairman because of Darfur.</description>
        <link>http://news.bbc.co.uk/go/rss/-/2/hi/africa/6310025.stm</link>
        <guid 
isPermaLink="false">http://news.bbc.co.uk/2/hi/africa/6310025.stm</guid>
        <pubDate>Mon, 29 Jan 2007 16:38:52 GMT</pubDate>
        <category>Africa</category>
    </item>
    <item>
        <title>The Green Room</title>
        <description>Animal cloning can deliver environmental benefits to 
developing nations, this week&apos;s Green Room argues.</description>
        
<link>http://news.bbc.co.uk/go/rss/-/2/hi/science/nature/6300797.stm</link>
        <guid 
isPermaLink="false">http://news.bbc.co.uk/2/hi/science/nature/6300797.stm</guid>
        <pubDate>Thu, 25 Jan 2007 22:51:59 GMT</pubDate>
        <category>Science/Nature</category>
    </item>
</channel>
</rss>

> Table: Data in column cells overflows into ajacent cells when the data is 
> loaded asynchronously
> -----------------------------------------------------------------------------------------------
>
>                 Key: XAP-183
>                 URL: https://issues.apache.org/jira/browse/XAP-183
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>         Environment: Mozilla
>            Reporter: Rob Gagne
>            Priority: Critical
>         Attachments: bug_3.png
>
>
> If loaded when the table is constructed, the column expands to the data.  If 
> loaded asynchronously the column width does not change, but the data 
> overflows.
> The correct behavior is probably to truncate the display of the data with 
> "..." or something.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to