On Thu, 14 Jul 2011 01:05:16 -0300, gs_tapestry
<sim...@gallerysystems.com> wrote:
Hello,
Hello!
I am migrating from T5.0 to T5.2. It's such a pain.
Please don't make this kind of bold statement without describing what the
causes of pain are. And don't forget that T5.0 release was a beta, so no
backward compatibility promise.
parsing template context:search/AdvancedSearch.tml: Block parameters are
only allowed directly within component elements. ct.dtd">
<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
selected="selectedMenuItems">
<html>
<head>
<link rel="stylesheet"
href="../../resources/com/gallerysystems/emuseum/components/css/styles.css"
type="text/css" media="screen"/>
</head>
<body>
<t:parameter name="templateBody">
../../../preview/advanced_search.jpg
</t:parameter>
</body>
</html>
</t:layout>
It would work if <t:parameter> was located directly under <t:layout>. The
error message describes very well the problem here.
There are discussion about this "Block parameters ..." issue. But they
don't apply there.
These are block parameters!
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org