You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Bob X <ca...@linuxmail.org> on 2004/04/13 19:50:49 UTC
[PART 2] Generated HTML is bad...?!
===== HOME.HTML =====
<span jwcid="@Shell" stylesheet="ognl:assets.stylesheet" title="Hello" />
<body>
<p>Welcome to your first <b>Tapestry Application</b>.</p>
<span jwcid="insertSomeText" class="id">This text will be replaced by Tapesty</span>
</body>
===== GENERATED HTML =====
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Application: hello -->
<!-- Page: Home -->
<!-- Generated: Tue Apr 13 13:46:09 EDT 2004 -->
<html>
<head>
<meta name="generator" content="Tapestry Application Framework, version 3.0-beta-3"/>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<title>Hello</title>
<link rel="stylesheet" type="text/css" href="/hello/css/home.css"/>
</head></html>
<!-- Render time: ~ 0 ms -->
<body>
<p>Welcome to your first <b>Tapestry Application</b>.</p>
<span class="id">It's a brave new world!</span>
</body>
Notice that the closing HTML tag comes before the BODY tag. The @Shell is not creating the BODY tags and is not wrapping around my TAGS so I am guessing this is a bug?
Robert
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: [PART 2] Generated HTML is bad...?!
Posted by Harish Krishnaswamy <hk...@comcast.net>.
Try
<span jwcid="@Shell" stylesheet="ognl:assets.stylesheet" title="Hello">
<body>
<p>Welcome to your first <b>Tapestry Application</b>.</p>
<span jwcid="insertSomeText" class="id">This text will be replaced by Tapesty</span>
</body>
</span>
Please see the docs for further details.
-Harish
Bob X wrote:
>===== HOME.HTML =====
><span jwcid="@Shell" stylesheet="ognl:assets.stylesheet" title="Hello" />
><body>
> <p>Welcome to your first <b>Tapestry Application</b>.</p>
> <span jwcid="insertSomeText" class="id">This text will be replaced by Tapesty</span>
></body>
>
>===== GENERATED HTML =====
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><!-- Application: hello -->
><!-- Page: Home -->
><!-- Generated: Tue Apr 13 13:46:09 EDT 2004 -->
><html>
><head>
><meta name="generator" content="Tapestry Application Framework, version 3.0-beta-3"/>
><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
><title>Hello</title>
><link rel="stylesheet" type="text/css" href="/hello/css/home.css"/>
></head></html>
><!-- Render time: ~ 0 ms -->
>
><body>
> <p>Welcome to your first <b>Tapestry Application</b>.</p>
><span class="id">It's a brave new world!</span>
></body>
>
>
>Notice that the closing HTML tag comes before the BODY tag. The @Shell is not creating the BODY tags and is not wrapping around my TAGS so I am guessing this is a bug?
>
>Robert
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org