You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kamholz, Keith (corp-staff) USX" <kk...@moog.com> on 2003/06/06 15:14:16 UTC

RE: Excluding values inside a logic:iterate tag or an html:option s tag

Yes it is.  Use the logic:equal and logic:notEqual tags to do this.
Let me know if you need more info.


Keith Kamholz
Programming and Architecture
Moog Inc.

Phone: (716) 687-7001

www.buffalo.edu/~kkamholz


-----Original Message-----
From: Ionel Gardais [mailto:ionel.gardais@geomath.fr]
Sent: Friday, June 06, 2003 4:08 AM
To: Struts Users Mailing List
Subject: Excluding values inside a logic:iterate tag or an html:options
tag


Hi,

Is it possible to tell these tags that when they hit some values, they 
shouldn't display them ?

Thanks,
ionel



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Excluding values inside a logic:iterate tag or an html:options tag

Posted by Ionel Gardais <io...@geomath.fr>.
you mean to add the <logic:equal> or <logic:notEqual> tags inside the 
<html:options> tag ?
I guess it should work ok inside the logic:iterate tag because you know 
the name of the element at each iteration but how to do the same inside 
an html:options tag ?

I need this because I have a list of person which I want to be displayed 
in a listbox.
I want all the persons to be displayed except the user who ask this 
page. (all people except the one who ask)


thanks,
ionel


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org