dev@woodstock.java.net

Re: Upload components ID

From: Dan Labrecque - Sun Microsystems <Dan.Labrecque_at_Sun.COM>
Date: Mon, 26 Mar 2007 11:33:53 -0500

This sounds like a regression due to some recent label changes. Please
file a bug.

Priti Tiwary wrote:
> Hi,
> I have an upload component in my page with a FileChooser. Either can
> be chosen using radio button. I was able to disable the upload
> component using javascript command which returned me the right component.
> webui.suntheme.upload.getInputElement("uploadComponentId")
>
> But now it does not work?
> On debugging i realised that
> webui.suntheme.upload.getInputElement("uploadComponentId__com.sun.webui.jsf.upload")
>
>
> returns the right component.
>
> What change we need to do to get the right uploadComponent ID?
> Priti
>