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 2008/03/28 18:34:27 UTC

[jira] Updated: (WICKET-1458) Changing tag name and expanding open-close to open-body-close prints old tag name

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

Igor Vaynberg updated WICKET-1458:
----------------------------------

    Fix Version/s: 1.3.3
         Assignee: Gerolf Seitz

> Changing tag name and expanding open-close to open-body-close prints old tag name
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-1458
>                 URL: https://issues.apache.org/jira/browse/WICKET-1458
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.2
>            Reporter: John Patterson
>            Assignee: Gerolf Seitz
>             Fix For: 1.3.3
>
>
> I do this:
> 					@Override
> 					protected void onComponentTag(ComponentTag tag)
> 					{
> 						tag.setName("select");
> 						if (tag.isOpenClose())
> 						{
> 							tag.setType(XmlTag.OPEN);
> 						}
> 						super.onComponentTag(tag);
> 					}
> and the close tag that is generated is not a "select" but the old "input"
> This can be fixed in Component line 2485:
> 							// Close the manually opened panel tag.
> 							getResponse().write(openTag.syntheticCloseTagString());
> could be changed to 
> 							// Close the manually opened panel tag.
> 							getResponse().write(tag.syntheticCloseTagString());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.