Newbie: Pop-up Passback

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Newbie: Pop-up Passback

John Russell-2
Our web applications have used javascript to passback
information from pop-up windows. These pop-ups have
various search-and-select or tree controls that seem
to work better in another window.

With Firefox XForms we tried using javascript to update
the instance from selections made in the pop-up with
some success.

How should this be attempted with Orbeon Forms?

Thank you
John.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Newbie: Pop-up Passback

Erik Bruchez
Administrator
John,

You could use the xxforms:dialog extension instead of pop-up windows.  
Those are more user-friendly, and you won't have this issue of  
figuring out how to pass parameters.

If you still want to use pop-ups, you can use JavaScript, and send  
value back to XForms by using a hidden control. See the JS doc here:

   http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript

-Erik

On Apr 24, 2008, at 12:23 PM, John Russell wrote:

> Our web applications have used javascript to passback
> information from pop-up windows. These pop-ups have
> various search-and-select or tree controls that seem
> to work better in another window.
>
> With Firefox XForms we tried using javascript to update
> the instance from selections made in the pop-up with
> some success.
>
> How should this be attempted with Orbeon Forms?
>
> Thank you
> John.
--
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