Archive for July, 2008

Read more

Executing JavaScript inside Content Panes

dijit.layout.ContentPane widgets are an invaluable tool for many common layout tasks. You can update the content inside one of these panes via the setContent or setHref methods, unfortunately if your content contains any JavaScript via inline script tag or script tag with src attribute you might be surprised to find out that it will not execute. How do you get around this?

Read the rest of this entry »

Read more

Variable Properties

The shortest cookie ever: How to assign properties from variable hashes, or: Why dotted notation rocks.
Read the rest of this entry »

Read more

Submitting dijit.Editor’s content in a form

Here’s a simple HOWTO to submit your editor content inside a form tag. There are other ways to do this, but this is what I do.
Read the rest of this entry »

Read more

dojo.hitch and scope - more romance

Scope in javascript is one of those topics that won’t go away. It continues to trip people up again and again, despite numerous articles including a great cookie right here on dojo campus. In this cookie, I’m going to sneak up on dojo.hitch from a different angle by re-visiting some of the basics of how function scope works.
Read the rest of this entry »

Read more

Dojo just announced the details of their next developer/community Day in Boston, MA during the upcoming Ajax Experience. The full details are available on the Dojo Toolkit website.

Hope to see you there!

(Also, there is a tentative “dot release” DDD:4.5 at OSCON in Portland, OR … though no real details exist. It will likely simply be a dojo.dinner().beer() chain somewhere at one of Portland’s awesome restaurants, and be an informal gathers of JavaScript and Web hackers. All are invited. I will update when a date solidifies)