RE: Any Hashmap examples used in jsp page? - still not working

2001-06-05 Thread Dudley [EMAIL PROTECTED]
whether the map has a certain key in it, without having to loop the whole way. I'm trying to use a logic:equals tag help!!! -Original Message- From: Steve A Drake [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 3:17 AM To: [EMAIL PROTECTED] Subject: RE: Any Hashmap examples used

RE: Any Hashmap examples used in jsp page? - THANX!!!

2001-06-04 Thread Dudley [EMAIL PROTECTED]
this helps. -Nimmi -Original Message- From: Steve A Drake [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:58 PM To: [EMAIL PROTECTED] Subject: RE: Any Hashmap examples used in jsp page? Hi Jon. I'm having a similar problem as Dudley with a HashMap. I tried playing around with your

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
On Mon, 4 Jun 2001, Shamdasani Nimmi-ANS004 wrote: Steve, This is how I used a HashMap in a jsp: logic:iterate id=item name=user_list property=userList TR TDbean:write name=item property=key//TD TDbean:write name=item property=value//TD /TR /logic:iterate getUserList() method in

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Deadman, Hal
attributes of the value objects then you can pass the String array of keys to the JSP too. -Original Message- From: Steve A Drake [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 5:41 PM To: '[EMAIL PROTECTED]' Subject: RE: Any Hashmap examples used in jsp page? On Mon, 4 Jun

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
On Mon, 4 Jun 2001, Deadman, Hal wrote: I don't think what you are trying to do should be done in the JSP by a struts/custom tag. Maybe it's a dumb idea, but that's never stopped me before. =:] Why not copy the value objects in the HashMap to an array based on the order of the keys in

RE: Any Hashmap examples used in jsp page?

2001-06-01 Thread Jon.Ridgway
Hi Dudley, See code sample below. The type in the iterate tag must be as shown, you will then need to use a bean define to put your 'value' into the page context and cast it to whatever type you have placed in your HashMap value. Hope this helps, Jon. logic:iterate id=list name=gallery

RE: Any Hashmap examples used in jsp page?

2001-06-01 Thread Steve A Drake
Hi Jon. I'm having a similar problem as Dudley with a HashMap. I tried playing around with your example but couldn't get it to work within the context of what I'm doing. Perhaps another example would help. For example, I have a scriptlet that looks something like: fee.fie.fo.sql.ResultSetBean