Sorry, I should have been clearer. In the renderer code on the server-side
my component overrides the XhtmlRenderer.getOnclick() to insert some custom
javascript. Within this method I'd like to be able to call getClientId() on
the component to grab the id.
Currently I'm having to use eval
Well, if the component is not passed in, you can't. The question is if
the method signature should be changed.
regards,
Martin
On 2/28/07, Danny Robinson [EMAIL PROTECTED] wrote:
Sorry, I should have been clearer. In the renderer code on the server-side
my component overrides the
anyone ;-)
On 2/23/07, Danny Robinson [EMAIL PROTECTED] wrote:
Guys,
Any advice on how to easily retrieve the component ID from within an
overridden method such as XhtmlRenderer.getOnclick(). The only parameter
to this is FacesBean.Type, and not the component itself.
Thanks,
Danny
--
Keeping in mind that I have barely a day's worth of practical
javascript experience, maybe this.id or something along those lines?
On 2/27/07, Danny Robinson [EMAIL PROTECTED] wrote:
anyone ;-)
On 2/23/07, Danny Robinson [EMAIL PROTECTED] wrote:
Guys,
Any advice on how to easily retrieve
Guys,
Any advice on how to easily retrieve the component ID from within an
overridden method such as XhtmlRenderer.getOnclick(). The only parameter to
this is FacesBean.Type, and not the component itself.
Thanks,
Danny
--
Chordiant Software Inc.
www.chordiant.com