Hi., Iam adding and deleting the input field based on insert and delete action. While adding the row and pointing to the input field(focusing to). am getting this error "can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus". if anyone know abt this, pls tel me the solution for this error My code look like this:
<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ev="http://www.w3.org/2001/xml-events"> <xhtml:head> <xhtml:title>XForms Wizard</xhtml:title> <xforms:model> <xforms:instance id="invdata1"> <inv> <invnumber/> <invdate/> <poref> <ponumber/> </poref> <invitems> <invitem> <itemcode1/> <itemdesc1/> <itemqty1/> </invitem> </invitems> </inv> </xforms:instance> <xforms:instance id="invitem-template1"> <invitem> <itemcode1/> <itemdesc1/> <itemqty1/> </invitem> </xforms:instance> </xforms:model> </xhtml:head> <xhtml:body> <xforms:group> <xhtml:table cellpadding="3"> <xhtml:tr> <xhtml:td> </xhtml:td> <xhtml:td>Item Code</xhtml:td> <xhtml:td>Item Description</xhtml:td> <xhtml:td>Quantity</xhtml:td> </xhtml:tr> <xforms:repeat nodeset="instance('invdata1')/invitems/invitem" id="invitem-repeat1"> <xxforms:variable name="index0" select="position()" as="xs:integer"/> <xhtml:tr> <xhtml:td> <xforms:group> <xforms:trigger appearance="minimal"> <xforms:label> <xhtml:img src="/apps/xforms-bookcast/images/add.gif" alt="Add"/> </xforms:label> <xforms:insert ev:event="DOMActivate" context="instance('invdata1')/invitems" nodeset="invitem" at="last()" position="after" origin="instance('invitem-template1')"/> </xforms:trigger> </xforms:group> <xforms:group ref=".[$index0 > 1]"> <xforms:trigger appearance="minimal"> <xforms:label> <xhtml:img src="/apps/xforms-bookcast/images/remove.gif" alt="Remove"/> </xforms:label> <xforms:delete ev:event="DOMActivate" nodeset="."/> </xforms:trigger> </xforms:group> </xhtml:td> <xhtml:td> <xforms:input ref="itemcode1"/> </xhtml:td> <xhtml:td> <xforms:input ref="itemdesc1"/> </xhtml:td> <xhtml:td> <xforms:input ref="itemqty1"/> </xhtml:td> </xhtml:tr> </xforms:repeat> </xhtml:table> </xforms:group> </xhtml:body> </xhtml:html> |
Administrator
|
Balachandar,
I assume that you get this on IE specifically, but I could not reproduce this. I remember we fixed some of those in the past, so I am wondering if you are hitting a problem which might have been fixed since the version you are using. Could you try to reproduce this with a nightly build, if you are not already using one? Alex On Sun, May 2, 2010 at 10:19 PM, Balachandar.P <[hidden email]> wrote: > > Hi., Iam adding and deleting the input field based on insert and delete > action. While adding the row and pointing to the input field(focusing to). > am getting this error "can't move focus to the control because it is > invisible, not enabled, or of a type that does not accept the focus". if > anyone know abt this, pls tel me the solution for this error My code look > like this: > > <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:ev="http://www.w3.org/2001/xml-events"> > > <xhtml:head> > <xhtml:title>XForms Wizard</xhtml:title> > <xforms:model> > <xforms:instance id="invdata1"> > <inv> > <invnumber/> > <invdate/> > <poref> > <ponumber/> > </poref> > <invitems> > <invitem> > <itemcode1/> > <itemdesc1/> > <itemqty1/> > </invitem> > </invitems> > </inv> > </xforms:instance> > <xforms:instance id="invitem-template1"> > <invitem> > <itemcode1/> > <itemdesc1/> > <itemqty1/> > </invitem> > </xforms:instance> > > </xforms:model> > > </xhtml:head> > <xhtml:body> > <xforms:group> > <xhtml:table cellpadding="3"> > <xhtml:tr> > <xhtml:td> </xhtml:td> > <xhtml:td>Item Code</xhtml:td> > <xhtml:td>Item Description</xhtml:td> > <xhtml:td>Quantity</xhtml:td> > </xhtml:tr> > <xforms:repeat nodeset="instance('invdata1')/invitems/invitem" > id="invitem-repeat1"> > <xxforms:variable name="index0" select="position()" as="xs:integer"/> > <xhtml:tr> > <xhtml:td> > <xforms:group> > <xforms:trigger appearance="minimal"> > <xforms:label> > <xhtml:img src="/apps/xforms-bookcast/images/add.gif" alt="Add"/> > </xforms:label> > <xforms:insert ev:event="DOMActivate" > context="instance('invdata1')/invitems" nodeset="invitem" at="last()" > position="after" origin="instance('invitem-template1')"/> > </xforms:trigger> > </xforms:group> > <xforms:group ref=".[$index0 > 1]"> > <xforms:trigger appearance="minimal"> > <xforms:label> > <xhtml:img src="/apps/xforms-bookcast/images/remove.gif" > alt="Remove"/> > </xforms:label> > <xforms:delete ev:event="DOMActivate" nodeset="."/> > </xforms:trigger> > </xforms:group> > </xhtml:td> > <xhtml:td> > <xforms:input ref="itemcode1"/> > </xhtml:td> > <xhtml:td> > <xforms:input ref="itemdesc1"/> > </xhtml:td> > <xhtml:td> > <xforms:input ref="itemqty1"/> > </xhtml:td> > </xhtml:tr> > </xforms:repeat> > </xhtml:table> > </xforms:group> > </xhtml:body> > </xhtml:html> > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Getting-this-error-while-focusing-the-input-box-tp2123511p2123511.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro, First I will say thanks for reply my mail. You are absolutely right. This error is coming specifically IE not mozilla. But we are using IE only. Can you pls tel me how to solve this problem in IE. am waiting for ur reply Once again, thanks a lot for giving a support. Regards, Bala |
Administrator
|
Hi Bala,
Thank you for confirming that this issue occurs on IE. First, are you using a recent nightly build? I remember we fixed some of those issues recently. If you don't have a recent nightly build, you download a CE nightly build from: http://www.orbeon.com/forms/download Alex On Sun, May 9, 2010 at 10:43 PM, Balachandar.P <[hidden email]> wrote: > > > Hi Alessandro, > > First I will say thanks for reply my mail. > > You are absolutely right. This error is coming specifically IE > not mozilla. But we are using IE only. Can you pls tel me how to solve this > problem in IE. am waiting for ur reply > > Once again, thanks a lot for giving a support. > > Regards, > Bala > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Getting-this-error-while-focusing-the-input-box-tp2123511p2164965.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
It's Fine. But Is there any way to solve this problem in IE? -Bala |
Administrator
|
Bala,
We would just need a simple test case that shows this problem, and that runs the XForms sandbox. Could you create such an example and attach it to your response? Alex On Mon, May 10, 2010 at 10:06 PM, Balachandar.P <[hidden email]> wrote: > > Hi Alex, > > It's Fine. But Is there any way to solve this problem in IE? > > > -Bala > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Getting-this-error-while-focusing-the-input-box-tp2123511p2173318.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
Inside Orbeon samples, i write the same code.... It is working fine Same code am executing (view.xhtml) 1) http://localhost:4646/web/pavithra/samp ---> not working (sample.jpg) 2) http://localhost:4646/orbeon/xforms-sam/ ---> its working fine (orbeon.jpg) view.xhtml sample.jpg orbeon.JPG |
Administrator
|
Bala,
I tried your example on the latest nightly build, and did get a JavaScript error when click on the "add" button. Are you sure you are using the latest (or a recent) nightly build? Alex On Thu, May 13, 2010 at 5:07 AM, Balachandar.P <[hidden email]> wrote: > > Hi Alex, > > > Inside Orbeon samples, i write the same code.... It is working > fine > > Same code am executing (view.xhtml) > > 1) http://localhost:4646/web/pavithra/samp ---> not working (sample.jpg) > > 2) http://localhost:4646/orbeon/xforms-sam/ ---> its working fine > (orbeon.jpg) > http://n4.nabble.com/file/n2197450/view.xhtml view.xhtml > http://n4.nabble.com/file/n2197450/sample.jpg sample.jpg > http://n4.nabble.com/file/n2197450/orbeon.JPG orbeon.JPG > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Getting-this-error-while-focusing-the-input-box-tp2123511p2197450.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
I checked mozilla 3.5.5, its working fine. iam not getting this JavaScript error but am getting this error in IE --Bala |
Administrator
|
Bala,
Again, it doesn't matter on which browser it doesn't work; either case, we would need a simple test case that runs in the XForms sandbox to reproduce this. Alex On Sun, May 16, 2010 at 10:40 PM, Balachandar.P <[hidden email]> wrote: > > Hi Alex, > > I checked mozilla 3.5.5, its working fine. iam not getting this > JavaScript error but am getting this error in IE > > --Bala > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Getting-this-error-while-focusing-the-input-box-tp2123511p2219102.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |