Possible to access disabled tab in tabView. #1882

karkok opened this Issue Nov 7, 2016 · 1 comment


None yet

3 participants

karkok commented Nov 7, 2016 edited

1) Environment

  • 5.3.5.
  • Tomcat 7.0.59
  • IE 11, Chrome, FireFox

2) Expected behavior

You shouldn't be able to access disabled tab in tabView.

3) Actual behavior

You can access disabled tab in tabView.

4) Steps to reproduce

  1. Go to the page where you have tabView with couple of tabs, where at least one is disabled.
  2. Click left mouse button on the disabled tab and keep the button pressed + tap 'Enter' button on the keyboard. (or left mouse button + enter simultaneously.
  3. Disabled tab is rendered.

5) Sample XHTML

<p:tabView id="id1">
    <p:tab id="tab1">
          <p:panel id="panel1">
    <p:tab id="tab2">
          <p:panel id="panel2" disabled="true">
                    Hello from disabled tab.


6) Sample bean

Not needed.

Rapster commented Dec 11, 2016

None of your tabs are disabled actually.... Is the sample correct?

@mertsincan mertsincan added this to the 6.1 milestone Dec 12, 2016
@mertsincan mertsincan added a commit that closed this issue Dec 12, 2016
@mertsincan mertsincan Fixed #1882 c68e9d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment