Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-11 Thread Mika Tammilehto
Hi Daniel What Alexandru proposed is certainly right. All head-content is rendered by the Shell. To render additional stylesheet links, etc. you might provide them as params (assets) to the Shell. However, I'm not sure if this extra head tag makes it not to work... The onclick event is bound

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Alexandru Dragomir
Try removing the part Ajax from your template html file , because is already generated by the @Shell component in the resulted html file. Cheers, Alex On 1/10/07, Daniel Anguita O. <[EMAIL PROTECTED]> wrote: Hi Mika Mika Tammilehto escribi�: > Hi Daniel > >> I wrote that to the page head

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Daniel Anguita O.
Hi Mika Mika Tammilehto escribió: Hi Daniel I wrote that to the page head and it's OK. I run the app and i don't get any error message... BUT, it doesnt works... the 'ajax-thing' dont do anything.. What do you mean with : "same params apply for Shell-component as well". What Shell-component?

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Mika Tammilehto
Hi Daniel I wrote that to the page head and it's OK. I run the app and i don't get any error message... BUT, it doesnt works... the 'ajax-thing' dont do anything.. What do you mean with : "same params apply for Shell-component as well". What Shell-component? sorry, but im learning :D The She

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Daniel Anguita O.
Hi Mika! Mika Tammilehto escribió: Hi Daniel In what environment is your application running? I had the same problem that the classpath lookup failed for the dojo-assets when deploying my webapp as part of an EAR in JBoss. You may change the dojo-assets to be looked up in application contex

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Mika Tammilehto
Hi Daniel In what environment is your application running? I had the same problem that the classpath lookup failed for the dojo-assets when deploying my webapp as part of an EAR in JBoss. You may change the dojo-assets to be looked up in application context instead of classpath. In your pag

Ajax example with Tapestry 4.1.1(Dojo)

2007-01-09 Thread Daniel Anguita O.
Anyone can help me to make this simple application works? The idea is to make a button that when i click on it some DOM reload showing a message like "Ok. It works". I first try with the *tapestry home page* example and i'm getting a dojo's error: --- Firefox sh