Hey

Thats right, sorry my bad. i blindly copied all the htmls and dojo folders from my T4 app's context directory and dropped it to my T5s WEB-INF directory. Thanks a lotttt for helping me, Pablo and Jesse!



Anjana Gopinath
True North Technology
11465 John's Creek Parkway, Suite 300
Duluth, GA 30079






On Mar 16, 2007, at 10:40 AM, Pablo Ruggia wrote:

Shoudn't you copy dojo source to src/main/webapp/ instead of
src/main/webapp/WEB-INF.
Sorry if i'm totally wrong, never used dojo, but it's just a guess.

On 3/16/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:

Jesse

It could be unrelated to tapestry 5. I was trying to create a dojo
widget, so added the dojo source folder under my src/main/webapp/WEB-
INF directory. Also included
<script type="text/javascript">
             djConfig = { isDebug: false,
                          baseRelativePath: "dojo/dojo.js",
                          preventBackButtonFix: false };
</script>


<script type="text/javascript" src="dojo/dojo.js"></script>

in my html. This is what i have done for Tapestry 4.0 also. But when
i load the html, i see this error in the javascript console,

XML tag name mismatch (expected link)
dojo.js (line 4)
</head>

This could be because of some things on my side. I am totally new to
Jetty and Maven and T5. Will dig deeper into this later today. Thanks
for your help.




Anjana Gopinath






On Mar 15, 2007, at 11:24 PM, Jesse Kuhnert wrote:

> There shouldn't be any incompatibilities between the libraries, if
> there are I'm sure many people would like to know.
>
> More than likely you were just having errors unrelated to T5 or
> prototype. (but maybe not, hard to say off hand )
>
> On 3/15/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:
>> Thanks for responding , Howard. switched to ordinary html table with
>> loop component.
>>
>> Anjana Gopinath
>>
>>
>>
>>
>>
>>
>> On Mar 15, 2007, at 7:40 PM, Howard Lewis Ship wrote:
>>
>> > It may be a conflict between the Prototype.js library and the Dojo
>> > libraries.  I haven't tried this yet.
>> >
>> > On 3/15/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >>
>> >> I am trying to build a small app using tapestry 5. And trying
>> to add
>> >> a dojo table. I keep getting javascript errors in Firefox, so was >> >> wondering whether anyone has tried dojo with tapestry 5? i need to >> >> have a table with checkboxes, wasnt sure how to do this with the
>> >> tapestry
>> >> grid component. can someone provide some hints please? Thanks!!!
>> >>
>> >>
>> >> Anjana Gopinath
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > Howard M. Lewis Ship
>> > TWD Consulting, Inc.
>> > Independent J2EE / Open-Source Java Consultant
>> > Creator and PMC Chair, Apache Tapestry
>> > Creator, Apache HiveMind
>> >
>> > Professional Tapestry training, mentoring, support
>> > and project work.  http://howardlewisship.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]
>
>



Reply via email to