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 "Rob Gagne (JIRA)" <xa...@incubator.apache.org> on 2006/12/02 18:30:20 UTC

[jira] Created: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously
-----------------------------------------------------------------------------------------------

                 Key: XAP-183
                 URL: http://issues.apache.org/jira/browse/XAP-183
             Project: XAP
          Issue Type: Bug
          Components: Widgets
         Environment: Mozilla
            Reporter: Rob Gagne
            Priority: Critical


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/XAP-183?page=all ]

Rob Gagne updated XAP-183:
--------------------------

    Attachment: bug_3.png

> Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously
> -----------------------------------------------------------------------------------------------
>
>                 Key: XAP-183
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

RE: [jira] Updated: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by Trevor Oldak <TO...@nexaweb.com>.
I closed the issue, it's fixed. I just wanted to put in the code I used
to test it. It's the same as Rob's code, except with a local xml file
since XmlHttpRequest can't request files from servers other than the one
that hosted their javascript.

-----Original Message-----
From: Michael Turyn [mailto:MTuryn@nexaweb.com] 
Sent: Monday, January 29, 2007 2:51 PM
To: xap-dev@incubator.apache.org
Subject: RE: [jira] Updated: (XAP-183) Table: Data in column cells
overflows into ajacent cells when the data is loaded asynchronously

Please construct and post a simplified example, say one using a button
and Xmodify to put in the longer string.

RE: [jira] Updated: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by Michael Turyn <MT...@nexaweb.com>.
Please construct and post a simplified example, say one using a button
and Xmodify to put in the longer string.

[jira] Updated: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-183:
-----------------------------

    Comment: was deleted

> 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.


[jira] Commented: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
    [ 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.


[jira] Commented: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/XAP-183?page=comments#action_12455127 ] 
            
Rob Gagne commented on XAP-183:
-------------------------------

Different problem in IE (using version 7).  I'm setting the column explicitly but the data is not going into the column I've set.  Screen shot attached.

Code for the XAL file.  This happens in quirks mode and non quirks mode.

<xal xmlns="http://openxal.org/ui/html">
  <data:documentDataSource xmlns:data="http://openxal.org/core/data" id="newsSource"
    source="http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml"/>
  <mco xmlns="http://openxal.org/core/mco" id="testMCO" src="DisplayUIDocument"/>
  <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>


> Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously
> -----------------------------------------------------------------------------------------------
>
>                 Key: XAP-183
>                 URL: http://issues.apache.org/jira/browse/XAP-183
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>         Environment: Mozilla
>            Reporter: Rob Gagne
>            Priority: Critical
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Gagne resolved XAP-183.
---------------------------

    Resolution: Fixed

This was fixed in 4.5.1

> 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.
-
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

        

[jira] Closed: (XAP-183) Table: Data in column cells overflows into ajacent cells when the data is loaded asynchronously

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak closed XAP-183.
----------------------------


> 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.