Details
Description
We are using the Upload component to upload files in our application. Here is a code snippet
<tr>
<td nowrap="nowrap"> </td>
<td>
<span jwcid="@FieldLabel" field="component:upload" displayName="message:file"></span>:<br>
<input jwcid="upload@Upload" file="ognl:file" type= "file" size="46" maxlength="256"
validators="validators:required" displayName="message:file"/>
</td>
<td nowrap="nowrap"> </td>
</tr>
The display name is from a properties file. We are doing this to enable the localization of the application. But the label of the browse button always shows up as "Browse..." no matter what the display name is.
As per the link http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Upload.html I think the label should be from the displayName.
How can we localize the Browse button that shows up on the upload page.
Thank you!