Thanks Renat, unfortunately the dialog needs to be initialised
programmatically .. I need to dynamically stuff an object into it. I
might be able to use JS for the close operation though.
Renat Zubairov wrote:
Hi
You can show or hide dialog not from the Tapestry (read server-side)
but directly with Javascript.
It's pretty simple, you just need to call method "show" or "hide" on
the DoJo dialog:
<script type="text/javascript">
function closeDialog() {
dojo.widget.byId('DialogContent').hide();
}
</script>
Renat
On 04/07/07, Paul Stanton <[EMAIL PROTECTED]> wrote:
Hi all,
Currently I've got a couple of dialogs within a page. Each time a dialog
is shown or hidden (via @EventLister annotation) the page's
pageBeginRender method is called and this is more work than is necessary
just do display a simple dialog.
Is there a way to detect that the call is being made by the dialog
request and in that case, not execute exhaustive code?
Thanks, Paul.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]