There's no standard way to set the label of a file input button. This is nothing to do with Struts, it's an HTML issue. Try googling for more info. For example:

http://www.htmlcodetutorial.com/help/archive.php/o_t__t_321__can-i-change-the-label-of-browse-button-in-file-control.html

Sven Tschirner wrote:

Hello, list

I hava a problem with struts's html:file as I dont know how to alter the name 
for
button which comes with this input-tag. Normally its called "browse" but I want to name it depending on the particuliar language adjusted by the user
I have already used a bundle-element like:

<html:file size="30" property="sld-file" key="general.littleHelps.load" 
bundle="<%=lang%>"/>

but without any success. Has anybody any hints for???

Best regards, Sven


--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to