dev@woodstock.java.net

Upload components ID

From: Priti Tiwary <Priti.Tiwary_at_Sun.COM>
Date: Fri, 23 Mar 2007 17:16:07 -0700

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

-- 
Priti Tiwary
Open ESB Community (http://open-esb.org)