disabled p:tab renders and enables inside content

UI Components for JSF
Post Reply
User avatar
icarus
Posts: 37
Joined: 11 Sep 2011, 14:52
Location: Ciudad del Este, Paraguay
Contact:

23 Oct 2014, 15:10

when I get into my edit page the tabs are disabled, ok there

but the content (addDetail01.xhtml) of tab01 is displayed and enabled

first I was setting dynamic=true then removed, same behavior

do I missing something ?

using
  • JSF 2
    Primefaces 5.0
    JBossAS 7.1.1

Code: Select all

        <p:tabView id="extras" >
        
            <p:tab id="tab01" title="tab01" 
                       disabled="#{backingBean.disabledTab}" >
                
                <ui:include src="/clients/addDetail01.xhtml" />

            </p:tab>
            
            <p:tab id="tab02" title="tab02" 
                       disabled="#{backingBean.disabledTab}" >
                
                <ui:include src="/clients/addDetail02.xhtml" />

            </p:tab>
            
        </p:tabView>
Betto McRose [ icarus ]
IcarusDB
http://about.me/mcrose

PrimeFaces 5.3
Eclipse { by now Mars/Neon } + JBossTools { lasted }
JSF { by default 2.0 } provided by runtime->[ by now WildFly 9.0.2 ]
on Manjaro {by now 17} + Gnome 3

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests