If you put xbl component fr:button inside a dialog with a submission, the xforms:hide action for the dialog throws a java null pointer exception. I changed the button back to xforms:trigger and everything works fine.
|
Administrator
|
Brian,
What is a dialog with a submission? Is this with a nightly build? Alex fixed a series of issues with fr:button recently, including: https://github.com/orbeon/orbeon-forms/commit/ee54f77bf93502c23cea0b432efc39efa12ab391 https://github.com/orbeon/orbeon-forms/commit/8914b2c9b52b176c65be1fcc369670e2e00cbe74 https://github.com/orbeon/orbeon-forms/commit/25e847604e4ac3472a5029c2d65944813a8730ee -Erik On Sun, Nov 21, 2010 at 5:23 PM, bsteuhl <[hidden email]> wrote: > > If you put xbl component fr:button inside a dialog with a submission, the > xforms:hide action for the dialog throws a java null pointer exception. I > changed the button back to xforms:trigger and everything works fine. > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/fr-button-tp3052503p3052503.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 > > -- 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 |
A popup with a button that when clicked call xforms:submission -below. Not a nightly build - got the latest about 3 weeks ago.
<xxforms:dialog.....
.........
.........
<fr:button>
.......
<xforms:send submission="someID"/>
</fr:button>
</xxforms:dialog>
Brian Steuhl home office: 732-961-3187 From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Mon, November 22, 2010 6:42:07 PM Subject: [ops-users] Re: fr:button Brian, What is a dialog with a submission? Is this with a nightly build? Alex fixed a series of issues with fr:button recently, including: https://github.com/orbeon/orbeon-forms/commit/ee54f77bf93502c23cea0b432efc39efa12ab391 https://github.com/orbeon/orbeon-forms/commit/8914b2c9b52b176c65be1fcc369670e2e00cbe74 https://github.com/orbeon/orbeon-forms/commit/25e847604e4ac3472a5029c2d65944813a8730ee -Erik On Sun, Nov 21, 2010 at 5:23 PM, bsteuhl <[hidden email]> wrote: > > If you put xbl component fr:button inside a dialog with a submission, the > xforms:hide action for the dialog throws a java null pointer exception. I > changed the button back to xforms:trigger and everything works fine. > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/fr-button-tp3052503p3052503.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 > > -- 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 |
Administrator
|
Brian,
This shouldn't happen, even with a build from a few week ago. I am not aware of an issue involving the <fr:button>, the dialog, and a submission. Could you create a minimal file that reproduces this? I'd be very interested in looking at it so we can fix this. Alex On Mon, Nov 22, 2010 at 3:53 PM, Brian Steuhl <[hidden email]> wrote:
-- 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 |
Administrator
|
Hi Brian,
I was wondering if you got a chance to give another look at this, and maybe to put together a minimal example we could use to reproduce this. Alex On Wed, Nov 24, 2010 at 6:21 PM, Alessandro Vernet <[hidden email]> wrote: > > Brian, > > This shouldn't happen, even with a build from a few week ago. I am not aware of an issue involving the <fr:button>, the dialog, and a submission. Could you create a minimal file that reproduces this? I'd be very interested in looking at it so we can fix this. > > Alex > > On Mon, Nov 22, 2010 at 3:53 PM, Brian Steuhl <[hidden email]> wrote: >> >> A popup with a button that when clicked call xforms:submission -below. Not a nightly build - got the latest about 3 weeks ago. >> >> <xxforms:dialog..... >> ......... >> ......... >> <fr:button> >> ....... >> <xforms:send submission="someID"/> >> </fr:button> >> >> </xxforms:dialog> >> >> >> Brian Steuhl >> website: http://BTMSoftwareSolutions.com >> business email: [hidden email] >> cell: 908-421-0742 >> >> home office: 732-961-3187 >> RSS Feed To My Blog: >> >> >> >> ________________________________ >> From: Erik Bruchez <[hidden email]> >> To: [hidden email] >> Sent: Mon, November 22, 2010 6:42:07 PM >> Subject: [ops-users] Re: fr:button >> >> Brian, >> >> What is a dialog with a submission? >> >> Is this with a nightly build? Alex fixed a series of issues with >> fr:button recently, including: >> >> https://github.com/orbeon/orbeon-forms/commit/ee54f77bf93502c23cea0b432efc39efa12ab391 >> https://github.com/orbeon/orbeon-forms/commit/8914b2c9b52b176c65be1fcc369670e2e00cbe74 >> https://github.com/orbeon/orbeon-forms/commit/25e847604e4ac3472a5029c2d65944813a8730ee >> >> -Erik >> >> On Sun, Nov 21, 2010 at 5:23 PM, bsteuhl <[hidden email]> wrote: >> > >> > If you put xbl component fr:button inside a dialog with a submission, the >> > xforms:hide action for the dialog throws a java null pointer exception. I >> > changed the button back to xforms:trigger and everything works fine. >> > -- >> > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/fr-button-tp3052503p3052503.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 >> > >> > >> >> >> >> -- >> 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 -- 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 |
Wanted to give an update on this issue. Ran into it again today and after trouble shooting it appears that having an xforms:action ev:observer="...." ev:event="xforms-submit-done" after a submission within the dialog was the cause which makes sense because the dialog is closed before the submission runs and that action can not run. Now not sure if this was the same previous issue since I mention that going back to xforms:trigger did not cause the error. But unless I run into this again lets call it a user error and not an Orbeon bug.
If situation does appear again I will create a small form to replicate, but my gut feeling here is user error due to lack of sleep ;) Thanks again for all your help. I will try and get to couple other open issues and send examples if I can reproduce in small factor.
Brian Steuhl
BTMSoftwareSolutions.com |
Administrator
|
Brian,
Thanks for letting us know! -Erik
On Thu, Feb 10, 2011 at 3:13 PM, bsteuhl <[hidden email]> wrote: Wanted to give an update on this issue. Ran into it again today and after trouble shooting it appears that having an xforms:action ev:observer="...." ev:event="xforms-submit-done" after a submission within the dialog was the cause which makes sense because the dialog is closed before the submission runs and that action can not run. Now not sure if this was the same previous issue since I mention that going back to xforms:trigger did not cause the error. But unless I run into this again lets call it a user error and not an Orbeon bug. If situation does appear again I will create a small form to replicate, but my gut feeling here is user error due to lack of sleep ;) Thanks again for all your help. I will try and get to couple other open issues and send examples if I can reproduce in small factor. Brian Steuhl -- 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 |
Free forum by Nabble | Edit this page |