JS Problem in IE with xforms:repeat

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

JS Problem in IE with xforms:repeat

Ryan Puddephatt

Hi all,

            I have a problem appearing only in IE with one of my forms using a xforms:repeat. It gives a javascript error at line 1226 of xforms.js, this is the surrounding code

 

// Insert copy of template nodes

1224 for (var templateNodeIndex in templateNodes) {

1225  templateNode = templateNodes[templateNodeIndex];

1226   afterInsertionPoint.parentNode.insertBefore(templateNode, afterInsertionPoint);

1227 }

 

I have attached an example where I use xforms:group within xforms:repeat, I have now removed this and it works fine.

 

Hope this helps

 

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

 

 



--
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

model.xpl (532 bytes) Download Attachment
view.xsl (3K) Download Attachment
instance.xml (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JS Problem in IE with xforms:repeat

Alessandro  Vernet
Administrator
Ryan,

I have been able to reproduce the problem. I created a test case that
runs in the sandbox, but this doesn't seem to be an easy one. So for
now I have create bug entry to track this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305319&group_id=168&atid=350207

Alex

On 5/15/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
>
>
> Hi all,
>
>             I have a problem appearing only in IE with one of my forms using
> a xforms:repeat. It gives a javascript error at line 1226 of xforms.js, this
> is the surrounding code
>
>
>
> // Insert copy of template nodes
>
> 1224 for (var templateNodeIndex in templateNodes) {
>
> 1225  templateNode = templateNodes[templateNodeIndex];
>
> 1226
> afterInsertionPoint.parentNode.insertBefore(templateNode,
> afterInsertionPoint);
>
> 1227 }
>
>
>
> I have attached an example where I use xforms:group within xforms:repeat, I
> have now removed this and it works fine.
>
>
>
> Hope this helps
>
>
>
> 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
>
>
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

RE: JS Problem in IE with xforms:repeat

Ryan Puddephatt
Alex,
        I'm finding that not being able to use a xforms:group within a
xforms:repeat a hinderence! A lot of my application showing different
controls, text or images depending on values, is this an easy bug to fix?

Thanks

Ryan

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: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
>Vernet
>Sent: 20 May 2006 00:50
>To: [hidden email]
>Subject: Re: [ops-users] JS Problem in IE with xforms:repeat
>
>Ryan,
>
>I have been able to reproduce the problem. I created a test case that
>runs in the sandbox, but this doesn't seem to be an easy one. So for
>now I have create bug entry to track this:
>
>http://forge.objectweb.org/tracker/index.php?func=detail&aid=305319&group_i
>d=168&atid=350207
>
>Alex
>
>On 5/15/06, Ryan Puddephatt <[hidden email]> wrote:
>>
>>
>>
>>
>> Hi all,
>>
>>             I have a problem appearing only in IE with one of my forms
>using
>> a xforms:repeat. It gives a javascript error at line 1226 of xforms.js,
>this
>> is the surrounding code
>>
>>
>>
>> // Insert copy of template nodes
>>
>> 1224 for (var templateNodeIndex in templateNodes) {
>>
>> 1225  templateNode = templateNodes[templateNodeIndex];
>>
>> 1226
>> afterInsertionPoint.parentNode.insertBefore(templateNode,
>> afterInsertionPoint);
>>
>> 1227 }
>>
>>
>>
>> I have attached an example where I use xforms:group within xforms:repeat,
>I
>> have now removed this and it works fine.
>>
>>
>>
>> Hope this helps
>>
>>
>>
>> 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
>>
>>
>>
>>
>>
>> --
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: JS Problem in IE with xforms:repeat

Alessandro  Vernet
Administrator
Ryan,

It won't work when the <xforms:group> contains a <tr> or <td>.
However, if you place it inside the <td>, it will work. Would it be
possible to do this in your case?

Alex

On 6/5/06, Ryan Puddephatt <[hidden email]> wrote:

> Alex,
>         I'm finding that not being able to use a xforms:group within a
> xforms:repeat a hinderence! A lot of my application showing different
> controls, text or images depending on values, is this an easy bug to fix?
>
> Thanks
>
> Ryan
>
> 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: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
> >Vernet
> >Sent: 20 May 2006 00:50
> >To: [hidden email]
> >Subject: Re: [ops-users] JS Problem in IE with xforms:repeat
> >
> >Ryan,
> >
> >I have been able to reproduce the problem. I created a test case that
> >runs in the sandbox, but this doesn't seem to be an easy one. So for
> >now I have create bug entry to track this:
> >
> >http://forge.objectweb.org/tracker/index.php?func=detail&aid=305319&group_i
> >d=168&atid=350207
> >
> >Alex
> >
> >On 5/15/06, Ryan Puddephatt <[hidden email]> wrote:
> >>
> >>
> >>
> >>
> >> Hi all,
> >>
> >>             I have a problem appearing only in IE with one of my forms
> >using
> >> a xforms:repeat. It gives a javascript error at line 1226 of xforms.js,
> >this
> >> is the surrounding code
> >>
> >>
> >>
> >> // Insert copy of template nodes
> >>
> >> 1224 for (var templateNodeIndex in templateNodes) {
> >>
> >> 1225  templateNode = templateNodes[templateNodeIndex];
> >>
> >> 1226
> >> afterInsertionPoint.parentNode.insertBefore(templateNode,
> >> afterInsertionPoint);
> >>
> >> 1227 }
> >>
> >>
> >>
> >> I have attached an example where I use xforms:group within xforms:repeat,
> >I
> >> have now removed this and it works fine.
> >>
> >>
> >>
> >> Hope this helps
> >>
> >>
> >>
> >> 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
> >>
> >>
> >>
> >>
> >>
> >> --
> >> 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
Reply | Threaded
Open this post in threaded view
|

RE: JS Problem in IE with xforms:repeat

Ryan Puddephatt
Alex,
        It would take more code in some cases, because I normally group
cells or rows, but this is certainly a work around

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: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
>Vernet
>Sent: 05 June 2006 21:24
>To: [hidden email]
>Subject: Re: [ops-users] JS Problem in IE with xforms:repeat
>
>Ryan,
>
>It won't work when the <xforms:group> contains a <tr> or <td>.
>However, if you place it inside the <td>, it will work. Would it be
>possible to do this in your case?
>
>Alex
>
>On 6/5/06, Ryan Puddephatt <[hidden email]> wrote:
>> Alex,
>>         I'm finding that not being able to use a xforms:group within a
>> xforms:repeat a hinderence! A lot of my application showing different
>> controls, text or images depending on values, is this an easy bug to fix?
>>
>> Thanks
>>
>> Ryan
>>
>> 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: [hidden email] [mailto:[hidden email]] On Behalf Of
>Alessandro
>> >Vernet
>> >Sent: 20 May 2006 00:50
>> >To: [hidden email]
>> >Subject: Re: [ops-users] JS Problem in IE with xforms:repeat
>> >
>> >Ryan,
>> >
>> >I have been able to reproduce the problem. I created a test case that
>> >runs in the sandbox, but this doesn't seem to be an easy one. So for
>> >now I have create bug entry to track this:
>> >
>>
>>http://forge.objectweb.org/tracker/index.php?func=detail&aid=305319&group_
>i
>> >d=168&atid=350207
>> >
>> >Alex
>> >
>> >On 5/15/06, Ryan Puddephatt <[hidden email]> wrote:
>> >>
>> >>
>> >>
>> >>
>> >> Hi all,
>> >>
>> >>             I have a problem appearing only in IE with one of my forms
>> >using
>> >> a xforms:repeat. It gives a javascript error at line 1226 of
>xforms.js,
>> >this
>> >> is the surrounding code
>> >>
>> >>
>> >>
>> >> // Insert copy of template nodes
>> >>
>> >> 1224 for (var templateNodeIndex in templateNodes) {
>> >>
>> >> 1225  templateNode = templateNodes[templateNodeIndex];
>> >>
>> >> 1226
>> >> afterInsertionPoint.parentNode.insertBefore(templateNode,
>> >> afterInsertionPoint);
>> >>
>> >> 1227 }
>> >>
>> >>
>> >>
>> >> I have attached an example where I use xforms:group within
>xforms:repeat,
>> >I
>> >> have now removed this and it works fine.
>> >>
>> >>
>> >>
>> >> Hope this helps
>> >>
>> >>
>> >>
>> >> 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
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> 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