RE: logic-match/compare multiple values

2002-11-14 Thread Karr, David
Actually, you don't have to use struts-el for this, your "c:if" expression should 
work, but you might try changing the ">" and "<" to "lt" and "gt".

> -Original Message-
> From: Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in]
> Sent: Thursday, November 14, 2002 1:38 AM
> To: 'Struts Users Mailing List'
> Subject: logic-match/compare multiple values
> 
> 
> Hi,
> 
> We need to match a report ID from one of the scopes with a set of
> integers. Now logic-match example compares with single values.
> Do I have to use struts-el for this ? Are there examples 
> of logic-match
> to do this ?
> 
> The JSTL code that doesn't seem to work is
> 
>   
>   
> 
>   reportBean is the variable name put in one of the scopes.
>   reportID has a matching getter method.
> Thanks,
> Mohan
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>

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




RE: logic-match/compare multiple values

2002-11-14 Thread Mohan Radhakrishnan
Hi,
  Answering my own question.



   


 Now I am using the above. Is this right ? Is there an "and" ?
Thanks,
Mohan
-Original Message-
From: Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in]
Sent: Thursday, November 14, 2002 3:08 PM
To: 'Struts Users Mailing List'
Subject: logic-match/compare multiple values


Hi,

We need to match a report ID from one of the scopes with a set of
integers. Now logic-match example compares with single values.
Do I have to use struts-el for this ? Are there examples of logic-match
to do this ?

The JSTL code that doesn't seem to work is




  reportBean is the variable name put in one of the scopes.
  reportID has a matching getter method.
Thanks,
Mohan

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

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




logic-match/compare multiple values

2002-11-14 Thread Mohan Radhakrishnan
Hi,

We need to match a report ID from one of the scopes with a set of
integers. Now logic-match example compares with single values.
Do I have to use struts-el for this ? Are there examples of logic-match
to do this ?

The JSTL code that doesn't seem to work is




  reportBean is the variable name put in one of the scopes.
  reportID has a matching getter method.
Thanks,
Mohan

--
To unsubscribe, e-mail:   
For additional commands, e-mail: