You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Renzo Tomaselli <re...@tecnotp.it> on 2007/03/28 16:10:48 UTC
[Trinidad] tr:navigationPane - adding a tab close widget
Hi all, I use tr:navigationPane to assembly a tabber (hint="tabs"). It
works fine.
Now I noticed that it's fairly common for today's tabs (see Firefox,
Eclipse, etc.) to hold a small closing icon for the purpose of removing
that tab altogether.
This occurring besides the original behavior of the tab, handled as a
command for selection purposes within a nodeStamp facet.
I tried to insert two tr:commandNavigationItem in the facet, but
Trinidad complains about this, not being the expected single command.
Is there any other trick to achieve this behavior - besides cloning
tr:navigationPane to accept a further command (either through more
attributes or by accepting a more complex facet) ?
Comments are welcome.
-- Renzo