I've never been able to get Sitemesh to work with Tapestry, Dojo and
friendly URLs. The most reliable solution was to write a custom URL
encoder and differentially encode URLs based on the asset type, but even
that wasn't 100%. I finally gave up and jettisoned Sitemesh from my
project.

-----Original Message-----
From: mraible [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 1:58 PM
To: users@tapestry.apache.org
Subject: Re: Adding Dojo when not using the Shell Component


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-tf2
889469.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-tf2
889469.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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to