struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger <roger.var...@googlemail.com>
Subject re: Possible bug with <s:select> Struts 2.0.11
Date Mon, 01 Sep 2008 19:16:43 GMT
Sorry for the noise. Please ignore me. My only excuse is that it's been a long 
day trying to get to grips with the framework.

Regards


>Hi
>
>Using the <s:select> tag when getting the data from the action, appears not 
>o 
>retrieve the label text from my resource bundle. but when I list the options 
>in the jsp it does. So;
>
><s:select label="label.homeInsurance.details.housetype"
>                                 name="housetype"
>                                  list="houseType"
>                                  required="true"
>                                 headerKey="-1"
>                                  headerValue="--Select--"
>                                 cssClass="select"
>                                  /> 
>
>displays "label.homeInsurance.details.housetype" as the text for the label 
>whereas;
>
><s:select key="label.homeInsurance.details.owner"
>                                  name="owner"
>                                  headerKey="-1"
>                                  headerValue="--Select--"
>                                  
>list="#{'01':'Owner', '02':'Tenant','03':'Other'}"
>                                  required = "true"
>                                  cssClass="select"/>
>correctly displays the text from my resource bundle.
>
>Have I missed something before I report a bug?         
Mime
View raw message