tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara" <b...@ngi.it>
Subject RE: Illegal html in samples, with span outside of body
Date Fri, 01 Aug 2003 14:09:02 GMT
I think tapestry does not impose that a @Body object must be only in a
<body tag and a $content$ must be only in span tags.

So:

<html>
<head>...</head>
<body jcwid="$content$">
	<span jcwid="@Body">
		page content
	</span>
</body>
</html>

Will solve both problems, right?

The span with the @Body can be also a span with a @Border component.

> -----Original Message-----
> From: Howard M. Lewis Ship [mailto:hlship@comcast.net] 
> Sent: Thursday, July 31, 2003 9:27 PM
> To: 'Tapestry development'
> Subject: RE: Illegal html in samples, with span outside of body
> 
> 
> Yes, but a more common pattern would be:
> 
> <html> 
> <head> ... </head>
> <span jwcid="$content$">
> <body jwcid="@MyAppsCustomBorderComponent">
> 
> ...
> 
> </body>
> </span>
> </html>
> 
> Again, this would look better if it was something like:
> 
> <html>
> <head> ... </head>
> <body jwcid="@MyAppsCustomBorderComponent,$content$">
> ...
> </body>
> </html>


Mime
View raw message