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 combined with this.id to workaround this
issue, but it's not very clean.

Danny

On 2/27/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:

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 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
>
>
>
>
> --
> Chordiant Software Inc.
> www.chordiant.com
>




--
Chordiant Software Inc.
www.chordiant.com

Reply via email to