Matt, here's how I did mine, I just dropped in the ScriptIncludes...

<html dir="ltr">
    <head>
      <meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
      <link href="global.css" type="text/css" rel="stylesheet">
      <link href="menu.css" type="text/css" rel="stylesheet">
      <script type="text/javascript" src="expandableMenu.js"></script>
      <span jwcid="@ScriptIncludes" />
      <title><span jwcid="@Insert" value="message:tooltitle" /></title>
      <meta name="DC.Subject" content="" scheme="GCCore">
...etcetcetc

-----Original Message-----
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 9:59 AM
To: Tapestry users
Subject: Re: Adding Dojo when not using the Shell Component


For you I think the ScriptIncludes component will make more sense:

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

This is partially covered in the very incomplete 4.0 > 4.1 upgrade
guide as well:

http://tapestry.apache.org/tapestry4.1/usersguide/upgrade4.0.html

On 12/28/06, mraible <[EMAIL PROTECTED]> wrote:
>
> According to: http://tapestry.apache.org/tapestry4.1/javascript/index.html
>
>
>
> > By default, the Shell component will include the core dojo javascript
> > object dojo.js, as well as the new core Tapestry javascript object -
> > core.js. This means that you don't have to worry about how to include dojo
> > or Tapestry javascript on any of your pages, they will already be
> > available.
> >
>
> I'm currently using SiteMesh instead of the Shell component.  How would I
> add dojo to my SiteMesh decorator?
>
> Thanks,
>
> Matt
> --
> View this message in context: 
> http://www.nabble.com/Adding-Dojo-when-not-using-the-Shell-Component-tf2889469.html#a8072384
> 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]


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

Reply via email to