This is a repost. But I didn’t include all the
info the first time – so here goes again… I have an issue where the ‘control label’ shows
up for a non-existing node. I let the user insert an optional node (which
comes from another instance). But its label (not the text area) appears
before they insert it. The strange part is that this is part of a
repeat. The first node behaves correctly but when the repeat inserts additional
nodes, the label appears when it should not. According to the Orbeon Documentation, “if the node
is not relevant the control isn't be displayed at all; if the control is bound
to a non-existing node, the control is considered non-relevant and is not
displayed”. Working Example: http://128.148.7.210:8080/ops/editor/ Code: http://dl.lib.brown.edu/mwp/xforms/mods1.2.title.html Instructions: The
Correct Behavior: 1. The
SubTitle does not appear at first. 2. To the
right under Optional, click “Add SubTitle” 3. The
SubTitle appears. 4. This is
the way it should work The Incorrect Behavior: 1. On the top
click “Add Additional Title” 2. A second node
is added 3. However,
under Title text box the “Sub-title:” label incorrectly
appears. 4. Delete it
and the label diappears. 5. I believe
this is a bug. Thanks, Mike -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I've observed a similar problem with labels for groups in a repeat when new instance data is inserted. I had been assuming that the problem was with groups, but apparently it affects other labels too.
When the repeat contains a group which is non-relevant (because it has a ref to a non-existent node in the instance data) both the label and the content of the group are hidden, as they should be, for repeats which were initially present in the instance data. However, when new instances are inserted the label for the group gets displayed even though the contents of the group are hidden.
I've attached a simple sample which shows the incorrect behaviour in the sandbox on the www.orbeon.com server (running version 3.5.1.200704011438).
Cheers,
Dave Mc
>>> "Park, Michael" <[hidden email]> 21/09/2007 7:21 a.m. >>>
This is a repost. But I didn’t include all the info the first time – so here goes again… I have an issue where the ‘control label’ shows up for a non-existing node. I let the user insert an optional node (which comes from another instance). But its label (not the text area) appears before they insert it. The strange part is that this is part of a repeat. The first node behaves correctly but when the repeat inserts additional nodes, the label appears when it should not. According to the Orbeon Documentation, “if the node is not relevant the control isn't be displayed at all; if the control is bound to a non-existing node, the control is considered non-relevant and is not displayed”. Working Example: http://128.148.7.210:8080/ops/editor/ Code: http://dl.lib.brown.edu/mwp/xforms/mods1.2.title.html Instructions: The Correct Behavior: 1. The SubTitle does not appear at first. 2. To the right under Optional, click “Add SubTitle” 3. The SubTitle appears. 4. This is the way it should work The Incorrect Behavior: 1. On the top click “Add Additional Title” 2. A second node is added 3. However, under Title text box the “Sub-title:” label incorrectly appears. 4. Delete it and the label diappears. 5. I believe this is a bug. Thanks, Mike -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws relevant-group-labels.xhtml (2K) Download Attachment |
Administrator
|
In reply to this post by Park, Michael
Mike,
On 9/20/07, Park, Michael <[hidden email]> wrote: > I have an issue where the 'control label' shows up for a non-existing node. > I let the user insert an optional node (which comes from another instance). > But its label (not the text area) appears before they insert it. The > strange part is that this is part of a repeat. The first node behaves > correctly but when the repeat inserts additional nodes, the label appears > when it should not. Thank you for the test case. I was able to reproduce the issue and added the bug below. Most likely this has been introduced while doing some other improvements recently, so this is one that we will want to fix quickly. http://forge.objectweb.org/tracker/index.php?func=detail&aid=307579&group_id=168&atid=350207 Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
This bug is now fixed.
-Erik Alessandro Vernet wrote: > Mike, > > On 9/20/07, Park, Michael <[hidden email]> wrote: >> I have an issue where the 'control label' shows up for a non-existing node. >> I let the user insert an optional node (which comes from another instance). >> But its label (not the text area) appears before they insert it. The >> strange part is that this is part of a repeat. The first node behaves >> correctly but when the repeat inserts additional nodes, the label appears >> when it should not. > > Thank you for the test case. I was able to reproduce the issue and > added the bug below. Most likely this has been introduced while doing > some other improvements recently, so this is one that we will want to > fix quickly. > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=307579&group_id=168&atid=350207 > > Alex > -- 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 |
Free forum by Nabble | Edit this page |