You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2009/03/13 15:41:50 UTC

[jira] Resolved: (WICKET-2166) Invalid nested form tag name when the form is not visible and setoutputmarkupplaceholdertag(true) has been called

     [ https://issues.apache.org/jira/browse/WICKET-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2166.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC3

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.4-RC3
>
>   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.