at a first glance. The error message says that "there must be exactly
one <wicket:body>". I do not see any wicket:body tag in your markup.
Border component require it. If you do not need it, use Panel instead

Juergen


On 9/2/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> I'm getting the following exception for one page in my app:
>  
>  wicket.markup.MarkupException: There must be exactly one <wicket:body> tag
> for each border compoment.
> [markup = file:/*removed*, index = 1, current = [Raw markup]]
>  at wicket.markup.MarkupStream.throwMarkupException
> (MarkupStream.java:277)
>  at
> wicket.markup.html.border.Border.onComponentTagBody(Border.java:239)
>  at wicket.Component.renderComponent(Component.java:1813)
>  at wicket.markup.html.WebMarkupContainer.onRender
> (WebMarkupContainer.java:78)
>  at wicket.Component.render(Component.java:1130)
>  at
> wicket.MarkupContainer.renderNext(MarkupContainer.java:1107)
>  at
> wicket.MarkupContainer.renderAll(MarkupContainer.java:750)
> 
>  at wicket.Page.onRender(Page.java:761)
>  at wicket.Component.render(Component.java:1130)
>  at wicket.Page.doRender(Page.java:247)
>  The same markup works fine in other pages.  Here's a sample of the markup:
>  
>  <span wicket:id="border">
>                  <tr>
>                      <td class="leftcol">
>                          <span wicket:id="eventSummaryPanel"/>
>                      </td>
>                      <td class="rightcol">
>                          <table cellpadding="0" cellspacing="0"
> width="100%">
>                              <tr>
>                                  <td>
>                                      <table class="node"
> cellpadding="0" cellspacing="0">
>                                          <tr>
>                                              <th>
>                                                  <span
> wicket:id="name">Template name</span>
>                                              </th>
>                                              <th
> style="text-align: right;">
>                                                  <span
> class="edit"><a wicket:id="editTemplateEmail" href="#">EDIT</a></span>
>                                              </th>
>                                          </tr>
>  
>  'eventSummaryPanel' is a Panel that also works great in other pages.  It's
> just this one page that's having the problem.  Any ideas on where to look or
> what to debug?  Setting logging to debug generates a mountain of info.
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to