You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Yogesh Dheenadayalu (JIRA)" <de...@tapestry.apache.org> on 2007/03/21 23:15:32 UTC
[jira] Updated: (TAPESTRY-1381) Cannot change the label of the
"Browse..." button for localization when using the Upload component in
Tapestry 4
[ https://issues.apache.org/jira/browse/TAPESTRY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yogesh Dheenadayalu updated TAPESTRY-1381:
------------------------------------------
Attachment: Tapestry-1381.doc
> Cannot change the label of the "Browse..." button for localization when using the Upload component in Tapestry 4
> ----------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1381
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1381
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0
> Environment: Windows XP Operating system, Intenet Explorer 6.0
> Reporter: Yogesh Dheenadayalu
> Fix For: 4.0
>
> Attachments: Tapestry-1381.doc
>
>
> 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!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org