Hi,
Can I use ORBEON to access parent control? For example, I want to use child window to select some value and set this value to parent coltrol. use ORBEON.xforms.Document.setValue() can set value, but how can i use ORBEON to set parent control some value the same way? Or where to find ORBEON reference? appreciate, Jack -- 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
|
Not sure what you mean by "parent control"?
-Erik On Dec 29, 2008, at 10:41 AM, penguintj wrote: > Hi, > > Can I use ORBEON to access parent control? For example, I want to > use child window to select some value and set this value to parent > coltrol. > > use ORBEON.xforms.Document.setValue() can set value, but how can i > use ORBEON to set parent control some value the same way? > > Or where to find ORBEON reference? > > appreciate, Jack > > -- > 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 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
use javascript to open new window and in this window to access parent window's control. use the new window to select some value and set the selected value to parent window' control. or another way can achieve this? Jack -----Original Message----- From: Erik Bruchez <[hidden email]> Reply-to: [hidden email] To: [hidden email] Subject: [ops-users] Re: Can I use ORBEON to access parent control? Date: Mon, 29 Dec 2008 18:23:02 +0800 Not sure what you mean by "parent control"? -Erik On Dec 29, 2008, at 10:41 AM, penguintj wrote: > Hi, > > Can I use ORBEON to access parent control? For example, I want to > use child window to select some value and set this value to parent > coltrol. > > use ORBEON.xforms.Document.setValue() can set value, but how can i > use ORBEON to set parent control some value the same way? > > Or where to find ORBEON reference? > > appreciate, Jack > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: [hidden email] > For general help: [hidden email] > OW2 mailing lists service home page: http://www.ow2.org/wws -- 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: [hidden email] For general help: [hidden email] 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 |
Jack,
> use javascript to open new window and in this window to access parent > window's control. > > use the new window to select some value and set the selected value to > parent window' control. > > or another way can achieve this? you could use the xxforms:dialog to open a "new" window: http://www.orbeon.com/ops/doc/reference-xforms-2#dialog This has the benefit that the dialog is part of the "parent" page so that the dialog controls and the "parent" instances are accessible at the same time. HTH florian -- 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 |
Thank you, I will try it. Jack -----Original Message----- From: Florian Schmitt <[hidden email]> Reply-to: [hidden email] To: [hidden email] Subject: [ops-users] Re: Re: Re: Can I use ORBEON to access parent control? Date: Mon, 29 Dec 2008 15:27:05 +0100 Jack, > use javascript to open new window and in this window to access parent > window's control. > > use the new window to select some value and set the selected value to > parent window' control. > > or another way can achieve this? you could use the xxforms:dialog to open a "new" window: http://www.orbeon.com/ops/doc/reference-xforms-2#dialog This has the benefit that the dialog is part of the "parent" page so that the dialog controls and the "parent" instances are accessible at the same time. HTH florian plain text document attachment (message-footer.txt) -- 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 |
Free forum by Nabble | Edit this page |