[jboss-user] [JBoss Seam] - Re: howto display the an enum object internationalized
nickarls
do-not-reply at jboss.com
Fri Aug 3 08:34:04 EDT 2007
"pete.muir at jboss.org" wrote : Post your code :)
| public enum FilterType {
|
| A("orders.filtering.all"),
| O("orders.filtering.open"),
| C("orders.filtering.closed");
|
| private String key
|
| Suodatustyyppi(String key) {
| this.key = key
| }
|
| public String getKey() {
| return key;
| }
|
| }
|
| <ice:selectOneRadio value="#{orderBean.filter}">
| <s:selectItems value="#{orderBean.filterTypes}" var="filter"
| label="#{messages[filter.key]}"/>
| <s:convertEnum />
| </ice:selectOneRadio>
|
PS. Do you work full-time answering questions here? :) Much appreciated for a fresh seam-convert in any case...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070551#4070551
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070551
More information about the jboss-user
mailing list