J Gotsch wrote:
> I guess my problem is larger than using an if/else statement.
This much is certainly true ;)
> I figured how to do that, but I'm iterating over a List in the JSP, and want
> to be able to exit the loop whenever certain item exist. I don't suppose
> there's a way to do that, i
Filter the List before sent to jsp, can you do it? or you must do it in
jsp?
you can implement your own custom tag extending iterate.
Other solution is to define a variable in jsp with c:set when you found
and item, and only print when variable isn't set or false.
Take a look to jstl common tag
I guess my problem is larger than using an if/else statement. I figured how to
do that, but I'm iterating over a List in the JSP, and want to be able to exit
the loop whenever certain item exist. I don't suppose there's a way to do that,
is there?
My requirement in a nutshell: the List cou
Jerome is referring to tags in the JSTL Core tag library.
mmm code-bloat.
On 5/14/06, J Gotsch <[EMAIL PROTECTED]> wrote:
Which package does this belong to? I can't find it anywhere.
Jerome Gagner <[EMAIL PROTECTED]> wrote:
use
On 5/13/06, J Gotsch wrote:
> Hello All,
>
> How do I
Which package does this belong to? I can't find it anywhere.
Jerome Gagner <[EMAIL PROTECTED]> wrote:
use
On 5/13/06, J Gotsch wrote:
> Hello All,
>
> How do I perform an If/else with ?
>
> In the below logic:iterate tag, If my collection contains both ROLE1 AND
> ROLE2, Then both statem
use
On 5/13/06, J Gotsch <[EMAIL PROTECTED]> wrote:
Hello All,
How do I perform an If/else with ?
In the below logic:iterate tag, If my collection contains both ROLE1 AND
ROLE2, Then both statements will be displayed. And that's now what I want.
I want to implement something like thi
Hello All,
How do I perform an If/else with ?
In the below logic:iterate tag, If my collection contains both ROLE1 AND
ROLE2, Then both statements will be displayed. And that's now what I want.
I want to implement something like this:
if(securityRoleName.equals("ROLE1"))
7 matches
Mail list logo