Description
when the an innerform is invisible and you called setoutputmarkupplaceholdertag(true), onComponentTag not processed and an invalid form tag name results:
<form wicket:id=rootform>
<form wicket:id=nestedform style="display: none">
</form></form>
Component.render(final MarkupStream markupStream) {
...
if (determineVisibility())
{ // render -> replace form with div } else if (markupStream != null)
{
if (getFlag(FLAG_PLACEHOLDER))
{
final ComponentTag tag = markupStream.getTag();
renderPlaceholderTag(tag, getResponse()); ///////////////////////
Here form does not replace "form" with "div"
}
markupStream.skipComponent();
}
Attachments
Issue Links
- is related to
-
WICKET-6760 Nested Form placeholder should preserve tag name
- Resolved