Just browse through the Struts User Guide and look at the "logic" tags. Almost all of these will conditionally include the nested content if a test succeeds. Also note that the JSTL (JavaServer Pages Standard Tag Library) has some analogous functionality.
> -----Original Message----- > From: Jason Vinson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 12:23 PM > To: Struts Users Mailing List > Subject: conditional visibility of html elements > > Is there an easy way in struts to make an html element visible based on a > conditional statement. I used to use Barracuda, and there was the concept > of a BComponent, which you could set to null to remove the element, or > just pass a plain BComponent to keep the element. Is there anything like > that here? > > TIA, > Jason > > --------------------------------------------------------------------- > 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]