If you're using the extendd component set for your component, you can use the forceId attribute, which will make the clientId equal to the id.
 
However, if that's not an option the easiest way would probably be just to do a component-binding for the component whose clientId you need, and then expose the clientId wit a getter.

 
On Apr 12, 2005 9:35 AM, Galen Dunkleberger <[EMAIL PROTECTED]> wrote:
Is there a good way to pull the client id of a particular component in
the jsp? What I'm trying to do is pass the id to _javascript_ calls. I
know how to figure out the id manually but is would be nice to be able
to do something like this...

<h:someComponent
>/>

Anyone have any ideas how this might work?
                                                    Thanks,
                                                        Galen



--
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to