« 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

It looks like Dojo is getting included, but there's a 404 somewhere along the way as well.  Here's a demo:

http://demo.raibledesigns.com/equinox-tapestry-4.1.1/userForm.html

Here's from the above URLs log file when I first access the page:

2006-12-28 14:07:58.476695500 [14:07:58.476] Compiling _jsp/_404__jsp.java

Matt


Jessek wrote:
A demo may help. Sounds like some sort of resource can't be resolved.
(I'm guessing it is probably including dojo at all )

On 12/28/06, mraible <matt@raibledesigns.com> wrote:
>
> 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
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Adding-Dojo-when-not-using-the-Shell-Component-tf2889469.html#a8078089
> 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