I was creating a custom jsf component to use and I noticed that the component instance that is passed to the renderer decode method is different than the one passed to the encodeBegin,encodeEnd.
This seems to be a bug since I want to be able to set some values taken from outside params onto the component within the decode and later in the encodeBegin access the component with the updated values.
Currently the component loses the values set on it due to the component instance being different when the encodeBegin is called.
Has anyone else had this issue?
This is nothing to do with Seam but your JSF impl.
Anyway, you need to make your component implement Stateholder, and in the implementation of saveState and restoreState make sure you save and restore any non-transient variables.