Hi all,
 
I have an anoying problem with the Tabbed Pane component, if someone could help me....
Here is my case :
A request can be of three type. Each request type share common fields with the others,
only a few fields are are request specific. Instead of developping three forms i decided to
put the specific fields into separate panels in a t:panelTabbedPane component.
The component works fine except that for post-processing purpouses
I need to know which panel has been selected by the user.
 
I already tried several things, including onClick _javascript_ events on the panel tab but I noticed
that the panel tab was rendered as an input button (which is also anoying when customizing
tabs with css because it forces the user to create an ".ActiveTab input" css class)
which turn events inefficient.
 
I also noticed another problem which is reproducible on the examples.
Each tab "seems" to represent a separate form. Except that when i submit the form on
the Tab3, a required value error is thrown on the Tab1.
 
It would be nice to be able to bind an "ActiveTabIndex" property to a managed bean.
This would allow to create true "per tab" forms and also to hide required components
on the inactive tabs.
 
Fred

Reply via email to