> All renderers have a method "convertClientId" which we could override > in our renderers to output whatever clientId we want.
I was just wondering about this method in the Renderer interface... When exactly is this called? I couldn't find anything substantial about it in the spec. It seems like it is supposed to be called from the getClientId() method of UIComponentBase (at least that is how MyFaces implementation is working.) Perhaps this would be easier than modifying the clientId manually in the appropriate renderer code. We would still need a directId attribute right? If I understand your idea, you are suggesting that we implement the direct id behavior through getClientId instead of encode() and decode() right? If so, that makes sense. (Unless we are abusing the intended purpose of this method for some way.) > In order to have this functionality, we might want to have an > interface for clientId uniqueness that an extended UIViewRoot could > implement. Not sure what you mean by this. Could you elaborate? (I'm also fuzzy on the requirements for uniqueness both in JSF and XHTML). sean

