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:05:32 UTC

[jira] Created: (TAPESTRY-1381) Cannot change the label of the "Browse..." button for localization when using the Upload component in Tapestry 4

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


We are using the Upload component to upload files in our application. Here is a code snippet

                   <tr>
                     <td nowrap="nowrap">&nbsp;</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">&nbsp;</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


[jira] Updated: (TAPESTRY-1381) Cannot change the label of the "Browse..." button for localization when using the Upload component in Tapestry 4

Posted by "Yogesh Dheenadayalu (JIRA)" <de...@tapestry.apache.org>.
     [ 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">&nbsp;</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">&nbsp;</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


[jira] Resolved: (TAPESTRY-1381) Cannot change the label of the "Browse..." button for localization when using the Upload component in Tapestry 4

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-1381.
-------------------------------------

    Resolution: Invalid
      Assignee: Jesse Kuhnert

Sounds like a good idea, but Tapestry has no control over the label of the upload button. We don't even write it out. The browsers do that part natively. 


> 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
>         Assigned To: Jesse Kuhnert
>             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">&nbsp;</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">&nbsp;</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