Hi, I have a table containing several rows. Some of these rows need only to be shown in certain cases. So I have:
This was working in orbeon 3.6 but seems to be broken in orbeon 3.7
In attachement you will find a working sandbox example:
<<table.xhtml>>
Thanks, Antoine -- 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 table.xhtml (12K) Download Attachment |
Administrator
|
Antoine,
I don't see "Value 3 - TR in Group in SwitchCase1 (test-group = 0)". Upon loading, I see: * case1 * Value 2 - TR in Group in SwitchCase1 (test-group = 1) * Value 2 - TR in Group (test-group = 1) If I deselect the checkbox, this becomes: * case1 -Erik On Jun 15, 2009, at 9:28 AM, <Antoine.DE- [hidden email]> <[hidden email] > wrote: > Hi, > > I have a table containing several rows. Some of these rows need only > to be shown in certain cases. > > So I have: > <xforms:group ref=".[my-test]"> > <xhtml:tr> > … > </xhtml:tr> > </xforms:group> > > This was working in orbeon 3.6 but seems to be broken in orbeon 3.7 > Is this really a bug or am I doing something wrong. > > In attachement you will find a working sandbox example: > In it you will see that row "Value 3 - TR in Group in SwitchCase1 > (test-group = 0)" should not be displayed. > > <<table.xhtml>> > If you could correct this or show me a workaround it would be nice > as this is one of the last issues we have migrating to 3.7.1 > > Thanks, > > > Antoine > > <table.xhtml> > -- > 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Eric,
When I load the file in http://www.orbeon.com/ops/xforms-sandbox/ Here is what I see (attachement) I have the same result in IE and chrome. Antoine -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] Sent: Tuesday, June 16, 2009 3:27 AM To: [hidden email] Subject: [ops-users] Re: Problem with TR inside a group Antoine, I don't see "Value 3 - TR in Group in SwitchCase1 (test-group = 0)". Upon loading, I see: * case1 * Value 2 - TR in Group in SwitchCase1 (test-group = 1) * Value 2 - TR in Group (test-group = 1) If I deselect the checkbox, this becomes: * case1 -Erik On Jun 15, 2009, at 9:28 AM, <Antoine.DE- [hidden email]> <[hidden email] > wrote: > Hi, > > I have a table containing several rows. Some of these rows need only > to be shown in certain cases. > > So I have: > <xforms:group ref=".[my-test]"> > <xhtml:tr> > … > </xhtml:tr> > </xforms:group> > > This was working in orbeon 3.6 but seems to be broken in orbeon 3.7 > Is this really a bug or am I doing something wrong. > > In attachement you will find a working sandbox example: > In it you will see that row "Value 3 - TR in Group in SwitchCase1 > (test-group = 0)" should not be displayed. > > <<table.xhtml>> > If you could correct this or show me a workaround it would be nice > as this is one of the last issues we have migrating to 3.7.1 > > Thanks, > > > Antoine > > <table.xhtml> > -- > 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Administrator
|
You are using 3.7.1, right?
-Erik On Jun 16, 2009, at 12:38 AM, <Antoine.DE- [hidden email]> <[hidden email] > wrote: > Eric, > > When I load the file in http://www.orbeon.com/ops/xforms-sandbox/ > Here is what I see (attachement) > I have the same result in IE and chrome. > > > Antoine > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] > Sent: Tuesday, June 16, 2009 3:27 AM > To: [hidden email] > Subject: [ops-users] Re: Problem with TR inside a group > > Antoine, > > I don't see "Value 3 - TR in Group in SwitchCase1 (test-group = 0)". > Upon loading, I see: > > * case1 > * Value 2 - TR in Group in SwitchCase1 (test-group = 1) > * Value 2 - TR in Group (test-group = 1) > > If I deselect the checkbox, this becomes: > > * case1 > > -Erik > > On Jun 15, 2009, at 9:28 AM, <Antoine.DE- > [hidden email]> <[hidden email] >> wrote: > >> Hi, >> >> I have a table containing several rows. Some of these rows need only >> to be shown in certain cases. >> >> So I have: >> <xforms:group ref=".[my-test]"> >> <xhtml:tr> >> … >> </xhtml:tr> >> </xforms:group> >> >> This was working in orbeon 3.6 but seems to be broken in orbeon 3.7 >> Is this really a bug or am I doing something wrong. >> >> In attachement you will find a working sandbox example: >> In it you will see that row "Value 3 - TR in Group in SwitchCase1 >> (test-group = 0)" should not be displayed. >> >> <<table.xhtml>> >> If you could correct this or show me a workaround it would be nice >> as this is one of the last issues we have migrating to 3.7.1 >> >> Thanks, >> >> >> Antoine >> >> <table.xhtml> >> -- >> 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 for the Enterprise Done the Right Way > http://www.orbeon.com/ > > <table.jpg><table_unchecked.jpg> > -- > 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Yes, the online version
Antoine -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] Sent: Tuesday, June 16, 2009 8:02 PM To: [hidden email] Subject: [ops-users] Re: RE: Re: Problem with TR inside a group You are using 3.7.1, right? -Erik On Jun 16, 2009, at 12:38 AM, <Antoine.DE- [hidden email]> <[hidden email] > wrote: > Eric, > > When I load the file in http://www.orbeon.com/ops/xforms-sandbox/ > Here is what I see (attachement) > I have the same result in IE and chrome. > > > Antoine > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] > Sent: Tuesday, June 16, 2009 3:27 AM > To: [hidden email] > Subject: [ops-users] Re: Problem with TR inside a group > > Antoine, > > I don't see "Value 3 - TR in Group in SwitchCase1 (test-group = 0)". > Upon loading, I see: > > * case1 > * Value 2 - TR in Group in SwitchCase1 (test-group = 1) > * Value 2 - TR in Group (test-group = 1) > > If I deselect the checkbox, this becomes: > > * case1 > > -Erik > > On Jun 15, 2009, at 9:28 AM, <Antoine.DE- > [hidden email]> <[hidden email] >> wrote: > >> Hi, >> >> I have a table containing several rows. Some of these rows need only >> to be shown in certain cases. >> >> So I have: >> <xforms:group ref=".[my-test]"> >> <xhtml:tr> >> … >> </xhtml:tr> >> </xforms:group> >> >> This was working in orbeon 3.6 but seems to be broken in orbeon 3.7 >> Is this really a bug or am I doing something wrong. >> >> In attachement you will find a working sandbox example: >> In it you will see that row "Value 3 - TR in Group in SwitchCase1 >> (test-group = 0)" should not be displayed. >> >> <<table.xhtml>> >> If you could correct this or show me a workaround it would be nice >> as this is one of the last issues we have migrating to 3.7.1 >> >> Thanks, >> >> >> Antoine >> >> <table.xhtml> >> -- >> 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 for the Enterprise Done the Right Way > http://www.orbeon.com/ > > <table.jpg><table_unchecked.jpg> > -- > 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Administrator
|
Antoine,
This is happening because you have a case around a group around a tr, and because the HTML we generate has to be flat, the CSS for the enabled case override the CSS for the disabled group, while you'd like to have the opposite. I added a bug for this: http://forge.ow2.org/tracker/index.php?func=detail&aid=313921&group_id=168&atid=350207 But this is not trivial to fix, so as a workaround you can put a tbody between the case and group, so those are not all at the same level. (And having multiple tbody inside a table is OK in HTML.). See here a modified version of your example that does just that: case-group.xhtml Alex |
Thanks a lot Alex, The most annoying is the FireFox case
... This is all working fine with Orbeon 3.6. In Firefox on first load
everything is OK but after unchecking and rechecking the checkbox the table gets
messed up In Internet Explorer
In Chrome
-- 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 |
Administrator
|
Antoine,
For reference, I posted a work-around for this issue on: http://www.nabble.com/Problem-with-%3Cxforms%3Agroup%3E-inside-a-Table-with-3.7.1-tp24207940p25375174.html Alex |
Free forum by Nabble | Edit this page |