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 2007/03/12 18:50:09 UTC
[jira] Resolved: (WICKET-380) How to set TABPanels'titel to
EscapeModel(false)
[ https://issues.apache.org/jira/browse/WICKET-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-380.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.0
> How to set TABPanels'titel to EscapeModel(false)
> ------------------------------------------------
>
> Key: WICKET-380
> URL: https://issues.apache.org/jira/browse/WICKET-380
> Project: Wicket
> Issue Type: New Feature
> Components: wicket-extensions
> Affects Versions: 2.0
> Reporter: Stefan Lindner
> Priority: Trivial
> Fix For: 2.0
>
>
> To let a TABPanel's title label display whatever we want (e.g. to setEscapeModelString(false)) we need a callback method like the one for the linke the one for
> protected WebMarkupContainer newLink(MarkupContainer parent, String linkId, final int index)
> {
> return new Link(parent, linkId)
> {
> private static final long serialVersionUID = 1L;
> @Override
> public void onClick()
> {
> setSelectedTab(index);
> }
> };
> }
> Then we can overwrite the e.g. newLinkLabel method in an annonymous class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.