Maybe coz the type=".." should be the type of the thing returned by getShippingOption().getWebMessageResourceKey (quick guess so don't laugh if wrong). K.
--- David Larson <[EMAIL PROTECTED]> wrote: > any idea why this works??? > > <struts_bean:define id="shippingOptionKey" name="order" > property="shippingOption.webMessageResourceKey" /> > <% String key="retail.shippingOption." + shippingOptionKey.toString(); %> > <struts_bean:message key="<%=key%>" /> > > but this does not (tried several variations of this)? > > <struts_bean:define id="shippingOptionKey" name="order" > type="java.lang.String" property="shippingOption.webMessageResourceKey" /> > <struts_bean:message key="retail.shippingOption.<%=shippingOptionKey%>" /> > > thx > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>