[
https://issues.apache.org/jira/browse/WICKET-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg updated WICKET-380:
---------------------------------
Fix Version/s: 1.3
Affects Version/s: 1.3
> 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: 1.3, 2.0
> Reporter: Stefan Lindner
> Priority: Trivial
> Fix For: 1.3, 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.