You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Roland Foerther (JIRA)" <ji...@apache.org> on 2015/11/07 15:15:11 UTC

[jira] [Created] (WICKET-6026) Problem in detecting child id on nested

Roland Foerther created WICKET-6026:
---------------------------------------

             Summary: Problem in detecting child id on nested <wicket:enclosure>
                 Key: WICKET-6026
                 URL: https://issues.apache.org/jira/browse/WICKET-6026
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 7.1.0
            Reporter: Roland Foerther


If you nest <wicket:enclosure> as following 

		<wicket:enclosure child="labelOuter">
			Outer Enclosure <span wicket:id="labelOuter"/>

			<wicket:enclosure>
				Inner Enclosure <span wicket:id="labelInner" />
			</wicket:enclosure>
		</wicket:enclosure>

you get an error:

"You most likely forgot to register the EnclosureHandler with the MarkupParserFactory
 MarkupStream: [unknown]
	at org.apache.wicket.markup.html.internal.Enclosure.<init>(Enclosure.java:112)
	at org.apache.wicket.markup.parser.filter.EnclosureHandler$1.newComponent(EnclosureHandler.java:62)"

The error occurs independent of the visibility of the enclosed components.   
This markup works perfect in Wicket 6.20.0


 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)