Login  Register

Problem with <xforms:group> inside a Table with 3.7.1

Posted by Murray M on Jun 25, 2009; 5:45pm
URL: https://discuss.orbeon.com/Problem-with-xforms-group-inside-a-Table-with-3-7-1-tp45168.html

Hi,

I have been experiencing some issues with using <xforms:group> inside a table. This used to be working in 3.6 and I have been seeing problems when I upgraded to 3.7.1. The problem seems to be in the formatting of the cells in the table. I have three rows that are conditionally shown in the table using <xforms:group>.
If I select the condition for the first group, the row displays correctly. However, If I enable the condition for a subsequent group, while keeping the first group disabled, then the formatting in the table becomes skewed to the left. If I enable the conditions in a linear fashion, first condition #1, then condition #2 and finally condition #3, then the table layout shows as expected.

There seemed to be a similar issue in a previous post referenced here:

href="http://www.nabble.com/Problem-with-TR-inside-a-group-td24038009.html#a24038009">http://www.nabble.com/Problem-with-TR-inside-a-group-td24038009.html#a24038009

I have tried the recommended workaround, but was unable to fix my problem in the same manner.

my page layout looks like the following:


<some input controls>


<xhtml:table>

    <xforms:group ref=[condition #1 controlled by controls above] >


    <xforms:group ref=[condition #2 controlled by controls above] >       <------ if either group 2,3 is                                  
                                                                                                            enabled before group 1
                                                                                                            then table layout is
                                                                                                            skewed
    <xforms:group ref=[condition #3 controlled by controls above] >

</xhtml:table>some_assessment.xhtml


I have attached a sample page which demonstrates this problem. This is reproducible running in the Orbeon Sandbox.