Re: Dynamic value supplied s:text name in struts 2

2009-06-26 Thread Graham Down
Users Mailing List user@struts.apache.org Sent: Thursday, June 25, 2009 6:02 PM Subject: Re: Dynamic value supplied s:text name in struts 2 Correction on this question. With Struts1 the following would work: JSP: % String productType = [get the productType from the form] String productTypeI18nKey

Dynamic value supplied s:text name in struts 2

2009-06-25 Thread gdown
With Struts1 the following would work: JSP: % String productType = [get the productType from the form] String productTypeI18nKey = product.type.list. + productType; % html:text property=%=productTypeI18nKey%/ With the Struts2, how would I do the same. I've tried: JSP: % String

Re: Dynamic value supplied s:text name in struts 2

2009-06-25 Thread gdown
Correction on this question. With Struts1 the following would work: JSP: % String productType = [get the productType from the form] String productTypeI18nKey = product.type.list. + productType; % bean:message key=%=productTypeI18nKey%/ With the Struts2, how would I do the same. I've tried: