You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ricardo Rog <Ri...@softproject.de> on 2011/08/10 15:38:07 UTC

[Trinidad] Dynamic Tabs

Hello there, 

 

I have a question about tabs with Trinidad. My use-case is the following: I
have a tr:selectManyListBox in which a user can select a set of values. For
each selected value I want to add a Tab so that the user can do some
adjustments that depend on the selected values. 

 

My problem is that I don't know how to display the tabs dynamically (user
selects 2 items: 2 tabs appear, user deselects 1 item, tab disappears). My
first idea was to use tr:panelTabbed or tr:navigationPane but they both
don't allow components like tr:iterator (to iterate trough the list of
selected items from tr:selectManyListBox). What could be a way to solve this
problem?

 

Yours, 

 

Ricardo Rog