Re: How to access a valueObject inside a Map?

2003-02-05 Thread Derek Shen
No one is helping me out, or it's too easy a question? :) I know how to do it through script. Just wondering can I use any struts bean tag to do it? Thanks From: Derek Shen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to access a

RE: How to access a valueObject inside a Map?

2003-02-05 Thread Rob Kischuk
I think a shift in how you approach your JSPs and Actions will get you the most mileage here. It seems that by storing this map in session, you're trying to get around ever creating any additional references to it. What I'd suggest is that you handle this in your Action. In your action, fetch

Re: How to access a valueObject inside a Map?

2003-02-05 Thread David Graham
You can do this with something like this in either a jstl tag or struts tag: myHashMap(key).myVOProperty David From: Derek Shen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to access a valueObject inside a Map? Date: Wed, 05

Re: How to access a valueObject inside a Map?

2003-02-05 Thread Derek Shen
Thanks. Which tag I should use? Bean tag? From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to access a valueObject inside a Map? Date: Wed, 05 Feb 2003 15:26:31 -0700 You can do this with something like this in

RE: How to access a valueObject inside a Map?

2003-02-05 Thread Derek Shen
Thanks. Understand what you mean. I think it's something about the design pattern. Since struts is new, we are all try to find some best practice/pattern. Personally, I do not like to create too many Actions. It's hard to manage them. Routine operations, like get a value bean from map bean,

Re: How to access a valueObject inside a Map?

2003-02-05 Thread David Graham
You should use the jstl c:out tag to display bean info. David From: Derek Shen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How to access a valueObject inside a Map? Date: Wed, 05 Feb 2003 22:31:38 + Thanks. Which tag I should