开发者

Struts2 + <s:select/> tag + "headerValue" attribute

开发者 https://www.devze.com 2023-02-05 05:47 出处:网络
Is it possible to get 开发者_运维技巧the value of \"headerValue\" attribute in the \"select\" tag from resource bundle in case I am using internationalization?

Is it possible to get 开发者_运维技巧the value of "headerValue" attribute in the "select" tag from resource bundle in case I am using internationalization?

What are other possible options?

BR SC


Yes you can... hope you already have have a property file...

In Properties file,

propertyKey=List Header Value

Call it as follows in tag,

<s:select list="itemList" headerKey="0" headerValue="%{getText('propertyKey')}"/>

Hope this will help....

0

精彩评论

暂无评论...
验证码 换一张
取 消