Hi Tracy.  Your code looks correct, so you might try tracing through the
iterate tag and the write tag to get a better idea of the problem.  I had
to do that several times before when I get those types of errors that
aren't obvious.  Start at the write tag to see what it is getting (and what
it is trying to look up) and work your way back.

Tim



                                                                                       
                                                       
                    "Nelson,                                                           
                                                       
                    Tracy (ETW)"                                                       
                                                       
                    <Tracy.Nelson                                                      
                                                       
                    @nike.com>                                                         
                                                       
                                                                                       
                                                       
                    08/12/2002    To: "Struts user list (E-mail)" 
<[EMAIL PROTECTED]>                                            
                    03:00 PM      cc:                                                  
                                                       
                    Please                                                             
                                                       
                    respond to                                                         
                                                       
                    "Struts Users                                                      
                                                       
                    Mailing List"        Subject:     Newbie iterate problem           
                                                       
                                                                                       
                                                       
                                                                                       
                                                       



Caterpillar: Confidential Green          Retain Until: 09/11/2002
                                         Retention Category:  G90 -
                                         Information and Reports




I'm coming up to speed with Struts, and I can't seem to figure out the
<logic:iterate> tag.  I've got:

                <logic:iterate id="logo"  name="logoForm"
property="logoMap">
                     ...
                            <bean:write name="logo" property="number"/>

I keep getting a "cannot find bean logo in scope null" error.  Do I have to
have an instance of the bean in the request?  I've tried specifying both
session and request scoping, and I've specified the type of the bean, but I
can't seem to get an instance created.  Is this something that Struts is
supposed to do, or is that something that is my responsibility?

Thanks!
-- Tracy Nelson
"Yes, learning Struts is a little like having bees live in your head.
But....there they are!"


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to