【问题标题】:Change default button name of Browse in ace:FileEntry更改 ace:FileEntry 中浏览的默认按钮名称
【发布时间】:2012-07-06 03:47:30
【问题描述】:

我正在尝试使用 ace:fileEntry 组件将图像上传到我的数据库,但现在,我想在我的案例“Seleccionar archivo”中更改“浏览”按钮的名称,但我不知道该名称在哪里存储。

                    <ace:fileEntry id="ImageFileEntry" 
                                    fileEntryListener="#{usuarioBean.sampleListener}" 
                                    useSessionSubdir="true">

                    </ace:fileEntry>
                    <h:commandButton id="submit" value="subir"></h:commandButton>

我附上了截图

http://i.stack.imgur.com/8b817.png

谢谢

【问题讨论】:

    标签: java jsf jakarta-ee icefaces icefaces-3


    【解决方案1】:

    ace:fileEntry 将呈现&lt;input type="file"&gt; 元素,此按钮上的文本始终由您的浏览器/浏览器的语言定义。无法更改它,请查看此帖子以获取更多信息和一些解决方法:Change default text in input type="file"?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-02-05
      • 2011-01-12
      • 2017-06-19
      • 1970-01-01
      • 2023-04-06
      • 2010-12-12
      • 1970-01-01
      • 2017-11-30
      相关资源
      最近更新 更多