Class WicketContainerTagHandler
java.lang.Object
org.apache.wicket.markup.parser.AbstractMarkupFilter
org.apache.wicket.markup.parser.filter.WicketContainerTagHandler
- All Implemented Interfaces:
IMarkupFilter
This markup filter warns if a wicket:container tag has an attribute besides wicket:id. This is
most likely a programmer mistake because the wicket:container tag won't be available in
deployment mode.
The filter is only active in development mode and does nothing in deployment mode.
- Since:
- 6.0
-
Field Summary
Fields inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
REQUEST_COUNTER_KEY
-
Constructor Summary
ConstructorDescriptionWicketContainerTagHandler
(boolean usesDevelopmentConfig) WicketContainerTagHandler
(MarkupResourceStream resourceStream, boolean usesDevelopmentConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected final MarkupElement
Invoked when a ComponentTag was found.Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getMarkupResourceStream, getNextFilter, getRequestUniqueId, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilter
-
Constructor Details
-
WicketContainerTagHandler
-
WicketContainerTagHandler
public WicketContainerTagHandler(MarkupResourceStream resourceStream, boolean usesDevelopmentConfig)
-
-
Method Details
-
onComponentTag
Description copied from class:AbstractMarkupFilter
Invoked when a ComponentTag was found.By default this method is also called for WicketTags.
- Specified by:
onComponentTag
in classAbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
-