fr:datatable w/empty instance does not resize properly in Firefox

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

fr:datatable w/empty instance does not resize properly in Firefox

gino-m
Dear Orbeon team,

I noticed a bug (?) in the fr:datatable component; if the nodeset specified in repeat-nodeset is empty when the page is rendered, new elements added to the instance afterwards do not appear in the table.  They do get added to the HTML, but apparently the table is not resizing itself correctly.  This happens in Firefox only.  I am using @scrollable="vertical" and a fixed @height.

My workaround is place an empty element in the backing instance, which I delete before showing the table.  The table is embedded in a hidden dialog, so this is easy to do, albeit a kludge.  I tried deleting the row on xforms-model-construct, xforms-ready, and on the component's xforms-enabled event, but still had the same problem.

If you an isolated example let me know and I'll be happy to slice one up for you.  

HTH,
Gino
Gino Miceli
Forest Information Systems Specialist
Food and Agriculture Organization of the United Nations
FAO-Finland Cooperation Programme
Sustainable Forest Management in a Changing Climate
Forest Management Division, Rm. D-406
Viale delle Terme di Caracalla, s.n.c.
00153 Rome, Italy
http://www.fao.org/forestry
Reply | Threaded
Open this post in threaded view
|

Re: fr:datatable w/empty instance does not resize properly in Firefox

Alessandro  Vernet
Administrator
Gino,

Yes, it would be great if you could create a simple reproducible test
case that runs in the XForms sandbox for this.

Alex

On Wed, Mar 31, 2010 at 1:17 AM, gino-m <[hidden email]> wrote:

>
> Dear Orbeon team,
>
> I noticed a bug (?) in the fr:datatable component; if the nodeset specified
> in repeat-nodeset is empty when the page is rendered, new elements added to
> the instance afterwards do not appear in the table.  They do get added to
> the HTML, but apparently the table is not resizing itself correctly.  This
> happens in Firefox only.  I am using @scrollable="vertical" and a fixed
> @height.
>
> My workaround is place an empty element in the backing instance, which I
> delete before showing the table.  The table is embedded in a hidden dialog,
> so this is easy to do, albeit a kludge.  I tried deleting the row on
> xforms-model-construct, xforms-ready, and on the component's xforms-enabled
> event, but still had the same problem.
>
> If you an isolated example let me know and I'll be happy to slice one up for
> you.
>
> HTH,
> Gino
>
> -----
>
> Gino Miceli
> Forestry Information Systems Specialist
>
> Food and Agriculture Organization of the United Nations
> FAO-Finland Cooperation Programme
> Sustainable Forest Management in a Changing Climate
> Forest Management Division, Rm. D-406
> Forestry Department
> Viale delle Terme di Caracalla, s.n.c.
> 00153 Rome, Italy
> Tel: +39 06 570.56765
> Fax: +39 06 570.55137
> Website: http://www.fao.org/forestry
>
> --
> View this message in context: http://n4.nabble.com/fr-datatable-w-empty-instance-does-not-resize-properly-in-Firefox-tp1746443p1746443.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet