The <bean:write/> is fine. I know that works. The problem is with the logic:equal comparion.
<logic:iterate id="tz" name="timezones"> <logic:equal name="accountProfileForm" property="timeZone" value="${tz}.value"> <bean:write name="tz" property="label"/> </logic:equal> </logic:iterate> How can I say that the value I want to check against if the getValue() method from the "tz" variable? -----Original Message----- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 1:29 PM To: Struts Users Mailing List Subject: Re: Logic Tag Question On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > <bean:write name="tz" property="label"/> > But the problem is that the "value" that I want to compare in the > logic:equal tag is really ${tz}.value. But how can I set the value to > the "getValue()" from the "tz" variable. None of these works? <bean:write name="tz.value" property="label"/> <bean:write name="tz" property="value.label"/> <bean:write name="tz.value.label"/> Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]