Easy EL question

2005-08-08 Thread Guillaume Lederrey
Hello ! I'm still having problem with all the different syntax used in JSP... so excuse my question if it sound really stupid ! I'm having to iterate on the values of a Map. So I'd like something like that : c:catch c:set var=items value=${itemsMap.values}/ /c:catch c:forEach

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
you use .key or .value, e.g item.value['key'] item.key Allistair -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 10:34 To: Tomcat Users List Subject: Easy EL question Hello ! I'm still having problem with all the different

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
PROTECTED] Sent: 08 August 2005 10:34 To: Tomcat Users List Subject: Easy EL question Hello ! I'm still having problem with all the different syntax used in JSP... so excuse my question if it sound really stupid ! I'm having to iterate on the values of a Map. So I'd like

RE: Easy EL question

2005-08-08 Thread Allistair Crossley
/c:forEach /ul -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] Sent: 08 August 2005 12:10 To: Tomcat Users List Subject: Re: Easy EL question Thanks for your answer ! But I'm afraid I dont really understand how to use it ... Do you mean I should iterate

Re: Easy EL question

2005-08-08 Thread Guillaume Lederrey
On 8/8/05, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, With what you supplied, the answer was the best you could have expected. The deletedDma item per loop iteration is of type MapEntry. This has getKey and getValue, hence why you can call deletedDma.key and deletedDma.value. Thanks