CheckId Uniqueness error in JSF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deeptiprakashr
    New Member
    • Sep 2009
    • 5

    CheckId Uniqueness error in JSF

    Hi,
    There is a scenario in my application where in there are 2 tabs,by default the first tab is always selected and accordingly a dataTable is displayed.
    Similarly there is a second tab which has a datatable associated as well.
    Every row in the datatable has checkBoxes ,on checking and submit action,pop ups are displayed on submitting the pop up ,another pop up comes up ,this works perfectly for the first tab but i get
    CheckId Uniqueness error everytime i click on submit for the second tab.
    My bean is in session scope.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Is that error coming from JSF or from the database?
    Post the full error message that you get.

    Comment

    • deeptiprakashr
      New Member
      • Sep 2009
      • 5

      #3
      Hi,
      The error is from JSF datatable id
      Below is the error Im getting
      java.lang.Illeg alStateExceptio n: Component ID mf:myForm:XXXTa bId1:verticalSc rollBody_column Tab:j_id3 has already been found in the view.

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Give your tables and tabs different Ids.

        Comment

        Working...