Hi All,
Although I am impressed by the overall stability of Orbeon (my compliments), I think I have found a bug when using nested repeats. Attached is an example showing this bug and can be run in the XForms sandbox. The problem occurs when inserting a Section element. An occurrence of the nested repeat is shown, which it is clearly not suppose to. Also note that the button which should be named "delete" has a value "$xforms-label-value$". I have tested this example on the Orbeon 3.5M, although I'm quite sure it also occurs in 3.0. BTW 1: this example runs correctly in Firefox using the XForms plugin (0.7) BTW 2: when using the XForms 1.1 insert with origin the same problem occurs. Greetings, Pepijn Noltes -- 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 nested-repeat.xhtml (2K) Download Attachment |
Pepijn,
The problem is happening because of the
[position() < last()] predicate on both repeats. This is clearly a bug,
but at least you have a work around, create a template instance and use origin
on the xforms:insert then you won't need that predicate any way
:-)
Ryan
Ryan
Puddephatt
-- 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 |
Ryan, thanks for the reaction.
I don't think the problem is related with the [position() < last()] predicate. The attached example shows that the problem still occurs when using xforms insert with a origin parameter. Greetings, Pepijn Noltes On 12/8/06, Ryan Puddephatt <[hidden email]> wrote:
-- 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 nested-repeat-context.xhtml (3K) Download Attachment |
Pepijn,
You've hit another bug, not sure why this one
is, but its seems to be because the <Section> doesn't have any
<Paragraph/> child elements.
Changing the template from
<Section/>
<Paragraph/>
to
<Section>
<Paragraph/>
</Section>
works fine
Erik/Alex any ideas on these two?
Hope this helps
Ryan
Ryan
Puddephatt
-- 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
|
In reply to this post by Pepijn Noltes-2
Pepijn,
This may be due to this bug: http://forge.objectweb.org/tracker/index.php?func=detail&aid=306456&group_id=168&atid=350207 I added your test case to that bug. -Erik Pepijn Noltes wrote: > Hi All, > > Although I am impressed by the overall stability of Orbeon (my > compliments), I think I have found a bug when using nested repeats. > Attached is an example showing this bug and can be run in the XForms > sandbox. > > The problem occurs when inserting a Section element. An occurrence of > the nested repeat is shown, which it is clearly not suppose to. Also > note that the button which should be named "delete" has a value > "$xforms-label-value$". > > I have tested this example on the Orbeon 3.5M, although I'm quite sure > it also occurs in 3.0. > > BTW 1: this example runs correctly in Firefox using the XForms plugin (0.7) > BTW 2: when using the XForms 1.1 insert with origin the same problem > occurs. > > Greetings, > Pepijn Noltes 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Pipijn,
This bug is now fixed. -Erik Erik Bruchez wrote: > Pepijn, > > This may be due to this bug: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=306456&group_id=168&atid=350207 > > > I added your test case to that bug. > > -Erik > > Pepijn Noltes wrote: >> Hi All, >> >> Although I am impressed by the overall stability of Orbeon (my >> compliments), I think I have found a bug when using nested repeats. >> Attached is an example showing this bug and can be run in the XForms >> sandbox. >> >> The problem occurs when inserting a Section element. An occurrence of >> the nested repeat is shown, which it is clearly not suppose to. Also >> note that the button which should be named "delete" has a value >> "$xforms-label-value$". >> >> I have tested this example on the Orbeon 3.5M, although I'm quite sure >> it also occurs in 3.0. >> >> BTW 1: this example runs correctly in Firefox using the XForms plugin >> (0.7) >> BTW 2: when using the XForms 1.1 insert with origin the same problem >> occurs. >> >> Greetings, >> Pepijn Noltes 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |