using 3.5M1
I have an XHTML/XForms doc in which two elements have been set required. If I fill them in immediately and do a submission, everything works fine. However if I do not fill them in immediately and do a submit first then I get, as could be expected, a submission error. But when I fill them in after this initial failed submission and try to do a new submission, I always get an xml-submission-error. And the page itself shows: "XForms error: Control is no longer bound to a node. Cannot set external value." What am I missing? Paul -- 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 |
Paul,
I get this a lot when something has gone wrong. As such, it might just be a 'symptom' and not the real problem. My guess is that your initial error messed up your page and your instance, and that it will not work after this. You also might want to disable the submit button while there are still errors on the instance (i.e. xforms:bind restrictions are not met): http://www.orbeon.com/blog/2006/05/24/xforms-tip-enabling-and-disabling-your-save-button/ http://www.orbeon.com/blog/2006/08/04/xforms-tip-creating-a-configurable-error-summary/ Hope that helps! Sincerely, Henrik Pettersen Advanced Computation Laboratory Cancer Research UK On 11/15/06, [hidden email] <[hidden email]> wrote: using 3.5M1 -- 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 paul.hermans
Paul,
We fixed a related bug not long ago (certainly post-3.5 M1). Can you either try a nightly build, or send a simple reproducible case? -Erik [hidden email] wrote: > using 3.5M1 > > I have an XHTML/XForms doc in which two elements have been set required. > If I fill them in immediately and do a submission, everything works fine. > > However if I do not fill them in immediately and do a submit first then I get, as could be expected, a submission error. > > But when I fill them in after this initial failed submission and try to do a new submission, I always get an xml-submission-error. > And the page itself shows: > "XForms error: > Control is no longer bound to a node. Cannot set external value." > > What am I missing? > > > Paul Orbeon Forms - 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 |
Free forum by Nabble | Edit this page |