HI ! I am trying to make a custom component, a sortable column which is a column with an output text and 2 command buttons at its header.
I extends the UIcolumn component and put a htmlPanelGrid in it header. HtmlPanelGrid contains an output text and 2 command buttons. I am trying to a assign id to these component using View as FacesContext.getCurrentInstance().getViewRoot().createUniqueId(); Now it displays everything fine for the first time. But when I click any of these buttons, cells of the column disappears and I left with empty column. Does any one have any idea why this is happening. With regards Amit ps: When I don't assign ids everything works fine except that I got a warning saying automatic id is assigned to these components.

