You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "simon.s" <si...@gmx.de> on 2007/03/09 11:58:32 UTC

Re: [Solved] automatically open modalDialog

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 <si...@gmx.de> 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.