Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-12 Thread Jesse Kuhnert
You can inject the ResponseBuilder service and call ResponseBuilder.isDynamic() to avoid doing things you don't want to have happen in one vs. another instance. To be clear, ~everything~ that happens in a dynamic request should be the same as what happens in a normal request. (except maybe for

Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-12 Thread Paul Stanton
Jesse, It is my own application code that I want to avoid. The ResponseBuilder solution works great. Thanks. Jesse Kuhnert wrote: You can inject the ResponseBuilder service and call ResponseBuilder.isDynamic() to avoid doing things you don't want to have happen in one vs. another instance.

4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-04 Thread Paul Stanton
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

Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-04 Thread Renat Zubairov
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(); }