Re: Retrieve an hashtable entry within a jsp using struts tag and a bean as the key

2008-07-01 Thread Paolo Niccolò Giubelli
Maybe using Apache Commons BeanUtils? Anybody knows? Thanks again. Paolo Paolo Niccolò Giubelli ha scritto: I'm sorry, but I'm still unable to do that. Ciro Montanino ha scritto: Try to use jstl tag library to read HashTable contents. On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli

Re: Retrieve an hashtable entry within a jsp using struts tag and a bean as the key

2008-07-01 Thread Paolo Niccolò Giubelli
Ok, I used jstl and now it works! Here's the code (it's changed since the first post, so don't compare it): logic:iterate id=category name=pannelloForm property=highLevelCategories div h5bean:write name=category property=name/ /h5 c:set var=subcategories

Retrieve an hashtable entry within a jsp using struts tag and a bean as the key

2008-06-30 Thread Paolo Niccolò Giubelli
Hi! I need a little help. I'm writing a jsp using struts tags and in my ActionForm class I put an Hashtable containing keys and values (both are pojos). I can get my hashtable in this way: bean:define id=ht name=myForm property=productsCategories/ The key is also a bean, obtained through a

Re: Retrieve an hashtable entry within a jsp using struts tag and a bean as the key

2008-06-30 Thread Ciro Montanino
Try to use jstl tag library to read HashTable contents. On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli [EMAIL PROTECTED] wrote: Hi! I need a little help. I'm writing a jsp using struts tags and in my ActionForm class I put an Hashtable containing keys and values (both are pojos).

Re: Retrieve an hashtable entry within a jsp using struts tag and a bean as the key

2008-06-30 Thread Paolo Niccolò Giubelli
I'm sorry, but I'm still unable to do that. Ciro Montanino ha scritto: Try to use jstl tag library to read HashTable contents. On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli [EMAIL PROTECTED] wrote: - To