Hi all, I have a problem (attached) it doesn’t
work in the current sandbox, but it does work on a fairly recent version (at
most a week old?), so it could be two problems. In the sandbox it gives me an
OPS exception, but on my machine I get a JS error “cursor has no
properties” @ line 1881 of xforms.js, stack trace shows this in xformsHandleResponse
and the last response I have in firebug is <?xml version="1.0" encoding="utf-8"?> <xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms"> <xxf:dynamic-state>session:392D2308-DBB0-1493-1241-06EF19ED3BAD</xxf:dynamic-state> <xxf:action> <xxf:control-values/> <xxf:divs> <xxf:div id="level1-1-hide" visibility="visible"/> <xxf:div id="level1-1-show" visibility="hidden"/> <xxf:div id="level2-1-hide" visibility="visible"/> <xxf:div id="level2-1-show" visibility="hidden"/> </xxf:divs> <xxf:itemsets/> </xxf:action> </xxf:event-response>
Hope this helps Thanks Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 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
|
Ryan,
I think the attachment is missing (there is a need for a mailer plugin that ensures people do have attachments when they use the word "attached" in the body of the message - I forget my attachments all the time too ;-). -Erik Ryan Puddephatt wrote: > Hi all, > > I have a problem (attached) it doesn’t work in the current > sandbox, but it does work on a fairly recent version (at most a week > old?), so it could be two problems. In the sandbox it gives me an OPS > exception, but on my machine I get a JS error “cursor has no properties” > @ line 1881 of xforms.js, stack trace shows this in xformsHandleResponse > and the last response I have in firebug is > > > > <?xml version="1.0" encoding="utf-8"?> > > <xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms"> > > <xxf:dynamic-state>session:392D2308-DBB0-1493-1241-06EF19ED3BAD</xxf:dynamic-state> > > <xxf:action> > > <xxf:control-values/> > > <xxf:divs> > > <xxf:div id="level1-1-hide" visibility="visible"/> > > <xxf:div id="level1-1-show" visibility="hidden"/> > > <xxf:div id="level2-1-hide" visibility="visible"/> > > <xxf:div id="level2-1-show" visibility="hidden"/> > > </xxf:divs> > > <xxf:itemsets/> > > </xxf:action> > > </xxf:event-response> > > > > Hope this helps > > > > 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 > > > > > > > ------------------------------------------------------------------------ > > > -- > 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 -- Orbeon - XForms Everywhere: 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 |
That would certainly be a plus for me!
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: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >Sent: 09 July 2006 16:40 >To: [hidden email] >Subject: Re: [ops-users] Problem with xforms:switch/xforms:case > >Ryan, > >I think the attachment is missing (there is a need for a mailer plugin >that ensures people do have attachments when they use the word >"attached" in the body of the message - I forget my attachments all the >time too ;-). > >-Erik > >Ryan Puddephatt wrote: >> Hi all, >> >> I have a problem (attached) it doesn't work in the current >> sandbox, but it does work on a fairly recent version (at most a week >> old?), so it could be two problems. In the sandbox it gives me an OPS >> exception, but on my machine I get a JS error "cursor has no properties" >> @ line 1881 of xforms.js, stack trace shows this in xformsHandleResponse >> and the last response I have in firebug is >> >> >> >> <?xml version="1.0" encoding="utf-8"?> >> >> <xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms"> >> >> <xxf:dynamic-state>session:392D2308-DBB0-1493-1241- >06EF19ED3BAD</xxf:dynamic-state> >> >> <xxf:action> >> >> <xxf:control-values/> >> >> <xxf:divs> >> >> <xxf:div id="level1-1-hide" visibility="visible"/> >> >> <xxf:div id="level1-1-show" visibility="hidden"/> >> >> <xxf:div id="level2-1-hide" visibility="visible"/> >> >> <xxf:div id="level2-1-show" visibility="hidden"/> >> >> </xxf:divs> >> >> <xxf:itemsets/> >> >> </xxf:action> >> >> </xxf:event-response> >> >> >> >> Hope this helps >> >> >> >> 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 >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> 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 > > >-- >Orbeon - XForms Everywhere: >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.xhtml (10K) Download Attachment |
Administrator
|
Hi Ryan,
This is because in <xforms:case id="level2-1-show">, after the <xhtml:td> you have a <xhtml:tr> which is invalid HTML, and there are other similar problems in the same file. If the produced HTML is not valid, the browser will reorder elements in the DOM to make it a little more valid ;), and elements that are shuffled around this way by the browser can cause all kind of errors in the JavaScript code. In tables, it is particularly important to respect the table hierarchy (table / tr / td ). Alex On 7/9/06, Ryan Puddephatt <[hidden email]> wrote: > That would certainly be a plus for me! > > 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: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > >Sent: 09 July 2006 16:40 > >To: [hidden email] > >Subject: Re: [ops-users] Problem with xforms:switch/xforms:case > > > >Ryan, > > > >I think the attachment is missing (there is a need for a mailer plugin > >that ensures people do have attachments when they use the word > >"attached" in the body of the message - I forget my attachments all the > >time too ;-). > > > >-Erik > > > >Ryan Puddephatt wrote: > >> Hi all, > >> > >> I have a problem (attached) it doesn't work in the current > >> sandbox, but it does work on a fairly recent version (at most a week > >> old?), so it could be two problems. In the sandbox it gives me an OPS > >> exception, but on my machine I get a JS error "cursor has no properties" > >> @ line 1881 of xforms.js, stack trace shows this in xformsHandleResponse > >> and the last response I have in firebug is > >> > >> > >> > >> <?xml version="1.0" encoding="utf-8"?> > >> > >> <xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms"> > >> > >> <xxf:dynamic-state>session:392D2308-DBB0-1493-1241- > >06EF19ED3BAD</xxf:dynamic-state> > >> > >> <xxf:action> > >> > >> <xxf:control-values/> > >> > >> <xxf:divs> > >> > >> <xxf:div id="level1-1-hide" visibility="visible"/> > >> > >> <xxf:div id="level1-1-show" visibility="hidden"/> > >> > >> <xxf:div id="level2-1-hide" visibility="visible"/> > >> > >> <xxf:div id="level2-1-show" visibility="hidden"/> > >> > >> </xxf:divs> > >> > >> <xxf:itemsets/> > >> > >> </xxf:action> > >> > >> </xxf:event-response> > >> > >> > >> > >> Hope this helps > >> > >> > >> > >> 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 > >> > >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------ > >> > >> > >> -- > >> 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 > > > > > >-- > >Orbeon - XForms Everywhere: > >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 |