No, the vars HashMap has as many as 50 objects of different names and
classes in it, plus the bean it used the toString on has the exact contents
(SortableData beans) of the exact quantity that I expected. Nice thought
though and I thank you for it.

Edward W. Rouse


-----Original Message-----
From: Dave Newton [mailto:davelnew...@gmail.com] 
Sent: Thursday, May 19, 2011 12:41 PM
To: Struts Users Mailing List
Subject: Re: iterate cannot find bean

On Thu, May 19, 2011 at 11:54 AM, Edward W. Rouse wrote:
> <logic:iterate id="task" name='${cache.vars["foundData"] }'>
>
> [produces the following exception]
>
> 2011-05-19 11:15:50.961: Resin javax.servlet.jsp.JspException: Cannot find
> bean: "[com.comsquared.workflow.web.util.SortableData@671416,
> com.comsquared.workflow.web.util.SortableData@157d162,
> com.comsquared.workflow.web.util.SortableData@739136,
> ...]" in any scope
>
> What confuses me is that the error says it can't find the bean, but it
lists
> the contents of the bean so it must have found it.

I read it differently, in that it's trying to use the toString() of
the cache var as the name of the bean.

Not an answer, but perhaps a clue.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to