Try using getClientId() instead. That's the id that is dynamically generated
for forms/lists.

On 3/7/06, Aslak Gronflaten <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a component (a button) within another component (a calendar
> component).
> When several calendars are present on the page, the button's ID  (the
> one visible to javascript) are btn ,  btn_0 , btn_1  etc.
> How can I get this id, in order to pass it to my @Script ?
> getID() only returns btn , and neither getExtendedId() and getIdPath()
> return the desired id.
> Any suggestions?
>
> --
> Thanks,
> Aslak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to