[prev in list] [next in list] [prev in thread] [next in thread]
List: myfaces-user
Subject: Re: AW: Re: AW: Source of the sandbox examples
From: Werner Punz <werpu () gmx ! at>
Date: 2006-12-21 9:46:03
Message-ID: emdl4r$hii$2 () sea ! gmane ! org
[Download RAW message or body]
Worm, Danny schrieb:
> Hi all,
>
> I try to play around with the dialog to get a feeling of the problem.
> Werner ask for the styleclass, here it is.
>
> .dojoDialog {
> background : lightyellow;
> border : 1px solid #999;
> -moz-border-radius : 5px;
> padding : 4px;
> /*positioning outside of the visible scope to prevent some ui glitches visibility \
> hidden does not work*/ position:absolute;
> left: -800px;
> top:-800px;
> }
>
> Here the last state. I never use a form on this page. These lines works in IE fine \
> but Firefox doenīt display the dialog.
> <script>
> var callMe = function() {
> alert(dojoDialog.show);
> dojoDialog.show();
> }
> </script>
>
> <div id="content">
> <s:modalDialog
> dialogId="dialogId"
> dialogVar="dojoDialog"
> dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade' \
> toggleDuration='20'" hiderIds="cancel_id"
> styleClass="dojoDialog">
> <h:panelGrid column="1">
> <h:outputText value="Please enter"/>
> <h:inputText id="inA" value="Some exciting inputs."/>
> <h:outputLink id="cancel_id" value="#" >CloseDialog</h:outputLink> \
> </h:panelGrid>
> </s:modalDialog>
>
> <h:outputLink onclick="javascript:callMe();" value="#">
> hello
> </h:outputLink>
>
> </div>
>
>
> Javascript errors are the same.
> On enter the page: bad srcObj for srcFunc: onclick (dojo.js line94)
> After fire the event: node has no properties (dojo.js line 5616)
>
> The "bad srcObj for srcFunc: onclick" - error make me sick. This isnīt normal :)
>
> Kind regards
> DaWorm
>
Ok I will look into the problem deeper tonight, I cannot see a direct
error here.
Can you also post the generated html markup please?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic