Did you implement StateHolder or Serializable for your new component? A common mistake when creating new components is to forget to do this, and the symptom is that it works the first time the page is requested and then stops working because all of the internal state is lost on the next request.
On 2/10/06, Amit Jain <[EMAIL PROTECTED]> wrote: > 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. > >

