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
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.