You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "andrea.castello" <a....@gmail.com> on 2010/11/23 11:12:00 UTC
close tag not found error in markup
hello all,
in the process og upgrading from Wicket 1.3.x to 1.4.x a lot of my markup
model raise some exception.
One that often occurr is this one:
WicketMessage: close tag not found for tag: . Component: [MarkupContainer
[Component id = toolbar]]
I don't understand what that means, since it all worked fine before I
upgraded Wicket version.
Every tag is properly closed, so I suppose this error hides another one.
Here's my markup:
<wicket:panel>
<caption class="tableCaption">
</caption>
<thead class="rowH">
</thead>
<tbody>
<tr wicket:id="rows">
<td wicket:id="cells">
[cell]
</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</wicket:panel>
Can you suggest me what can be wrong?
Thanks,
Andrea
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3055117.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Is there any code inside toolbar? Is just an empty component?
>
>>> I am very sorry, but it seems like a portion of the code I paste is being
>>> stripped when I post it.
>>>
>>> This is the code that's nested inside the thead tag
>>>
>>> < span wicket:id = "topToolbars">
>>> < span wicket:id = "toolbar"> </ span>
>>>
>>>
>>> Hope it's readable now (all those whitespaces are not in the original
>>> code,
>>> just a trick to make it readable..)
>>>
>>> A.
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by "andrea.castello" <a....@gmail.com>.
Hi Andrea, thank you.
In the original code the span tags are properly closed.
Is it possible that in the 1.4.x versions nested span tags are not allowed
(at least the ones with a wicket:id?
Andrea Del Bene-2 wrote:
>
> Hi Andrea,
>
> maybe have you just missed close tag for topToolbars component? In the
> last code snippet I see just one tag.
>
>> I am very sorry, but it seems like a portion of the code I paste is being
>> stripped when I post it.
>>
>> This is the code that's nested inside the thead tag
>>
>> < span wicket:id = "topToolbars">
>> < span wicket:id = "toolbar"> </ span>
>>
>>
>> Hope it's readable now (all those whitespaces are not in the original
>> code,
>> just a trick to make it readable..)
>>
>> A.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3055290.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Hi Andrea,
maybe have you just missed close tag for topToolbars component? In the
last code snippet I see just one </span> tag.
> I am very sorry, but it seems like a portion of the code I paste is being
> stripped when I post it.
>
> This is the code that's nested inside the thead tag
>
> < span wicket:id = "topToolbars">
> < span wicket:id = "toolbar"> </ span>
>
>
> Hope it's readable now (all those whitespaces are not in the original code,
> just a trick to make it readable..)
>
> A.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by "andrea.castello" <a....@gmail.com>.
Matt, thank you, but original code has no whitespaces.
To add, more the html markup worked perfectly in my app with Wicket 1.3.6
while all seems to break when I upgrade to Wicket 1.4.13
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3055695.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by Matthias Keller <ma...@ergon.ch>.
Hi Andrea
Make sure you remove that whitespace in "< span" - that should be
"<span" and the same for "</ span>" -> "</span>".
Valid HTML must not contain whitespace there.
Matt
On 2010-11-23 11:35, andrea.castello wrote:
> I am very sorry, but it seems like a portion of the code I paste is being
> stripped when I post it.
>
> This is the code that's nested inside the thead tag
>
> < span wicket:id = "topToolbars">
> < span wicket:id = "toolbar"> </ span>
>
>
> Hope it's readable now (all those whitespaces are not in the original code,
> just a trick to make it readable..)
>
> A.
Re: close tag not found error in markup
Posted by "andrea.castello" <a....@gmail.com>.
I am very sorry, but it seems like a portion of the code I paste is being
stripped when I post it.
This is the code that's nested inside the thead tag
< span wicket:id = "topToolbars">
< span wicket:id = "toolbar"> </ span>
Hope it's readable now (all those whitespaces are not in the original code,
just a trick to make it readable..)
A.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3055158.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by "andrea.castello" <a....@gmail.com>.
Sorry, I didn't paste all the code :(
Here is the correct one where the span with is "toolbar" appears
<wicket:panel>
<caption class="tableCaption">
</caption>
<thead class="rowH">
</thead>
<tbody>
<tr wicket:id="rows">
<td wicket:id="cells">
[cell]
</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</wicket:panel>
Thanks again, Andrea
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3055144.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by Matthias Keller <ma...@ergon.ch>.
Hi Andrea
The error is:
> WicketMessage: close tag not found for tag: . Component: [MarkupContainer
> [Component id = toolbar]]
I can't see a wicket:id="toolbar" in your posted code, so the problem
appears to be somewhere else on that page including the posted panel.
Try to find that "toolbar" - there appears to be the problem
Matt
Re: close tag not found error in markup
Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Yes, I remember having to fix my own extension of DataTable when
migrating between two 1.4.x versions. That might be the change you
mention.
Ernesto
On Wed, Nov 24, 2010 at 5:55 PM, Andrea Del Bene <ad...@ciseonweb.it> wrote:
> Since version 1.4.6 DataTable HTML has changed to fix
> https://issues.apache.org/jira/browse/WICKET-2620. Component with id
> "toolbar" has been removed and that should cause the problem reported by
> Andrea.
>
> Until 1.4.5
>
> /<wicket:panel>
> <thead wicket:id="topToolbars">
> <wicket:container wicket:id="toolbar"></wicket:container>
> </thead>
> <tfoot wicket:id="bottomToolbars">
> <wicket:container wicket:id="toolbar"></wicket:container>
> </tfoot>
> <tbody>
> <tr wicket:id="rows">
> <td wicket:id="cells">
> <span wicket:id="cell">[cell]</span>
> </td>
> </tr>
> </tbody>
> </wicket:panel>
> /
> After 1.4.5
>
>
> /<wicket:panel>
> <thead>
> <wicket:container wicket:id="topToolbars"></wicket:container>
> </thead>
> <tfoot>
> <wicket:container wicket:id="bottomToolbars"></wicket:container>
> </tfoot>
> <tbody wicket:id="body">
> <tr wicket:id="rows">
> <td wicket:id="cells">
> <span wicket:id="cell">[cell]</span>
> </td>
> </tr>
> </tbody>
> </wicket:panel>
> /
>>
>> Please create application that shows the problem. Zip it and attach it to
>> a
>> ticket in Jira.
>> Thanks!
>>
>> On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello<
>> a.castello.pronetics@gmail.com> wrote:
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: close tag not found error in markup
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Since version 1.4.6 DataTable HTML has changed to fix
https://issues.apache.org/jira/browse/WICKET-2620. Component with id
"toolbar" has been removed and that should cause the problem reported by
Andrea.
Until 1.4.5
/<wicket:panel>
<thead wicket:id="topToolbars">
<wicket:container wicket:id="toolbar"></wicket:container>
</thead>
<tfoot wicket:id="bottomToolbars">
<wicket:container wicket:id="toolbar"></wicket:container>
</tfoot>
<tbody>
<tr wicket:id="rows">
<td wicket:id="cells">
<span wicket:id="cell">[cell]</span>
</td>
</tr>
</tbody>
</wicket:panel>
/
After 1.4.5
/<wicket:panel>
<thead>
<wicket:container wicket:id="topToolbars"></wicket:container>
</thead>
<tfoot>
<wicket:container wicket:id="bottomToolbars"></wicket:container>
</tfoot>
<tbody wicket:id="body">
<tr wicket:id="rows">
<td wicket:id="cells">
<span wicket:id="cell">[cell]</span>
</td>
</tr>
</tbody>
</wicket:panel>
/
> Please create application that shows the problem. Zip it and attach it to a
> ticket in Jira.
> Thanks!
>
> On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello<
> a.castello.pronetics@gmail.com> wrote:
>
>
Re: close tag not found error in markup
Posted by Martin Grigorov <mg...@apache.org>.
Please create application that shows the problem. Zip it and attach it to a
ticket in Jira.
Thanks!
On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello <
a.castello.pronetics@gmail.com> wrote:
>
> Basically, it is a (supposed) bug in version 1.4.13, something very similar
> to this
> https://issues.apache.org/jira/browse/WICKET-2620
>
> Downgrading to 1.4.5 solved my issue.
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3057578.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: close tag not found error in markup
Posted by "andrea.castello" <a....@gmail.com>.
Basically, it is a (supposed) bug in version 1.4.13, something very similar
to this
https://issues.apache.org/jira/browse/WICKET-2620
Downgrading to 1.4.5 solved my issue.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3057578.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org