Hi Alan,

Yes, I did remove those xml comment for asset testing, quotes around green were also removed.
   And my source viewed in the browser seems normal:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<!-- Application: app -->
<!-- Page: Home -->
<!-- Generated: Tue May 30 00:02:44 CST 2006 -->
<html>
<head>
<meta name="generator" content="Tapestry Application Framework, version 4.0.1"/>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<base href="http://localhost:8080/TestTapestryCSS/"/>
<title>Tutorial: HelloWorld</title>
<link rel="stylesheet" type="text/css" 
href="/TestTapestryCSS/css/helloCSS.css"/>
</head>
<!--
<html>
 <head>
        <style type="text/css">
                body { background-color: green; }
        </style>
   <title>Tutorial: HelloWorld</title>
 </head>
-->
<body>

   <h1>HelloWorld Tutorial</h1>
<p> The current data and time is: <strong>Tue May 30 00:02:44 CST 2006</strong> </p> </body>
</html>
<!-- Render time: ~ 10 ms -->

Meanwhile I can browse the css file by http://localhost:8080/TestTapestryCSS/css/helloCSS.css :

<style type="text/css">
        body { background-color: green; }
</style>

   So I'm lost. :<

   Thank you for your patience.

   Regards,
Mike


Alan Chaney wrote:
HI Mike

Your page specification appears to have commented out the asset definition.

You have:

<page-specification>
  <!-- <asset name="helloCSS" path="context:/css/helloCSS.css"/> -->
</page-specification>

Try:
<page-specification>
  <asset name="helloCSS" path="context:/css/helloCSS.css"/>
</page-specification>



I assume you removed the quotes around green in the CSS file as well? If it still fails, trying looking at the source generated by the browser.

Regards

Alan


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

Reply via email to