Re: add html-attribute to a tab

2009-07-16 Thread ptrash

So, it is not possible?
-- 
View this message in context: 
http://www.nabble.com/add-html-attribute-to-a-tab-tp24468087p24512963.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: add html-attribute to a tab

2009-07-16 Thread Jonas
usually, you can attach an AttributeModifier to the component
representing the tag, like
new AttributeModifier(title, true, new Model(The Title Text))

I never tried it in a TabbedPanel, but its probably one of the
Components generated
by one of the newXXX methods on TabbedPanel where you should attach
the attribute modifier

cheers,
Jonas



On Thu, Jul 16, 2009 at 11:12 AM, ptrashptr...@web.de wrote:

 So, it is not possible?
 --
 View this message in context: 
 http://www.nabble.com/add-html-attribute-to-a-tab-tp24468087p24512963.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



add html-attribute to a tab

2009-07-13 Thread Pi Trash
Hi,

I generate a tab navigation panel and use a name abbreviation for the tab label:


ITab tab = (new AbstractTab(new ModelString(nameAbbreviation)) {
private static final long serialVersionUID = 1L;

@Override
public Panel getPanel(String id) {
// Do something
}
});

tabs.add(tab);

this.add(new TabbedPanel(tabNavigationPanel, tabs));


Is it possible to add the tabs a title-Attribute which contains the full name 
of the tab. The html then would something like the following:

...
li title=This is the full label of the tabThis is an abbreviation/li
...


Thanks for your help...

Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org