[ https://issues.apache.org/jira/browse/WICKET-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681633#action_12681633 ]
Martin Makundi commented on WICKET-2166: ---------------------------------------- Sends internet explorer ballistic so it is major, though easy to workaround. > Invalid nested form tag name when the form is not visible and > setoutputmarkupplaceholdertag(true) has been called > ----------------------------------------------------------------------------------------------------------------- > > Key: WICKET-2166 > URL: https://issues.apache.org/jira/browse/WICKET-2166 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.4-RC2 > Reporter: Martin Makundi > Original Estimate: 1h > Remaining Estimate: 1h > > 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(); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.