Component display question

2007-02-27 Thread Mstewieirl
 
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

BRBRBR**BR AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.com.


Component display question

2007-02-27 Thread Mstewieirl
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
BRBRBR**BR AOL now offers free 
email to everyone.  Find out more about what's free from AOL at 
http://www.aol.com.