Hi Andrew,
 
Thanks for the reply.Ideally we should have a feature similar to 
"disableOnClientSide" for t:inputFileUpload component. I am not sure about 
others but i feel that on many of the UI's the user is required to necessarily 
browse and not enter it manually to avoid user errors.
What you have suggested is a patch. I had tried implementing it but faced some 
problems.
 
Thanks,
Madhav

________________________________

From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Fri 7/20/2007 6:41 AM
To: MyFaces Discussion
Subject: Re: disable input text box generated from t:inputFileUpload



input file is not stylable (IE lets you do a little). There are many
hacks out there to style it. Some involve putting an image over it,
and such. Just google for searches like "input file css style".

If you set the width small enough, the text box goes away. The problem
is that the font on the button can change per user and per browser
vendor, so it is near impossible to know how wide to make it.

On 7/19/07, Madhav Bhargava <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a requirement where the user should not be given control to directly
> type in the path of a file. The user needs to necessarily click the browse
> button and then the path will then be populated in the "disabled on client
> side" input text that gets generated via this component.
>
> I could only find one disabled property on that component but that does not
> do the trick.
>
> Do you have any suggestions?
>
> Thanks,
> Madhav
>
> --
> When I tell the truth, it is not for the sake of convincing those who do not
> know it, but for the sake of defending those that do


<<winmail.dat>>

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to