> How about this: > Why not store the Ids as a map mapping a clientId to a component. > Then, you can just pull the component out of the map (if one exists), > and check for equivalence. if they are equal, no problems.
Well the problem would be that I don't have a reference to the component. I'm doing this in the renderer. The id is being assigned by the component class itself (as we discused) but the enforcement is being handled by the renderer (as of now.) This is because this is really an HTML issue (that the id's be unique) and so it really should be up to the renderer. So I'm doing this in convertClientId. Ultimately I may have to move it somewhere else because of this issue but I'd like to keep there if possible. There must be a way to know whether the state is being restored or not. Somehow JSF knows because its only a problem every other time I load the page. Any other ideas?

