Hi
all,
I'm trying to use grouping with xforms:bind to control relevancy. I have
a save button attached to /instance/views/save which I want hidden when the
value = true. I change the value when the user clicks on the Save button, this
also triggers a submission.
I've tested this
normally on a page and it works fine, but within a xxforms:dialog it doesn't
update the value or group until after the submission is
complete.
Any ideas why this
is?
Ryan
Ryan
Puddephatt -- 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 Puddephatt wrote:
> Hi all, > I'm trying to use grouping with xforms:bind to control relevancy. I > have a save button attached to /instance/views/save which I want hidden > when the value = true. I change the value when the user clicks on the > Save button, this also triggers a submission. > > I've tested this normally on a page and it works fine, but within a > xxforms:dialog it doesn't update the value or group until after the > submission is complete. > > Any ideas why this is? explanation for a difference between doing this inside or outside a dialog. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I'll draw up a simple example to show the difference
Thanks Ryan Ryan Puddephatt Software Engineer Teleflex Group - IT UK 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP e> [hidden email] t> +44(0)1506 407 110 f> +44(0)1506 407 108 >-----Original Message----- >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of >Erik Bruchez >Sent: 08 January 2007 20:52 >To: [hidden email] >Subject: Re: [ops-users] Relevancy in a xxforms:dialog > >Ryan Puddephatt wrote: >> Hi all, >> I'm trying to use grouping with xforms:bind to control >relevancy. >> I have a save button attached to /instance/views/save which I want >> hidden when the value = true. I change the value when the >user clicks >> on the Save button, this also triggers a submission. >> >> I've tested this normally on a page and it works fine, but within a >> xxforms:dialog it doesn't update the value or group until after the >> submission is complete. >> >> Any ideas why this is? > >Hard to tell without more information. I don't see an obvious >explanation for a difference between doing this inside or >outside a dialog. > >-Erik > >-- >Orbeon Forms - Web Forms for the Enterprise Done the Right Way >http://www.orbeon.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
I thought it was dialog specific, but it appears to be happen on a normal page. Attached is a page with a submit, when clicking the submit it should show the loading image with the text Saving, but it doesn't. The submit just goes to a sleep processor for 5 seconds, I've attached that as well Thanks Ryan Ryan Puddephatt Software Engineer Teleflex Group - IT UK 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP e> [hidden email] t> +44(0)1506 407 110 f> +44(0)1506 407 108 >-----Original Message----- >From: Ryan Puddephatt [mailto:[hidden email]] >Sent: 09 January 2007 10:22 >To: [hidden email] >Subject: RE: [ops-users] Relevancy in a xxforms:dialog > >I'll draw up a simple example to show the difference > >Thanks > >Ryan > >Ryan Puddephatt >Software Engineer > >Teleflex Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotland >EH54 7DP > >e> [hidden email] >t> +44(0)1506 407 110 >f> +44(0)1506 407 108 > > > >>-----Original Message----- >>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik >>Bruchez >>Sent: 08 January 2007 20:52 >>To: [hidden email] >>Subject: Re: [ops-users] Relevancy in a xxforms:dialog >> >>Ryan Puddephatt wrote: >>> Hi all, >>> I'm trying to use grouping with xforms:bind to control >>relevancy. >>> I have a save button attached to /instance/views/save which I want >>> hidden when the value = true. I change the value when the >>user clicks >>> on the Save button, this also triggers a submission. >>> >>> I've tested this normally on a page and it works fine, but within a >>> xxforms:dialog it doesn't update the value or group until after the >>> submission is complete. >>> >>> Any ideas why this is? >> >>Hard to tell without more information. I don't see an obvious >>explanation for a difference between doing this inside or outside a >>dialog. >> >>-Erik >> >>-- >>Orbeon Forms - Web Forms for the Enterprise Done the Right Way >>http://www.orbeon.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |