Hi Sascha--
I usually handle this by setting an ACL variable in my XUI
script code using the Acl AOM object. For example you might have something like
this:
<button label="OK">
<script type="text/javascript" <br="/>ev:event="DOMActivate">
// get dlg doc so we can access
the user specified value to return
dlgdoc =
Application.event.target.ownerDocument;
// set ACL variable for later
use
Acl.execute("$somefield = " +
dlgdoc.getElementById("someField").firstChild.nodeValue +
");
// close
dialog
var dlgwin =
Application.event.view.window;
dlgwin.close();
</script>
</button>
This will set the ACL variable $somefield to the text found
in the textbox with the ID "someField". After the dialog closes, that variable
should be available to other ACL scripts.
--Clay
From: Sascha Punzmann
Sent: Friday, March 10, 2006 5:20
AM
To: adepters@arbortext.com
Subject: Easy Calling of XUI
Dialogs
Hi everybody, face=sans-serif size=2>I was wondering if there is a easy way to call XUI
dialogs directly from ACL? Currently I'm using the "_xmldlg" package. But if I
try to get the selected value of a combo box or something, then only the initial
value will be returned, so it seems as if the "_xmldlg::getDialogDocument" only
return the initial document! Any Idea to fix this, or an easier way to call and
recieve values from an XUI dialog? Thanks in advance Sascha
>> To unsubscribe from the list, send an email to listmanager@maillist.arbortext.com with the following in the body: unsubscribe adepters - For additional information on the adepters list (how to subscribe or unsubscribe etc), send an email to: listmanager@maillist.arbortext.com with the following in the body: info Adepters - You may also go to forums.arbortext.com, enter the Adepters folder and change your subscription options and preferences.>>