Is there a way to customize the generation of a unique client id from a
component id? We would like to generate the unique id in such a way that
it would not change across most modifications to a page, mainly so
Selenium tests can be written that will work across page redesign. The
current method of appending a suffix to a component id does not seem to
allow this, so we would like to be able to generate a unique id by
prepending the component ids of ancestral components. We could
potentially implement our own PageRenderSupport service, but the
'allocateClientId' method only takes a string parameter, so we don't
have the context we would need (in particular, the ComponentResources of
the component for which we are generating the id). 

 

Thanks,

Doug

 

 

Reply via email to