Hi Gerald! How can I do that? The thing is: I can open the dialog from _any_ JS-Event (onFocus, onMouseOver...) except onLoad. In the sandbox tag reference is mentioned "is not working with overridden 'onload'".
Simon Gerald Müllan wrote: > > Hi, > > you have to make sure that the dialog is instantiated before you call > dialogVar.show(); > > I guess that the reference points to null. > > cheers, > > Gerald > > On 3/9/07, simon.s <[EMAIL PROTECTED]> wrote: >> >> Hello! >> >> I have a s:moadalDialog, that I want to be opened when the page is >> loaded. >> OnLoad does not function. >> >> Simon >> -- >> View this message in context: >> http://www.nabble.com/automatically-open-modalDialog-tf3374844.html#a9391689 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > > -- > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > -- View this message in context: http://www.nabble.com/automatically-open-modalDialog-tf3374844.html#a9392336 Sent from the MyFaces - Users mailing list archive at Nabble.com.

