How to compare two beans using logic tags

2003-03-07 Thread Renato Romano
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

Re: How to compare two beans using logic tags

2003-03-07 Thread Nicolas De Loof
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

Re: How to to a OR with logic tags

2002-11-13 Thread Charles
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

How to to a OR with logic tags

2002-11-12 Thread Charles
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

Re: How to to a OR with logic tags

2002-11-12 Thread Richard Yee
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.