Yeah you should see something along the lines of : dojo.event.connect(dojo.byId("someId"), ... .....
towards the bottom of your page. You might also try using Tapestry 4.1.2 instead of 4.1.1. They should both work equally well but I can't remember if 4.1.1 had any issues in this area or not. On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
Jesse Kuhnert wrote: > Offhand I'd say the PageEvent object looks suspicious. It supports a > BrowserEvent object but might just pass your method by if it sees a > parameter it doesn't know about. What effects in the rendered page source should such annotation cause? Currently I'm not seeing anything special added to my page source... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN> <!-- Application: null --> <!-- Page: CompaniesTab --> <!-- Generated: Tue Apr 03 14:33:47 CEST 2007 --> <html> <head> <meta name="generator" content="Tapestry Application Framework, version 4.1.1" /> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>.:: MyApp 2.0 ::.</title> <script type="text/javascript">djConfig = {"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dp2/app?service=asset&path=%2Fdojo%2F","preventBackButtonFix":false,"parseWidgets":false,"locale":"en-us"} </script> <script type="text/javascript" src="/dp2/app?service=asset&path=%2Fdojo%2Fdojo.js"></script> <script type="text/javascript"> dojo.registerModulePath("tapestry", "/dp2/app?service=asset&path=%2Ftapestry%2F"); </script> <script type="text/javascript" src="/dp2/app?service=asset&path=%2Ftapestry%2Fcore.js"></script> <script type="text/javascript"> dojo.require("dojo.logging.Logger"); dojo.log.setLevel(dojo.log.getLevel("DEBUG")); dojo.require("tapestry.namespace"); </script> <link rel="stylesheet" type="text/css" href="/dp2/css/MyApp2.css" /> </head> <body onunload="purge(document)" id="Body"> <script type="text/javascript"><!-- function toggleOk(divEl) { var button = divEl.getElementsByTagName("a").item(0); button.className = button.className == 'okOff' ? 'okOn' : 'okOff'; } function purge(d) { var a = d.attributes, i, l, n; if (a) { l = a.length; for (i = 0; i < l; i += 1) { n = a[i].name; if (typeof d[n] === 'function') { d[n] = null; } } } a = d.childNodes; if (a) { l = a.length; for (i = 0; i < l; i += 1) { purge(d.childNodes[i]); } } } // --></script> <div id="someId" href="#">click here...</div> .... </body></html> ---------------------------------------------------------------------- Plan to połowa sukcesu. Sprawdz na >>> http://link.interia.pl/f1a41 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com