You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Chris Chiappone <ch...@gmail.com> on 2007/04/03 18:19:23 UTC

[T4.1] Question About @Shell and @Body

I am wondering if the @Shell and @Body components are required in
order to get the ajax function to work with tapestry pages.  I already
have a header and footer defined using jsp's in a legacy application.
I am beginning to introduce Tapestry pages as we are moving forward.

Is there a way of manually defining what JS is included without using
either @Shell or @Body.


Thanks

-- 
~chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T4.1] Question About @Shell and @Body

Posted by Jesse Kuhnert <jk...@gmail.com>.
I think you still have to use a @Body even without the @Shell but you
can use the @ScriptIncludes instead of the shell - which ~only~
includes js on the page:

http://tapestry.apache.org/tapestry4.1/components/general/scriptincludes.html

On 4/3/07, Chris Chiappone <ch...@gmail.com> wrote:
> I am wondering if the @Shell and @Body components are required in
> order to get the ajax function to work with tapestry pages.  I already
> have a header and footer defined using jsp's in a legacy application.
> I am beginning to introduce Tapestry pages as we are moving forward.
>
> Is there a way of manually defining what JS is included without using
> either @Shell or @Body.
>
>
> Thanks
>
> --
> ~chris
>
> ---------------------------------------------------------------------
> 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