You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2007/11/26 21:41:43 UTC

[jira] Commented: (WICKET-1185) Wrong message / parse error: "Expected close tag for "

    [ https://issues.apache.org/jira/browse/WICKET-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545591 ] 

Juergen Donnerstag commented on WICKET-1185:
--------------------------------------------

I agree the error message could be better. The mistake is that in OtherBorder the body tag is inside another container. Wicket does not know that right now (next release) but you can tell it via container.add(getBodyContainer()))

public class OtherBorder extends Border
{
	public OtherBorder(String id)
	{
		super(id);
		add(new WebMarkupContainer("borderThing")
		{
			protected void onComponentTag(ComponentTag tag)
			{
				tag.put("attributeName", "attributeValue");
				super.onComponentTag(tag);
			}
>>>>>		}.add(getBodyContainer()));  <<<<<

	}
}


> Wrong message / parse error: "Expected close tag for <span wicket:id="column0">"
> --------------------------------------------------------------------------------
>
>                 Key: WICKET-1185
>                 URL: https://issues.apache.org/jira/browse/WICKET-1185
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>         Environment: Linux
>            Reporter: Johannes Schneider
>         Attachments: bug-search.zip
>
>
> I get the message "Expected close tag for <span wicket:id="column0">". But the span is closed. So there exists an parse error or the error message is misleading.
> I am not a Wicket expert, so I think I have an error within my code and the error message is not good enough (for me).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.