How to position a commandButton on top of tabview header ?
I tried out this but failed to position the commandButton on top of tabview. Instead the commandButton gets hidden by the tabview
<h:commandButton value="View all" style=" float:right; z-index: 1000;" />
<p:tabView style=" z-index: 5;" >
<p:tab ...>
</p:tab>
<p:tab ...>
</p:tab>
</p:tabView>
If you add
position:absolute;to your<h:commandButton>style it will be on top of the<p:tabView>.