Does anyone knows how to compare two beans (or beans properties) using
logic:equal or logic:greaterThan tags ?In the docs it is said that the
value attribute should be a constant value ...
Thanks
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial
bean:define id=prop1 name=bean1 property=someProperty /
logic:equals name=bean2 property=anotherProperty value=%= prop1
%
...
/logic:equals
Nico.
Does anyone knows how to compare two beans (or beans properties)
using
logic:equal or logic:greaterThan tags ?In the docs it is said that
the
Thanks for the prompt reply Richard. I'll check out JSTL
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 10:22 PM
Subject: Re: How to to a OR with logic tags
Charles,
I'd suggest checking out
Hi I'm still quite new with Struts. I want to do a OR comparison using the
html:logic tags. Does anyone has any idea how this can be done?
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Charles,
I'd suggest checking out the conditional tags in the JSTL to do the OR
operation rather than using the Struts logic tag. You will find that the
JSTL expression capability and if, choose, when, and otherwise tags make it
easier to do complex logic than the struts conditional tags do.
5 matches
Mail list logo