aspose file tools*
The moose likes Struts and the fly likes Bean defined in logic:iterate is not found in any scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Bean defined in logic:iterate is not found in any scope" Watch "Bean defined in logic:iterate is not found in any scope" New topic
Author

Bean defined in logic:iterate is not found in any scope

Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Hi,
In the logic iterate i use the id "innerFundCode" to define a bean and inside the loop I am writing one property of the bean defined using the id.

This works almost always. But when i perform a particular function i am getting the error "Cannot find bean innerFundCode in any scope". I cheked the property of the actionForm on which i iterate, that property has 3 beans in the collection. Can anybody help me fix this error?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Mind posting the code?


A good workman is known by his tools.
Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Hi, if you want the complete code its huge...If u want i will post only the part where this error occurs.
Jaya Swaminathan
Greenhorn

Joined: Jul 19, 2005
Posts: 17
Thanks a lot for your interest.I got this solved by cleaning and rebuildng the project in Eclipse. This is happening so often. The lesson i got is if we cant resolve some bug,then its better to clean the project once and build it again.
 
Consider Paul's rocket mass heater.
 
subject: Bean defined in logic:iterate is not found in any scope
 
Similar Threads
Selecting a single row in a table, then saving that index in the struts form
HTML:link tag with dynamic page attribute?
Double Iteration
Problem with Tiles-Definition
<jsp:include> and <jsp:useBean>