I have a set of tags based on If that includes AND/OR, which can be
downloaded from Ted husted's site (reference is shown under "Contributor
Taglib on the strust site):
http://jakarta.apache.org/struts/userGuide/resources.html
http://husted.com/about/struts/logic-niallp.htm
However this was recently discussed on the Dev list and 9 out of 10
committers (well 3 actually - Craig McClanahan, Martin Cooper, Ted Husted)
preferred the JSPTL route than this.
I include links to that thread below:
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02946.html
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02947.html
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02959.html
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02960.html
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02962.html
Niall
> -----Original Message-----
> From: Eric Rizzo [mailto:erizzo@opennetwork.com]
> Sent: 01 October 2001 17:06
> To: struts-user@jakarta.apache.org
> Subject: AND/OR with logic tags
>
>
> Sorry if this has already been asked/answered here - the mail
> archive doesn't
> let me search for "AND OR".
>
> Is there a way to have multiple conditional logic with the Struts
> logic taglib?
> For example, "IF (user is present) OR (visitor equals true)".
>
> TIA,
> Eric
> --
> Eric Rizzo, Software Engineer
> OpenNetwork Technologies
> http://www.opennetwork.com
> -----------------------------
> I embrace my personality flaws, for without them
> I might have no personality at all.
>
|