Hi all, I have just got the latest nightly build and
noticed on of my XForms Repeats are not working correctly. My problem comes
with my second repeat, which is within the first. When completing the
submission it throws an exception in the JavaScript “Cannot find element
with id ‘repeat-begin-displayedPEAs.0’ when I look at the source it
shows that all the repeats have the id of ‘repeat-begin-displayedPEAs’
and no identification number Any ideas? Thanks Ryan Puddephatt Web Developer TFX Group Scotand EH54 7DP (
01506 407 110 7 01506 407 108 -- 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
|
Hi Ryan,
Would you be able to send us an example that shows this problem and that we could run in the XForms sandbox? Alex On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: > > > > Hi all, > > I have just got the latest nightly build and noticed on of my > XForms Repeats are not working correctly. My problem comes with my second > repeat, which is within the first. When completing the submission it throws > an exception in the JavaScript "Cannot find element with id > 'repeat-begin-displayedPEAs.0' when I look at the source it shows that all > the repeats have the id of 'repeat-begin-displayedPEAs' and no > identification number > > > > Any ideas? > > > > Thanks > > > > Ryan Puddephatt > > Web Developer > > TFX Group > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
I can't get one for the sandbox, because as soon as I hard code the XML into one page, there error doesn't appear! I've included an XPL and a XSL, the submission on in view.xsl calls /outstandingApprovals/Person/getPEAs so you'll need that in your page-flow! Firefox tends to bypass the error, but the page is useless afterward and continues to show as loading. IE makes a big deal about it and the debug shows the point in xforms.js that this occurs. This only seems to occur on nested XForms repeats. If its any help Doug didn't have the problem on Friday 6th Jan with the nightly build and he is having the same problem in his App Hope this helps Thanks Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 11 January 2006 01:25 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >Hi Ryan, > >Would you be able to send us an example that shows this problem and >that we could run in the XForms sandbox? > >Alex > >On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> Hi all, >> >> I have just got the latest nightly build and noticed on of my >> XForms Repeats are not working correctly. My problem comes with my second >> repeat, which is within the first. When completing the submission it >throws >> an exception in the JavaScript "Cannot find element with id >> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that >all >> the repeats have the id of 'repeat-begin-displayedPEAs' and no >> identification number >> >> >> >> Any ideas? >> >> >> >> Thanks >> >> >> >> Ryan Puddephatt >> >> Web Developer >> >> TFX Group >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 >> >> >> >> >> >> -- >> 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 >> >> >> > > >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ |
Administrator
|
Hi Ryan,
Your view is an XSL file. And it uses $taminoDocUrl which read your oxf:/config/tamino.xml. I don't have that file, so I can't run that XSL locally. Can you reproduce this bug by taking the output of that transformation, putting that in a static XML file and running that file in the XForms sandbox? (The XForms would still call the service implemented in getPEAs.xpl and declared the page flow.) If that would work, can you send me the XSL output? Alex On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: > Alex, > I can't get one for the sandbox, because as soon as I hard code the > XML into one page, there error doesn't appear! I've included an XPL and a > XSL, the submission on in view.xsl calls > /outstandingApprovals/Person/getPEAs so you'll need that in your page-flow! > > Firefox tends to bypass the error, but the page is useless afterward and > continues to show as loading. IE makes a big deal about it and the debug > shows the point in xforms.js that this occurs. This only seems to occur on > nested XForms repeats. If its any help Doug didn't have the problem on > Friday 6th Jan with the nightly build and he is having the same problem in > his App > > Hope this helps > > Thanks > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > >-----Original Message----- > >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro > >Vernet > >Sent: 11 January 2006 01:25 > >To: [hidden email] > >Subject: Re: [ops-users] Problems with Xforms Repeat > > > >Hi Ryan, > > > >Would you be able to send us an example that shows this problem and > >that we could run in the XForms sandbox? > > > >Alex > > > >On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: > >> > >> > >> > >> Hi all, > >> > >> I have just got the latest nightly build and noticed on of my > >> XForms Repeats are not working correctly. My problem comes with my second > >> repeat, which is within the first. When completing the submission it > >throws > >> an exception in the JavaScript "Cannot find element with id > >> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that > >all > >> the repeats have the id of 'repeat-begin-displayedPEAs' and no > >> identification number > >> > >> > >> > >> Any ideas? > >> > >> > >> > >> Thanks > >> > >> > >> > >> Ryan Puddephatt > >> > >> Web Developer > >> > >> TFX Group > >> > >> 1 Michaelson Square > >> > >> Livingston > >> > >> West Lothian > >> > >> Scotand > >> > >> EH54 7DP > >> > >> > >> > >> * [hidden email] > >> > >> ( 01506 407 110 > >> > >> 7 01506 407 108 > >> > >> > >> > >> > >> > >> -- > >> 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 > >> > >> > >> > > > > > >-- > >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > > > > > -- > 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 > > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
Sorry I forgot to remove this, I've removed and attached it again. I tried placing it in one file and running in the sandbox, or locally, but it works fine. It seems the problem is occurring on the return from a submission, so it will have to stay as two files. Sorry for the extra work. Ryan Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 12 January 2006 02:10 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >Hi Ryan, > >Your view is an XSL file. And it uses $taminoDocUrl which read your >oxf:/config/tamino.xml. I don't have that file, so I can't run that >XSL locally. Can you reproduce this bug by taking the output of that >transformation, putting that in a static XML file and running that >file in the XForms sandbox? (The XForms would still call the service >implemented in getPEAs.xpl and declared the page flow.) If that would >work, can you send me the XSL output? > >Alex > >On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >> Alex, >> I can't get one for the sandbox, because as soon as I hard code >the >> XML into one page, there error doesn't appear! I've included an XPL and a >> XSL, the submission on in view.xsl calls >> /outstandingApprovals/Person/getPEAs so you'll need that in your page- >flow! >> >> Firefox tends to bypass the error, but the page is useless afterward and >> continues to show as loading. IE makes a big deal about it and the debug >> shows the point in xforms.js that this occurs. This only seems to occur >on >> nested XForms repeats. If its any help Doug didn't have the problem on >> Friday 6th Jan with the nightly build and he is having the same problem >in >> his App >> >> Hope this helps >> >> Thanks >> >> Ryan Puddephatt >> Web Developer >> TFX Group >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >> >> >-----Original Message----- >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >Vernet >> >Sent: 11 January 2006 01:25 >> >To: [hidden email] >> >Subject: Re: [ops-users] Problems with Xforms Repeat >> > >> >Hi Ryan, >> > >> >Would you be able to send us an example that shows this problem and >> >that we could run in the XForms sandbox? >> > >> >Alex >> > >> >On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> >> >> >> >> Hi all, >> >> >> >> I have just got the latest nightly build and noticed on of >my >> >> XForms Repeats are not working correctly. My problem comes with my >second >> >> repeat, which is within the first. When completing the submission it >> >throws >> >> an exception in the JavaScript "Cannot find element with id >> >> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that >> >all >> >> the repeats have the id of 'repeat-begin-displayedPEAs' and no >> >> identification number >> >> >> >> >> >> >> >> Any ideas? >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> Web Developer >> >> >> >> TFX Group >> >> >> >> 1 Michaelson Square >> >> >> >> Livingston >> >> >> >> West Lothian >> >> >> >> Scotand >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> ( 01506 407 110 >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> You receive this message as a subscriber of the ops- >[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 >> >> >> >> >> >> >> > >> > >> >-- >> >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> >> >> >> >> -- >> 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 >> >> >> >> > > >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ |
Eric, Alex any ideas on this, more than half the pages we have developed for 3.0 use nested repeats and so we can not move onto the 3.0 release. thanks Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Ryan Puddephatt [mailto:[hidden email]] Sent: 17 January 2006 13:48 To: [hidden email] Subject: RE: [ops-users] Problems with Xforms Repeat Alex, Sorry I forgot to remove this, I've removed and attached it again. I tried placing it in one file and running in the sandbox, or locally, but it works fine. It seems the problem is occurring on the return from a submission, so it will have to stay as two files. Sorry for the extra work. Ryan Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 12 January 2006 02:10 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >Hi Ryan, > >Your view is an XSL file. And it uses $taminoDocUrl which read your >oxf:/config/tamino.xml. I don't have that file, so I can't run that >XSL locally. Can you reproduce this bug by taking the output of that >transformation, putting that in a static XML file and running that >file in the XForms sandbox? (The XForms would still call the service >implemented in getPEAs.xpl and declared the page flow.) If that would >work, can you send me the XSL output? > >Alex > >On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >> Alex, >> I can't get one for the sandbox, because as soon as I hard code >the >> XML into one page, there error doesn't appear! I've included an XPL and a >> XSL, the submission on in view.xsl calls >> /outstandingApprovals/Person/getPEAs so you'll need that in your page- >flow! >> >> Firefox tends to bypass the error, but the page is useless afterward and >> continues to show as loading. IE makes a big deal about it and the debug >> shows the point in xforms.js that this occurs. This only seems to occur >on >> nested XForms repeats. If its any help Doug didn't have the problem on >> Friday 6th Jan with the nightly build and he is having the same problem >in >> his App >> >> Hope this helps >> >> Thanks >> >> Ryan Puddephatt >> Web Developer >> TFX Group >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >> >> >-----Original Message----- >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >Vernet >> >Sent: 11 January 2006 01:25 >> >To: [hidden email] >> >Subject: Re: [ops-users] Problems with Xforms Repeat >> > >> >Hi Ryan, >> > >> >Would you be able to send us an example that shows this problem and >> >that we could run in the XForms sandbox? >> > >> >Alex >> > >> >On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> >> >> >> >> Hi all, >> >> >> >> I have just got the latest nightly build and noticed on of >my >> >> XForms Repeats are not working correctly. My problem comes with my >second >> >> repeat, which is within the first. When completing the submission it >> >throws >> >> an exception in the JavaScript "Cannot find element with id >> >> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that >> >all >> >> the repeats have the id of 'repeat-begin-displayedPEAs' and no >> >> identification number >> >> >> >> >> >> >> >> Any ideas? >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> Web Developer >> >> >> >> TFX Group >> >> >> >> 1 Michaelson Square >> >> >> >> Livingston >> >> >> >> West Lothian >> >> >> >> Scotand >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> ( 01506 407 110 >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> You receive this message as a subscriber of the ops- >[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 >> >> >> >> >> >> >> > >> > >> >-- >> >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> >> >> >> >> -- >> 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 >> >> >> >> > > >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
|
Doug and Ryan,
I managed to reproduce the problem, and I entered a bug to track this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=304545&group_id=168&atid=350207 -Erik Doug Young wrote: > Eric, Alex any ideas on this, more than half the pages we have developed for > 3.0 use nested repeats and so we can not move onto the 3.0 release. > > thanks > Doug > > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Ryan Puddephatt [mailto:[hidden email]] > Sent: 17 January 2006 13:48 > To: [hidden email] > Subject: RE: [ops-users] Problems with Xforms Repeat > > Alex, > Sorry I forgot to remove this, I've removed and attached it again. I > tried placing it in one file and running in the sandbox, or locally, but it > works fine. It seems the problem is occurring on the return from a > submission, so it will have to stay as two files. > > Sorry for the extra work. > > Ryan > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >> Vernet >> Sent: 12 January 2006 02:10 >> To: [hidden email] >> Subject: Re: [ops-users] Problems with Xforms Repeat >> >> Hi Ryan, >> >> Your view is an XSL file. And it uses $taminoDocUrl which read your >> oxf:/config/tamino.xml. I don't have that file, so I can't run that >> XSL locally. Can you reproduce this bug by taking the output of that >> transformation, putting that in a static XML file and running that >> file in the XForms sandbox? (The XForms would still call the service >> implemented in getPEAs.xpl and declared the page flow.) If that would >> work, can you send me the XSL output? >> >> Alex >> >> On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >>> Alex, >>> I can't get one for the sandbox, because as soon as I hard code >> the >>> XML into one page, there error doesn't appear! I've included an XPL and a >>> XSL, the submission on in view.xsl calls >>> /outstandingApprovals/Person/getPEAs so you'll need that in your page- >> flow! >>> Firefox tends to bypass the error, but the page is useless afterward and >>> continues to show as loading. IE makes a big deal about it and the debug >>> shows the point in xforms.js that this occurs. This only seems to occur >> on >>> nested XForms repeats. If its any help Doug didn't have the problem on >>> Friday 6th Jan with the nightly build and he is having the same problem >> in >>> his App >>> >>> Hope this helps >>> >>> Thanks >>> >>> Ryan Puddephatt >>> Web Developer >>> TFX Group >>> 1 Michaelson Square >>> Livingston >>> West Lothian >>> Scotand >>> EH54 7DP >>> >>> * [hidden email] >>> ( 01506 407 110 >>> 7 01506 407 108 >>> >>> >>>> -----Original Message----- >>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of >> Alessandro >>>> Vernet >>>> Sent: 11 January 2006 01:25 >>>> To: [hidden email] >>>> Subject: Re: [ops-users] Problems with Xforms Repeat >>>> >>>> Hi Ryan, >>>> >>>> Would you be able to send us an example that shows this problem and >>>> that we could run in the XForms sandbox? >>>> >>>> Alex >>>> >>>> On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >>>>> >>>>> >>>>> Hi all, >>>>> >>>>> I have just got the latest nightly build and noticed on of >> my >>>>> XForms Repeats are not working correctly. My problem comes with my >> second >>>>> repeat, which is within the first. When completing the submission it >>>> throws >>>>> an exception in the JavaScript "Cannot find element with id >>>>> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that >>>> all >>>>> the repeats have the id of 'repeat-begin-displayedPEAs' and no >>>>> identification number >>>>> >>>>> >>>>> >>>>> Any ideas? >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> Ryan Puddephatt >>>>> >>>>> Web Developer >>>>> >>>>> TFX Group >>>>> >>>>> 1 Michaelson Square >>>>> >>>>> Livingston >>>>> >>>>> West Lothian >>>>> >>>>> Scotand >>>>> >>>>> EH54 7DP >>>>> >>>>> >>>>> >>>>> * [hidden email] >>>>> >>>>> ( 01506 407 110 >>>>> >>>>> 7 01506 407 108 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> You receive this message as a subscriber of the ops- >> [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 >>>>> >>>>> >>>> >>>> -- >>>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >>> >>> >>> >>> -- >>> 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 >>> >>> >>> >>> >> >> -- >> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > > > > > ------------------------------------------------------------------------ > > > -- > 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 -- 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 |
Thanks Eric
Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 24 January 2006 13:38 To: [hidden email] Subject: Re: [ops-users] Problems with Xforms Repeat Doug and Ryan, I managed to reproduce the problem, and I entered a bug to track this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=304545&group_id =168&atid=350207 -Erik Doug Young wrote: > Eric, Alex any ideas on this, more than half the pages we have developed for > 3.0 use nested repeats and so we can not move onto the 3.0 release. > > thanks > Doug > > > Doug Young > Software Engineer > > Teleflex IT > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > +44 (0) 1506 407107 > > -----Original Message----- > From: Ryan Puddephatt [mailto:[hidden email]] > Sent: 17 January 2006 13:48 > To: [hidden email] > Subject: RE: [ops-users] Problems with Xforms Repeat > > Alex, > Sorry I forgot to remove this, I've removed and attached it again. I > tried placing it in one file and running in the sandbox, or locally, but > works fine. It seems the problem is occurring on the return from a > submission, so it will have to stay as two files. > > Sorry for the extra work. > > Ryan > > Ryan Puddephatt > Web Developer > TFX Group > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] On Behalf Of >> Vernet >> Sent: 12 January 2006 02:10 >> To: [hidden email] >> Subject: Re: [ops-users] Problems with Xforms Repeat >> >> Hi Ryan, >> >> Your view is an XSL file. And it uses $taminoDocUrl which read your >> oxf:/config/tamino.xml. I don't have that file, so I can't run that >> XSL locally. Can you reproduce this bug by taking the output of that >> transformation, putting that in a static XML file and running that >> file in the XForms sandbox? (The XForms would still call the service >> implemented in getPEAs.xpl and declared the page flow.) If that would >> work, can you send me the XSL output? >> >> Alex >> >> On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >>> Alex, >>> I can't get one for the sandbox, because as soon as I hard code >> the >>> XML into one page, there error doesn't appear! I've included an XPL and >>> XSL, the submission on in view.xsl calls >>> /outstandingApprovals/Person/getPEAs so you'll need that in your page- >> flow! >>> Firefox tends to bypass the error, but the page is useless afterward and >>> continues to show as loading. IE makes a big deal about it and the debug >>> shows the point in xforms.js that this occurs. This only seems to occur >> on >>> nested XForms repeats. If its any help Doug didn't have the problem on >>> Friday 6th Jan with the nightly build and he is having the same problem >> in >>> his App >>> >>> Hope this helps >>> >>> Thanks >>> >>> Ryan Puddephatt >>> Web Developer >>> TFX Group >>> 1 Michaelson Square >>> Livingston >>> West Lothian >>> Scotand >>> EH54 7DP >>> >>> * [hidden email] >>> ( 01506 407 110 >>> 7 01506 407 108 >>> >>> >>>> -----Original Message----- >>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of >> Alessandro >>>> Vernet >>>> Sent: 11 January 2006 01:25 >>>> To: [hidden email] >>>> Subject: Re: [ops-users] Problems with Xforms Repeat >>>> >>>> Hi Ryan, >>>> >>>> Would you be able to send us an example that shows this problem and >>>> that we could run in the XForms sandbox? >>>> >>>> Alex >>>> >>>> On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >>>>> >>>>> >>>>> Hi all, >>>>> >>>>> I have just got the latest nightly build and noticed on of >> my >>>>> XForms Repeats are not working correctly. My problem comes with my >> second >>>>> repeat, which is within the first. When completing the submission it >>>> throws >>>>> an exception in the JavaScript "Cannot find element with id >>>>> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that >>>> all >>>>> the repeats have the id of 'repeat-begin-displayedPEAs' and no >>>>> identification number >>>>> >>>>> >>>>> >>>>> Any ideas? >>>>> >>>>> >>>>> >>>>> Thanks >>>>> >>>>> >>>>> >>>>> Ryan Puddephatt >>>>> >>>>> Web Developer >>>>> >>>>> TFX Group >>>>> >>>>> 1 Michaelson Square >>>>> >>>>> Livingston >>>>> >>>>> West Lothian >>>>> >>>>> Scotand >>>>> >>>>> EH54 7DP >>>>> >>>>> >>>>> >>>>> * [hidden email] >>>>> >>>>> ( 01506 407 110 >>>>> >>>>> 7 01506 407 108 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> You receive this message as a subscriber of the ops- >> [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 >>>>> >>>>> >>>> >>>> -- >>>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >>> >>> >>> >>> -- >>> 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 >>> >>> >>> >>> >> >> -- >> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- 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 Erik Bruchez
Doug, Ryan,
This one is fixed now. We'll get a better fix in the next few days, but the current code should work. Give a try to an "unstable build" and let us know how it works. Alex On 1/24/06, Erik Bruchez <[hidden email]> wrote: > Doug and Ryan, > > I managed to reproduce the problem, and I entered a bug to track this: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=304545&group_id=168&atid=350207 > > -Erik > > Doug Young wrote: > > Eric, Alex any ideas on this, more than half the pages we have developed for > > 3.0 use nested repeats and so we can not move onto the 3.0 release. > > > > thanks > > Doug > > > > > > Doug Young > > Software Engineer > > > > Teleflex IT > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotland > > EH54 7DP > > +44 (0) 1506 407107 > > > > -----Original Message----- > > From: Ryan Puddephatt [mailto:[hidden email]] > > Sent: 17 January 2006 13:48 > > To: [hidden email] > > Subject: RE: [ops-users] Problems with Xforms Repeat > > > > Alex, > > Sorry I forgot to remove this, I've removed and attached it again. I > > tried placing it in one file and running in the sandbox, or locally, but it > > works fine. It seems the problem is occurring on the return from a > > submission, so it will have to stay as two files. > > > > Sorry for the extra work. > > > > Ryan > > > > Ryan Puddephatt > > Web Developer > > TFX Group > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > >> -----Original Message----- > >> From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro > >> Vernet > >> Sent: 12 January 2006 02:10 > >> To: [hidden email] > >> Subject: Re: [ops-users] Problems with Xforms Repeat > >> > >> Hi Ryan, > >> > >> Your view is an XSL file. And it uses $taminoDocUrl which read your > >> oxf:/config/tamino.xml. I don't have that file, so I can't run that > >> XSL locally. Can you reproduce this bug by taking the output of that > >> transformation, putting that in a static XML file and running that > >> file in the XForms sandbox? (The XForms would still call the service > >> implemented in getPEAs.xpl and declared the page flow.) If that would > >> work, can you send me the XSL output? > >> > >> Alex > >> > >> On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: > >>> Alex, > >>> I can't get one for the sandbox, because as soon as I hard code > >> the > >>> XML into one page, there error doesn't appear! I've included an XPL and a > >>> XSL, the submission on in view.xsl calls > >>> /outstandingApprovals/Person/getPEAs so you'll need that in your page- > >> flow! > >>> Firefox tends to bypass the error, but the page is useless afterward and > >>> continues to show as loading. IE makes a big deal about it and the debug > >>> shows the point in xforms.js that this occurs. This only seems to occur > >> on > >>> nested XForms repeats. If its any help Doug didn't have the problem on > >>> Friday 6th Jan with the nightly build and he is having the same problem > >> in > >>> his App > >>> > >>> Hope this helps > >>> > >>> Thanks > >>> > >>> Ryan Puddephatt > >>> Web Developer > >>> TFX Group > >>> 1 Michaelson Square > >>> Livingston > >>> West Lothian > >>> Scotand > >>> EH54 7DP > >>> > >>> * [hidden email] > >>> ( 01506 407 110 > >>> 7 01506 407 108 > >>> > >>> > >>>> -----Original Message----- > >>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of > >> Alessandro > >>>> Vernet > >>>> Sent: 11 January 2006 01:25 > >>>> To: [hidden email] > >>>> Subject: Re: [ops-users] Problems with Xforms Repeat > >>>> > >>>> Hi Ryan, > >>>> > >>>> Would you be able to send us an example that shows this problem and > >>>> that we could run in the XForms sandbox? > >>>> > >>>> Alex > >>>> > >>>> On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: > >>>>> > >>>>> > >>>>> Hi all, > >>>>> > >>>>> I have just got the latest nightly build and noticed on of > >> my > >>>>> XForms Repeats are not working correctly. My problem comes with my > >> second > >>>>> repeat, which is within the first. When completing the submission it > >>>> throws > >>>>> an exception in the JavaScript "Cannot find element with id > >>>>> 'repeat-begin-displayedPEAs.0' when I look at the source it shows that > >>>> all > >>>>> the repeats have the id of 'repeat-begin-displayedPEAs' and no > >>>>> identification number > >>>>> > >>>>> > >>>>> > >>>>> Any ideas? > >>>>> > >>>>> > >>>>> > >>>>> Thanks > >>>>> > >>>>> > >>>>> > >>>>> Ryan Puddephatt > >>>>> > >>>>> Web Developer > >>>>> > >>>>> TFX Group > >>>>> > >>>>> 1 Michaelson Square > >>>>> > >>>>> Livingston > >>>>> > >>>>> West Lothian > >>>>> > >>>>> Scotand > >>>>> > >>>>> EH54 7DP > >>>>> > >>>>> > >>>>> > >>>>> * [hidden email] > >>>>> > >>>>> ( 01506 407 110 > >>>>> > >>>>> 7 01506 407 108 > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> You receive this message as a subscriber of the ops- > >> [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 > >>>>> > >>>>> > >>>> > >>>> -- > >>>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > >>> > >>> > >>> > >>> -- > >>> 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 > >>> > >>> > >>> > >>> > >> > >> -- > >> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > 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 > > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
Thanks the nested repeats seem to be working fine now. I've tried the JavaScript in Firefox and this still doesn't work to an extent, I get the span element by id and get the child input, the value changes, but on submission the instance hasn't had the updated value. I've tried using your xformsDispatchEvent function to run the Change event, but no joy. If I remove the call to the xformsDispatchEvent it doesn't work in IE either. I'm also getting the problem I emailed about last night, but I now have a little more info on. If I submit a page and an error occurs the date fields are changed to standard text boxes. If the submission is works correctly then no problems. The wierdiest one is if I get an error on a submission, then amend a textbox (not necessarily a date field) the text box is replaced with just the calendar button. I click this button and set the date, hey presto the date come back. Hope this help Ryan Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 01 February 2006 03:42 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >Doug, Ryan, > >This one is fixed now. We'll get a better fix in the next few days, >but the current code should work. Give a try to an "unstable build" >and let us know how it works. > >Alex > >On 1/24/06, Erik Bruchez <[hidden email]> wrote: >> Doug and Ryan, >> >> I managed to reproduce the problem, and I entered a bug to track this: >> >> >http://forge.objectweb.org/tracker/index.php?func=detail&aid=304545&group_i >d=168&atid=350207 >> >> -Erik >> >> Doug Young wrote: >> > Eric, Alex any ideas on this, more than half the pages we have >developed for >> > 3.0 use nested repeats and so we can not move onto the 3.0 release. >> > >> > thanks >> > Doug >> > >> > >> > Doug Young >> > Software Engineer >> > >> > Teleflex IT >> > 1 Michaelson Square >> > Livingston >> > West Lothian >> > Scotland >> > EH54 7DP >> > +44 (0) 1506 407107 >> > >> > -----Original Message----- >> > From: Ryan Puddephatt [mailto:[hidden email]] >> > Sent: 17 January 2006 13:48 >> > To: [hidden email] >> > Subject: RE: [ops-users] Problems with Xforms Repeat >> > >> > Alex, >> > Sorry I forgot to remove this, I've removed and attached it >again. I >> > tried placing it in one file and running in the sandbox, or locally, >but it >> > works fine. It seems the problem is occurring on the return from a >> > submission, so it will have to stay as two files. >> > >> > Sorry for the extra work. >> > >> > Ryan >> > >> > Ryan Puddephatt >> > Web Developer >> > TFX Group >> > 1 Michaelson Square >> > Livingston >> > West Lothian >> > Scotand >> > EH54 7DP >> > >> > * [hidden email] >> > ( 01506 407 110 >> > 7 01506 407 108 >> > >> >> -----Original Message----- >> >> From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >> Vernet >> >> Sent: 12 January 2006 02:10 >> >> To: [hidden email] >> >> Subject: Re: [ops-users] Problems with Xforms Repeat >> >> >> >> Hi Ryan, >> >> >> >> Your view is an XSL file. And it uses $taminoDocUrl which read your >> >> oxf:/config/tamino.xml. I don't have that file, so I can't run that >> >> XSL locally. Can you reproduce this bug by taking the output of that >> >> transformation, putting that in a static XML file and running that >> >> file in the XForms sandbox? (The XForms would still call the service >> >> implemented in getPEAs.xpl and declared the page flow.) If that would >> >> work, can you send me the XSL output? >> >> >> >> Alex >> >> >> >> On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >> >>> Alex, >> >>> I can't get one for the sandbox, because as soon as I hard >code >> >> the >> >>> XML into one page, there error doesn't appear! I've included an XPL >and a >> >>> XSL, the submission on in view.xsl calls >> >>> /outstandingApprovals/Person/getPEAs so you'll need that in your >page- >> >> flow! >> >>> Firefox tends to bypass the error, but the page is useless afterward >and >> >>> continues to show as loading. IE makes a big deal about it and the >debug >> >>> shows the point in xforms.js that this occurs. This only seems to >occur >> >> on >> >>> nested XForms repeats. If its any help Doug didn't have the problem >on >> >>> Friday 6th Jan with the nightly build and he is having the same >problem >> >> in >> >>> his App >> >>> >> >>> Hope this helps >> >>> >> >>> Thanks >> >>> >> >>> Ryan Puddephatt >> >>> Web Developer >> >>> TFX Group >> >>> 1 Michaelson Square >> >>> Livingston >> >>> West Lothian >> >>> Scotand >> >>> EH54 7DP >> >>> >> >>> * [hidden email] >> >>> ( 01506 407 110 >> >>> 7 01506 407 108 >> >>> >> >>> >> >>>> -----Original Message----- >> >>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of >> >> Alessandro >> >>>> Vernet >> >>>> Sent: 11 January 2006 01:25 >> >>>> To: [hidden email] >> >>>> Subject: Re: [ops-users] Problems with Xforms Repeat >> >>>> >> >>>> Hi Ryan, >> >>>> >> >>>> Would you be able to send us an example that shows this problem and >> >>>> that we could run in the XForms sandbox? >> >>>> >> >>>> Alex >> >>>> >> >>>> On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >> >>>>> >> >>>>> >> >>>>> Hi all, >> >>>>> >> >>>>> I have just got the latest nightly build and noticed on >of >> >> my >> >>>>> XForms Repeats are not working correctly. My problem comes with my >> >> second >> >>>>> repeat, which is within the first. When completing the submission >it >> >>>> throws >> >>>>> an exception in the JavaScript "Cannot find element with id >> >>>>> 'repeat-begin-displayedPEAs.0' when I look at the source it shows >that >> >>>> all >> >>>>> the repeats have the id of 'repeat-begin-displayedPEAs' and no >> >>>>> identification number >> >>>>> >> >>>>> >> >>>>> >> >>>>> Any ideas? >> >>>>> >> >>>>> >> >>>>> >> >>>>> Thanks >> >>>>> >> >>>>> >> >>>>> >> >>>>> Ryan Puddephatt >> >>>>> >> >>>>> Web Developer >> >>>>> >> >>>>> TFX Group >> >>>>> >> >>>>> 1 Michaelson Square >> >>>>> >> >>>>> Livingston >> >>>>> >> >>>>> West Lothian >> >>>>> >> >>>>> Scotand >> >>>>> >> >>>>> EH54 7DP >> >>>>> >> >>>>> >> >>>>> >> >>>>> * [hidden email] >> >>>>> >> >>>>> ( 01506 407 110 >> >>>>> >> >>>>> 7 01506 407 108 >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> -- >> >>>>> You receive this message as a subscriber of the ops- >> >> [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 >> >>>>> >> >>>>> >> >>>> >> >>>> -- >> >>>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> >>> >> >>> >> >>> >> >>> -- >> >>> You receive this message as a subscriber of the ops- >[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 >> >>> >> >>> >> >>> >> >>> >> >> >> >> -- >> >> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> > >> > >> > >> > >> > ----------------------------------------------------------------------- >- >> > >> > >> > -- >> > 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 >> >> >> >> >> >> -- >> 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 >> >> >> > > >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 |
Hi,
The problem with forefox sounds like the problem I had that I posted under "in firefox instance data is not updated when an input is changed via javascipt" this was found to be the same as this bug http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 at about the time this bug was fixed the nested repeat problem appeared perhaps the code that fixes one bug causes the other ? Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: Ryan Puddephatt [mailto:[hidden email]] Sent: 01 February 2006 11:17 To: [hidden email] Subject: RE: [ops-users] Problems with Xforms Repeat Alex, Thanks the nested repeats seem to be working fine now. I've tried the JavaScript in Firefox and this still doesn't work to an extent, I get the span element by id and get the child input, the value changes, but on submission the instance hasn't had the updated value. I've tried using your xformsDispatchEvent function to run the Change event, but no joy. If I remove the call to the xformsDispatchEvent it doesn't work in IE either. I'm also getting the problem I emailed about last night, but I now have a little more info on. If I submit a page and an error occurs the date fields are changed to standard text boxes. If the submission is works correctly then no problems. The wierdiest one is if I get an error on a submission, then amend a textbox (not necessarily a date field) the text box is replaced with just the calendar button. I click this button and set the date, hey presto the date come back. Hope this help Ryan Ryan Puddephatt Web Developer TFX Group 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 01 February 2006 03:42 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >Doug, Ryan, > >This one is fixed now. We'll get a better fix in the next few days, >but the current code should work. Give a try to an "unstable build" >and let us know how it works. > >Alex > >On 1/24/06, Erik Bruchez <[hidden email]> wrote: >> Doug and Ryan, >> >> I managed to reproduce the problem, and I entered a bug to track this: >> >> >http://forge.objectweb.org/tracker/index.php?func=detail&aid=304545&group_i >d=168&atid=350207 >> >> -Erik >> >> Doug Young wrote: >> > Eric, Alex any ideas on this, more than half the pages we have >developed for >> > 3.0 use nested repeats and so we can not move onto the 3.0 release. >> > >> > thanks >> > Doug >> > >> > >> > Doug Young >> > Software Engineer >> > >> > Teleflex IT >> > 1 Michaelson Square >> > Livingston >> > West Lothian >> > Scotland >> > EH54 7DP >> > +44 (0) 1506 407107 >> > >> > -----Original Message----- >> > From: Ryan Puddephatt [mailto:[hidden email]] >> > Sent: 17 January 2006 13:48 >> > To: [hidden email] >> > Subject: RE: [ops-users] Problems with Xforms Repeat >> > >> > Alex, >> > Sorry I forgot to remove this, I've removed and attached it >again. I >> > tried placing it in one file and running in the sandbox, or locally, >but it >> > works fine. It seems the problem is occurring on the return from a >> > submission, so it will have to stay as two files. >> > >> > Sorry for the extra work. >> > >> > Ryan >> > >> > Ryan Puddephatt >> > Web Developer >> > TFX Group >> > 1 Michaelson Square >> > Livingston >> > West Lothian >> > Scotand >> > EH54 7DP >> > >> > * [hidden email] >> > ( 01506 407 110 >> > 7 01506 407 108 >> > >> >> -----Original Message----- >> >> From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >> Vernet >> >> Sent: 12 January 2006 02:10 >> >> To: [hidden email] >> >> Subject: Re: [ops-users] Problems with Xforms Repeat >> >> >> >> Hi Ryan, >> >> >> >> Your view is an XSL file. And it uses $taminoDocUrl which read your >> >> oxf:/config/tamino.xml. I don't have that file, so I can't run that >> >> XSL locally. Can you reproduce this bug by taking the output of that >> >> transformation, putting that in a static XML file and running that >> >> file in the XForms sandbox? (The XForms would still call the service >> >> implemented in getPEAs.xpl and declared the page flow.) If that would >> >> work, can you send me the XSL output? >> >> >> >> Alex >> >> >> >> On 1/11/06, Ryan Puddephatt <[hidden email]> wrote: >> >>> Alex, >> >>> I can't get one for the sandbox, because as soon as I hard >code >> >> the >> >>> XML into one page, there error doesn't appear! I've included an XPL >and a >> >>> XSL, the submission on in view.xsl calls >> >>> /outstandingApprovals/Person/getPEAs so you'll need that in your >page- >> >> flow! >> >>> Firefox tends to bypass the error, but the page is useless afterward >and >> >>> continues to show as loading. IE makes a big deal about it and the >debug >> >>> shows the point in xforms.js that this occurs. This only seems to >occur >> >> on >> >>> nested XForms repeats. If its any help Doug didn't have the problem >on >> >>> Friday 6th Jan with the nightly build and he is having the same >problem >> >> in >> >>> his App >> >>> >> >>> Hope this helps >> >>> >> >>> Thanks >> >>> >> >>> Ryan Puddephatt >> >>> Web Developer >> >>> TFX Group >> >>> 1 Michaelson Square >> >>> Livingston >> >>> West Lothian >> >>> Scotand >> >>> EH54 7DP >> >>> >> >>> * [hidden email] >> >>> ( 01506 407 110 >> >>> 7 01506 407 108 >> >>> >> >>> >> >>>> -----Original Message----- >> >>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of >> >> Alessandro >> >>>> Vernet >> >>>> Sent: 11 January 2006 01:25 >> >>>> To: [hidden email] >> >>>> Subject: Re: [ops-users] Problems with Xforms Repeat >> >>>> >> >>>> Hi Ryan, >> >>>> >> >>>> Would you be able to send us an example that shows this problem and >> >>>> that we could run in the XForms sandbox? >> >>>> >> >>>> Alex >> >>>> >> >>>> On 1/10/06, Ryan Puddephatt <[hidden email]> wrote: >> >>>>> >> >>>>> >> >>>>> Hi all, >> >>>>> >> >>>>> I have just got the latest nightly build and noticed on >of >> >> my >> >>>>> XForms Repeats are not working correctly. My problem comes with my >> >> second >> >>>>> repeat, which is within the first. When completing the submission >it >> >>>> throws >> >>>>> an exception in the JavaScript "Cannot find element with id >> >>>>> 'repeat-begin-displayedPEAs.0' when I look at the source it shows >that >> >>>> all >> >>>>> the repeats have the id of 'repeat-begin-displayedPEAs' and no >> >>>>> identification number >> >>>>> >> >>>>> >> >>>>> >> >>>>> Any ideas? >> >>>>> >> >>>>> >> >>>>> >> >>>>> Thanks >> >>>>> >> >>>>> >> >>>>> >> >>>>> Ryan Puddephatt >> >>>>> >> >>>>> Web Developer >> >>>>> >> >>>>> TFX Group >> >>>>> >> >>>>> 1 Michaelson Square >> >>>>> >> >>>>> Livingston >> >>>>> >> >>>>> West Lothian >> >>>>> >> >>>>> Scotand >> >>>>> >> >>>>> EH54 7DP >> >>>>> >> >>>>> >> >>>>> >> >>>>> * [hidden email] >> >>>>> >> >>>>> ( 01506 407 110 >> >>>>> >> >>>>> 7 01506 407 108 >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> -- >> >>>>> You receive this message as a subscriber of the ops- >> >> [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 >> >>>>> >> >>>>> >> >>>> >> >>>> -- >> >>>> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> >>> >> >>> >> >>> >> >>> -- >> >>> You receive this message as a subscriber of the ops- >[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 >> >>> >> >>> >> >>> >> >>> >> >> >> >> -- >> >> Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> > >> > >> > >> > >> > ----------------------------------------------------------------------- >- >> > >> > >> > -- >> > 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 >> >> >> >> >> >> -- >> 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 >> >> >> > > >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 Ryan Puddephatt
On 2/1/06, Ryan Puddephatt <[hidden email]> wrote:
> Thanks the nested repeats seem to be working fine now. I've tried > the JavaScript in Firefox and this still doesn't work to an extent, I get > the span element by id and get the child input, the value changes, but on > submission the instance hasn't had the updated value. I've tried using your > xformsDispatchEvent function to run the Change event, but no joy. If I > remove the call to the xformsDispatchEvent it doesn't work in IE either. Ryan, do you have a test case for this? Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by Doug Young
On 2/1/06, Doug Young <[hidden email]> wrote:
> this was found to be the same as this bug > http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 Doug, This link does not work for me. Links to bugs should have a "aid" parameter which is the bug ID, and this one does not. Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi,
Ypu are right that link does not work, I copied it from an old posting however here is a better link http://forge.objectweb.org/tracker/index.php?func=detail&aid=304434&group_id =168&atid=350207 Doug Doug Young Software Engineer Teleflex IT 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP +44 (0) 1506 407107 -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: 01 February 2006 18:19 To: [hidden email] Subject: Re: [ops-users] Problems with Xforms Repeat On 2/1/06, Doug Young <[hidden email]> wrote: > this was found to be the same as this bug > http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 Doug, This link does not work for me. Links to bugs should have a "aid" parameter which is the bug ID, and this one does not. Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 |
Alex,
I have attached a file that works in the sandbox. It has two fields, on link dispatches a change event for xforms, the other doesn't. The instance is shown below! As you will see it only working in IE when using dispatch event, otherwise it only changes the value, but not the instance. Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Doug Young [mailto:[hidden email]] >Sent: 02 February 2006 10:19 >To: [hidden email] >Subject: RE: [ops-users] Problems with Xforms Repeat > >Hi, > >Ypu are right that link does not work, I copied it from an old posting >however here is a better link > >http://forge.objectweb.org/tracker/index.php?func=detail&aid=304434&group_i >d >=168&atid=350207 > > >Doug > > >Doug Young >Software Engineer > >Teleflex IT >1 Michaelson Square >Livingston >West Lothian >Scotland >EH54 7DP >+44 (0) 1506 407107 > >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 01 February 2006 18:19 >To: [hidden email] >Subject: Re: [ops-users] Problems with Xforms Repeat > >On 2/1/06, Doug Young <[hidden email]> wrote: >> this was found to be the same as this bug >> http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 > >Doug, > >This link does not work for me. Links to bugs should have a "aid" >parameter which is the bug ID, and this one does not. > >Alex >-- >Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > > -- 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 test.xsl (4K) Download Attachment |
Eric/Alex,
I have done a bit more testing with this. I have a solution/workaround. I have slightly amended the xformsDispatchEvents function to: function xformsDispatchEvent(target, eventName) { if (target.dispatchEvent) { var event = document.createEvent("HTMLEvents"); event.initEvent(eventName.toLowerCase(), true, true); target.dispatchEvent(event); } else { target.fireEvent("on" + eventName); } } Just made sure the eventName is converted to lowercase as it seems firefox is fussy that way! This obviously means that the dispatchevent function still has to be called when the instance has been updated by JS, but I have been doing this anyway. If you could make this amendment could be made that would be great Thanks Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Ryan Puddephatt [mailto:[hidden email]] >Sent: 02 February 2006 11:45 >To: [hidden email] >Subject: RE: [ops-users] Problems with Xforms Repeat > >Alex, > I have attached a file that works in the sandbox. It has two fields, >on link dispatches a change event for xforms, the other doesn't. The >instance is shown below! > >As you will see it only working in IE when using dispatch event, otherwise >it only changes the value, but not the instance. > >Ryan Puddephatt >Software Engineer >TFX Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotand >EH54 7DP > >* [hidden email] >( 01506 407 110 >7 01506 407 108 > > >>-----Original Message----- >>From: Doug Young [mailto:[hidden email]] >>Sent: 02 February 2006 10:19 >>To: [hidden email] >>Subject: RE: [ops-users] Problems with Xforms Repeat >> >>Hi, >> >>Ypu are right that link does not work, I copied it from an old posting >>however here is a better link >> >>http://forge.objectweb.org/tracker/index.php?func=detail&aid=304434&group_ >i >>d >>=168&atid=350207 >> >> >>Doug >> >> >>Doug Young >>Software Engineer >> >>Teleflex IT >>1 Michaelson Square >>Livingston >>West Lothian >>Scotland >>EH54 7DP >>+44 (0) 1506 407107 >> >>-----Original Message----- >>From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >>Vernet >>Sent: 01 February 2006 18:19 >>To: [hidden email] >>Subject: Re: [ops-users] Problems with Xforms Repeat >> >>On 2/1/06, Doug Young <[hidden email]> wrote: >>> this was found to be the same as this bug >>> http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 >> >>Doug, >> >>This link does not work for me. Links to bugs should have a "aid" >>parameter which is the bug ID, and this one does not. >> >>Alex >>-- >>Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ >> >> -- 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
|
Hi Ryan,
1) I have made the change to xformsDispatchEvent() you requested. This is not strictly necessary, as you should not call this method yourself (more on this later), but it makes the code more robust which in general is a good idea, so I went ahead and made that modification. 2) When you set the value of the control in JavaScript, you should set it on the element that has the id of your XForms control. And yes, it is going to be a span, not an input field. This is not only OK, but of you set the value on the input field by finding it inside the span, the XForms JavaScript code won't notice that you have changed the value. We only monitor the value being changed on the span. So I have modified your code with (full file attached): function changeValue(runEvent) { var elSpan = document.getElementById('facName'); elSpan.value = elSpan.value == '' ? 1 : 1 + new Number(elSpan.value); } 3) There was a problem when modifying the value more than once. This is fixed. Get an "unstable build" and you just need to update xforms.js in your resources. Let me know how this works! Alex On 2/3/06, Ryan Puddephatt <[hidden email]> wrote: > Eric/Alex, > I have done a bit more testing with this. I have a > solution/workaround. I have slightly amended the xformsDispatchEvents > function to: > > function xformsDispatchEvent(target, eventName) { > if (target.dispatchEvent) { > var event = document.createEvent("HTMLEvents"); > event.initEvent(eventName.toLowerCase(), true, true); > target.dispatchEvent(event); > } else { > target.fireEvent("on" + eventName); > } > } > > Just made sure the eventName is converted to lowercase as it seems firefox > is fussy that way! > > This obviously means that the dispatchevent function still has to be called > when the instance has been updated by JS, but I have been doing this anyway. > > If you could make this amendment could be made that would be great > > Thanks > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > >-----Original Message----- > >From: Ryan Puddephatt [mailto:[hidden email]] > >Sent: 02 February 2006 11:45 > >To: [hidden email] > >Subject: RE: [ops-users] Problems with Xforms Repeat > > > >Alex, > > I have attached a file that works in the sandbox. It has two fields, > >on link dispatches a change event for xforms, the other doesn't. The > >instance is shown below! > > > >As you will see it only working in IE when using dispatch event, otherwise > >it only changes the value, but not the instance. > > > >Ryan Puddephatt > >Software Engineer > >TFX Group - IT UK > >1 Michaelson Square > >Livingston > >West Lothian > >Scotand > >EH54 7DP > > > >* [hidden email] > >( 01506 407 110 > >7 01506 407 108 > > > > > >>-----Original Message----- > >>From: Doug Young [mailto:[hidden email]] > >>Sent: 02 February 2006 10:19 > >>To: [hidden email] > >>Subject: RE: [ops-users] Problems with Xforms Repeat > >> > >>Hi, > >> > >>Ypu are right that link does not work, I copied it from an old posting > >>however here is a better link > >> > >>http://forge.objectweb.org/tracker/index.php?func=detail&aid=304434&group_ > >i > >>d > >>=168&atid=350207 > >> > >> > >>Doug > >> > >> > >>Doug Young > >>Software Engineer > >> > >>Teleflex IT > >>1 Michaelson Square > >>Livingston > >>West Lothian > >>Scotland > >>EH54 7DP > >>+44 (0) 1506 407107 > >> > >>-----Original Message----- > >>From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro > >>Vernet > >>Sent: 01 February 2006 18:19 > >>To: [hidden email] > >>Subject: Re: [ops-users] Problems with Xforms Repeat > >> > >>On 2/1/06, Doug Young <[hidden email]> wrote: > >>> this was found to be the same as this bug > >>> http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207 > >> > >>Doug, > >> > >>This link does not work for me. Links to bugs should have a "aid" > >>parameter which is the bug ID, and this one does not. > >> > >>Alex > >>-- > >>Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ > >> > >> > > > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |