开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜