On Wed, Oct 27, 2010 at 4:05 PM, Thiago H. de Paula Figueiredo <
[email protected]> wrote:
>
> That seems strange, as any resource included by Tapestry (CSS and
> JavaScript) is put before anything you add in your template inside <head>.
>
>
Hm. That does not seem to be happening:
Layout.tml:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>${title}</title>
<style type="text/css">
<t:outputraw value="cssFromDatabase"/>
</style>
</head>
Is rendered as:
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"></meta>
<title>My App</title>
<style type="text/css">
/*My CSS*/
</style>
<link type="text/css" rel="stylesheet"
href="/register/assets/1.0-SNAPSHOT/tapestry/default.css"></link>
<link type="text/css" rel="stylesheet"
href="/register/assets/1.0-SNAPSHOT/ctx/layout/layout.css"></link>
<meta content="Apache Tapestry Framework (version 5.2.2-SNAPSHOT)"
name="generator"></meta>
</head>
This is on 5.2.2-SNAPSHOT and on 5.2.1. Has it behaved differently in the
past?
Mark