On Fri, 30 May 2003, Yves Sy wrote: Pardon me for not looking at the source to confirm this, but my guess on what your problem is that the bean tag will try to convert your bean property to a String before rendering it. Try making your property an Integer instead of an int and see if it renders correctly.
--Melissa > Hi! I am currently involved in a project that uses Struts 1.1 (RC1) on > Weblogic 6.1. We noticed that there seems to be a problem with Struts' > <bean:write> tag when the property in the bean that we want to display is > NOT of type String. The String properties display fine but properties of > other types such as "int" produce a "Cannot find key > org.apache.struts.action.ACTION_MESSAGE" error message or something similar > to that. We were able to confirm that our bean does indeed contain the int > value we want to display because it worked just fine when we used a > scriptlet to display it. > > To elaborate: > <bean:write name="myBean" property="myProperty.name"/> works fine > because "name" is a String... but... > <bean:write name="myBean" property="myProperty.id"/> does not work since > "id" is of type "int". > > Anyone aware of this problem with Weblogic 6.1? ------------------------------ Melissa L Kelley [EMAIL PROTECTED] www.stuology.net ------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

