It doesn't work
in IE. There's got to be a fix or I cannot use Tacos/Tapestry.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jesse
Kuhnert
Sent: Thursday, July 27, 2006 2:10 PM
To: Tacos Developers
Subject: Re: [Tacos-devel] HELP: If dojo.event.connect doesn't work for the onload event why do the Tacos widgets do it that way!
I think I meant the opposite. You ~should~ use
dojo.event.connect(window, "onload" and ~not~ use dojo.addOnLoad. Sent: Thursday, July 27, 2006 2:10 PM
To: Tacos Developers
Subject: Re: [Tacos-devel] HELP: If dojo.event.connect doesn't work for the onload event why do the Tacos widgets do it that way!
On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
I have an email thread that I started on the dojo-interest mail list, below. Basically I've downloaded the July 10th source snap of Tacos and have found it to be non-functionality on IE. I found the reason why, after many hours of view-sourcing and working with that awful debugger. In Tacos _javascript_ events are connected to the dojo event system by dojo.event.connect at onload time. Jessie Kunhert on dojo-interest over there tells me that this doesn't work in IE and says I need to use dojo.addOnLoad. So do I need to submit my own script for all the Tacos components? Is there a bug opened on this?dojo.event.connect(window, "onload", function(event) {
dojo.event.kwConnect({srcObj:dojo.byId("checkbox") , srcFunc:"onchange",
targetObj:document, targetFunc: "AjaxFormSubmit_checkboxForm", once:true});I have a one component Tacos/Tapestry page and the relevant view source generated html. I can post it if necessary. Thanks, D.
I've tried to use it once or twice, but after it didn't work as advertised a few times I gave up on it.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Jesse Kuhnert
Sent: Tuesday, July 25, 2006 10:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [Dojo-interest] dojo.event and onload event in internet explorer
On 7/26/06, James Burke < [EMAIL PROTECTED]> wrote:I haven't normally done connections to onload inside a script tag that
inside the body of the HTML. You might try doing that work in the head
area of the HTML. Another thing to try is using
dojo.addOnLoad(documentLoadingHandler); instead of the
dojo.event.connect) syntax.
As you can probably tell, I've normally just used dojo.addOnLoad() to
register onload listeners.
James
On 7/25/06, Harvey, David <[EMAIL PROTECTED] > wrote:
> Even when I leave out the onload event on the body element the connect
> should still happen shouldn't it?
>
> dojo.event.connect(window, "onload", "documentLoadingHandler");
>
> It doesn't on IE. It's like the onload is never fired.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] ] On Behalf Of James Burke
> Sent: Tuesday, July 25, 2006 9:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dojo-interest] dojo.event and onload event in internet
> explorer
>
> Specifying an onload attribute on the body tag does not work well with
> Dojo. Strange results happen. See trac ticket:
>
> http://trac.dojotoolkit.org/ticket/1097
>
> It is suggested that you use dojo.addOnLoad() instead to register code
> to execute on page load:
>
> dojo.addOnLoad(function(){
> alert('body loading via _javascript_ alert');'
> });
>
> James
>
> On 7/25/06, Harvey, David < [EMAIL PROTECTED]> wrote:
> > Hello all,
> >
> > I have a problem with dojo.event on Internet Explorer 6.0 with the
> > onload.
> >
> > Things seem to be fine in Firefox 1.5.0.4.
> >
> > The problem is with IE 6.0.2900 with _javascript_ enabled.
> >
> > I have upgraded to dojo.js.uncompressed.js from dojo release-0.3.1. I
>
> > was previously using a release of dojo that came with the Tacos 4 beta
>
> > 2 release.
> >
> > I'm finding the onload event is completely non-functional in IE when
> > I'm loading dojo. When the following html page loads it should fire
> > two alerts, once for the onload on the body element and the second
> > when onload event finds the attached handler function,
> > documentLoadingHandler(). This works in Firefox. If I use a page
> > that doesn't load dojo and has a body onload script the onload event
> > functions normally.
> >
> > Any help here? Something I'm really doing wrong?
> >
> > Thanks,
> > David Harvey
> > Ingenix, Inc.
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > " http://www.w3.org/TR/html4/loose.dtd">
> > <html>
> > <head>
> > <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
> > <title>What happened to onload when running in IE?</title> </head>
> >
> > <body marginheight="0" topmargin="0" leftmargin="0"
> > >
> > <!-- added for DOJO -->
> > <script type="text/_javascript_">
> > <!--
> > djConfig = { isDebug: true,
> > baseRelativePath: "common/dojo/",
> > preventBackButtonFix: false,
> > parseWidgets: true
> > };
> > // --></script>
> > <script type="text/_javascript_"
> > src=""></script>
> > <script type="text/_javascript_">
> > <!--
> > dojo.require("dojo.event");
> > // --></script>
> >
> > <table cellpadding="0" cellspacing="0" border="0" width="100%"
> > height="50">
> > <tr>
> > <td>
> > <b>Some page content here</b>
> > </td>
> > </tr>
> > </table>
> >
> > <script language="_javascript_" type="text/_javascript_">
> > <!--
> > // simple debugging of the onload
> > function documentLoadingHandler(event)
> > {
> > alert("Body loading via dojo attach event");
> > }
> > dojo.event.connect(window, "onload", "documentLoadingHandler"); //
>
> > --></script> </body> </html>
> >
> >
> >
> >
> >
> >
> >
> > "Secure Server BSK" made the following annotations on 07/25/2006
> > 05:24:44 PM ------------------------------"This e-mail, including
> > attachments, may include confidential and/or proprietary information,
> and may be used only by the person or entity to which it is addressed.
> If the reader of this e-mail is not the intended recipient or his or her
> authorized agent, the reader is hereby notified that any dissemination,
> distribution or copying of this e-mail is prohibited. If you have
> received this e-mail in error, please notify the sender by replying to
> this message and delete this e-mail immediately."
> > ==============================
> > _______________________________________________
> > Dojo FAQ: http://dojo.jot.com/FAQ
> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> > [EMAIL PROTECTED]
> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
> >
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> [EMAIL PROTECTED]
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>
>
> "Secure Server BSK" made the following
> annotations on 07/25/2006 11:56:50 PM
> ------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
> ==============================
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> [EMAIL PROTECTED]
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
[EMAIL PROTECTED]
http://dojotoolkit.org/mailman/listinfo/dojo-interest
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
