« Return to Thread: Adding Dojo when not using the Shell Component

Re: Adding Dojo when not using the Shell Component

by mraible :: Rate this Message:

Reply to Author | View in Thread

Thanks - this does seem to work.  However, it also causes an issue.  For some reason, I'm now getting the good ol' "browser hang" issue.  The page looks like it's finished rendering, but the status/progress bar indicates otherwise and "hangs" at 98% (or something like that).  After about a minute, it times out and says "Done".  If I disable JavaScript, this doesn't happen.  I can deploy a demo if that helps.

Matt

Jessek wrote:
For you I think the ScriptIncludes component will make more sense:

http://tapestry.apache.org/tapestry4.1/components/general/scriptincludes.html

This is partially covered in the very incomplete 4.0 > 4.1 upgrade
guide as well:

http://tapestry.apache.org/tapestry4.1/usersguide/upgrade4.0.html

On 12/28/06, mraible <matt@raibledesigns.com> wrote:
>
> According to: http://tapestry.apache.org/tapestry4.1/javascript/index.html
>
>
>
> > By default, the Shell component will include the core dojo javascript
> > object dojo.js, as well as the new core Tapestry javascript object -
> > core.js. This means that you don't have to worry about how to include dojo
> > or Tapestry javascript on any of your pages, they will already be
> > available.
> >
>
> I'm currently using SiteMesh instead of the Shell component.  How would I
> add dojo to my SiteMesh decorator?
>
> Thanks,
>
> Matt
> --
> View this message in context: http://www.nabble.com/Adding-Dojo-when-not-using-the-Shell-Component-tf2889469.html#a8072384
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

 « Return to Thread: Adding Dojo when not using the Shell Component