Ok. There's: parser.parse("<wicket:marker name=body/>"); in MarkupParserTest, so I figured I should use that notation.

However <wicket:region name="body"/> doesn't work either.

E.g. NavomaticBorder.html:

   <wicket:region name="border">
       <span id="wicket-mainNavigation"/>

<p>
<table>
<tr>
<td>
<span id = "wicket-boxBorder">
<b>Navigation Links</b>
<p>
<a id = "wicket-[autolink]" href = "Page1.html">Page1</a><br/>
<a id = "wicket-[autolink]" href = "Page2.html">Page2</a><br/>
<a id = "wicket-[autolink]" href = "Page3.html">Page3</a>
</p>
</span>
</td>
<td>
<span id = "wicket-boxBorder2">
<wicket:region name="body"/>
</span>
</td>
</tr>
</table>
</p>
</wicket:region>


gives exception:

wicket.markup.MarkupException: Unable to find component named 'region' in [path = 0.navomaticBorder.boxBorder, markupStream = [markup = C:\eclipse-3\workspace\Wicket\build\classes\wicket\markup\html\border\BoxBorder.html, index = 3, current = '<wicket:region name="body"/>' (line 10, column 33)]]
[markup = C:\eclipse-3\workspace\Wicket\build\classes\wicket\markup\html\border\BoxBorder.html, index = 3, current = '<wicket:region name="body"/>' (line 10, column 33)]




You want me to check all changes in (converted all projects to the current markup) in order for you to have something to play with? Or should I hold them until you know what the problem is?

Eelco


Juergen Donnerstag wrote:

No, it is <wicket:region name=border> and <wicket:region name=body>

Juergen





------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to