Ah yes, I missed the fact that @Body was not nested in @Shell. Definitely the cause of the problem I expect.
No worries about complaining. I am a guilty of not always being able to put myself in the position of a newbie - it was so long ago! Sometimes I need a kick in the pants. Geoff On 8/22/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I always get a kick out of people who ask for help, receive it within > ten minutes (!), and then complain. Trust me, Geoff knows what he's > talking about, so there's obviously a problem in your implementation > of his approach.. Take a second look .. .for instance, you should > nest your @Body inside your @Shell. > > On 8/22/05, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > Well I tried the first fix and the head and meta tags still close at > > the end of my page. The second example would take more changes than I > > would want to do for my app. Any other suggestions? > > > > On 8/22/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > > > change > > > > > > <html> > > > <span jwcid="@Shell" ...> > > > <body jwcid="@Body"..> > > > </body> > > > </span> > > > > > > to > > > > > > <html jwcid="@Shell"...> > > > <body jwcid="@Body"...> > > > </body> > > > </html> > > > > > > or as we do... > > > > > > <html> > > > <head> > > > </head> > > > > > > <body jwcid="$content$> > > > <div jwcid="@Border"> > > > > > > </div> > > > </body> > > > </html> > > > > > > where Body is a component we built that contains @Shell, @Body and a > > > @RenderBody. > > > > > > Geoff > > > > > > Shell produces the <html> tag and <head> so you example wo > > > On 8/22/05, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > > > I have just noticed that my html pages that tapestry builds are > > > > malformed. Viewing the source of my page the <head> tag doesn't end > > > > until the end of the page. Therefore the body of the page is inside > > > > the head. Here is a snippet of my border.html > > > > > > > > <html> > > > > <span jwcid="@Shell" delegate="ognl:beans.metaDelegate" > > > > stylesheet="ognl:assets.stylesheet" > > > > title="TrustedApp"> > > > > > > > > </span> > > > > <body leftmargin="0" topmargin="0" style="color: rgb(102, 102, 102);" > > > > marginheight="0" marginwidth="0" jwcid="@Body"> > > > > > > > > > > > > <!-- Content of renderBody here --> > > > > > > > > </body> > > > > </html> > > > > > > > > Is there something that is missing that could cause me to get </head> > > > > and a few </meta> tags at the end of the page instead of at the top? > > > > > > > > > > > > -- > > > > ~chris > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > The Spindle guy. http://spindle.sf.net > > > Get help with Spindle: > > > http://lists.sourceforge.net/mailman/listinfo/spindle-user > > > Announcement Feed: > > > http://www.jroller.com/rss/glongman?catname=/Announcements > > > Feature Updates: http://spindle.sf.net/updates > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > ~chris > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta 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] > > -- The Spindle guy. http://spindle.sf.net Get help with Spindle: http://lists.sourceforge.net/mailman/listinfo/spindle-user Announcement Feed: http://www.jroller.com/rss/glongman?catname=/Announcements Feature Updates: http://spindle.sf.net/updates --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
