myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Galen Dunkleberger <galendunkleber...@gmail.com>
Subject How to get component id in jsp
Date Tue, 12 Apr 2005 14:35:54 GMT
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 
onclick="somejavascriptcall('<%=someothercomponent.getClientId()%>')"
/>

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

Mime
View raw message