I think this is less an issue with Dojo or Tapestry (or WebWork) than it is with something else you are using. (ie sitemesh or your servlet container).
Doing an http request for any resource should ~never~ cause a hang like this. Tapestry won't make it hang, and Dojo only sites and waits for an http response. (even if it's a bad one) Given that you mentioned a 404 jsp page in your first email I'm going to guess this is something like (sitemesh or whoever) getting an internal error -> throwing one of those god forsaken jsp type exception thing a majiggers -> forwarding the request or expecting it to go to a 404.jsp page. (instead of correctly setting the http response header to 404 not found and ~then~ rendering whatever you want ) Something like that anyways. Do let me know what you find. I've got 100% access to every single line of code involved from browser->server->back except for sitemesh so there isn't likely to be any guessing/pondering what the issue is. On 12/28/06, mraible <[EMAIL PROTECTED]> wrote:
It could be a friendly URL servlet-mapping situation. I'm using *.html as my "friendly URL" extension. I've experienced issues in the past when using .html with WebWork and Dojo. The strange thing is it works for some assets, but not others. Maybe I should try *.htm instead? IMO, it seems strange that I'm having to change my apps more and more to workaround dojo features added to web frameworks. ;-) I tried http://demo.raibledesigns.com/equinox-tapestry-4.1.1/assets/static/dojo/iframe_history.html and it does indeed hang. Any idea why it doesn't fail-fast? Matt Jessek wrote: > > Ahhh. . Good ol FireBug. > > If you change your view to "Net" and select to see "All" in the top > (using FireBug) you'll see that assets/static/dojo/iframe_history.html > seems to be the culprit. > > I think that something other than tapestry must be handling the > request in this instance. If it were tapestry and that asset service > couldn't find it a 404 response could would be returned in the very > worst case. > > Could it be a web.xml servlet mapping / friendly url configuration issue ? > > On 12/28/06, mraible <[EMAIL PROTECTED]> wrote: >> >> I'm not using a custom component for the DatePicker - just the standard >> stuff >> that comes with Tapestry. >> >> While the calendar JavaScript may be causing issues with the form, it >> doesn't explain why the following list screen hangs: >> >> http://demo.raibledesigns.com/equinox-tapestry-4.1.1/users.html >> >> I've included @ScriptIncludes in the source, but I don't believe it's >> used. >> To see the source, go to http://tinyurl.com/yxhhna and "view source" in >> your >> browser. >> >> Matt >> >> >> Jessek wrote: >> > >> > Ah, I can see what the problem is now. Or...At least why it's >> > "hanging". The "var calendar_start " variable isn't resolvable later >> > on and subsequently breaks most of the javascript. >> > >> > It looks like a Tapestry bug (I think), won't know more until I run >> > some separate tests of my own. (you aren't using a custom component >> > for that DatePicker by any chance are you ? ) >> > >> > On 12/28/06, mraible <[EMAIL PROTECTED]> wrote: >> >> >> >> 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 >> >> >> >> >> >> >> > >> > >> > -- >> > 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: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Adding-Dojo-when-not-using-the-Shell-Component-tf2889469.html#a8080347 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Adding-Dojo-when-not-using-the-Shell-Component-tf2889469.html#a8080807 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]