Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Struts problem with logic:equal tag

843838Aug 2 2005 — edited Aug 3 2005
Hi-
I'm learning struts & I am having a bit of trouble making this piece code work. It's always showing this table element's text/link. It doesn't seem to respond if the value of betaSetting is true or false. The value of betaSetting is "false" & I only want to show this table element if betaSetting is "true". Could someone give me pointers as to what I might be doing wrong?
thanks in advance.
<logic:present name="UserContainer" property="betaSetting" scope="session">
....
<td width="233" height="1" align="left">
<logic:equal name="UserContainer" property="betaSetting" value="true">
	     <font face="Verdana" size="1" color="#111111">
	    <html:link href="#" style="text-decoration: none" target="frame.main">
	    <font color="#000000"><html:img srcKey="image.bullet" width="21" height="17" border="0"/></font></html:link>
	    <html:link href="#" style="text-decoration: none"  target="frame.main"><font face="Verdana" color="#111111" size="2">
	    <bean:message key="navbar.trans.message"/></font></html:link><font size="1">&nbsp;</font>
	</logic:equal>
</td>
...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2005
Added on Aug 2 2005
1 comment
251 views