I think there are some parameters on the dojo dialog tapestry 4.1 component,
concretely the hidden parameter is the one you are looking for:

http://tapestry.apache.org/tapestry4.1/components/dojo/dialog.html

Name Type Required Default Description  hidden boolean no true Whether or
not the Dialog should be hidden by default. (Which is what you want in most
cases.)
Hope this helps !

r.

On 2/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi all,

I have a page that contains numerous custom HTML  template components
which
are dialogs. My page contains buttons which pops up  these dialogs using
JavaScript and this all works perfectly. Now what I want to  do is pop one
of these
dialogs automatically when the page is rendering if  a certain page
parameter
is set. I have try putting in a  dojo.addOnLoad function which calls
dojo.widget.byId('customDialog').show()  but that doesn't seem to work.
Any ideas on
how to do this? I am using  Tapestry 4.1

Thanks in advance,
Mark
<BR><BR><BR>**************************************<BR> AOL now offers free
email to everyone.  Find out more about what's free from AOL at
http://www.aol.com.




--
Robert Ramírez Vique
Computer Science Engineer

Reply via email to