RE: Newbie iterate problem

2002-08-12 Thread James Mitchell

Hsorry, I misread your problem.

What kind of Objects/Beans do getLogoMap() return from your formbean?
You might try specifying the type= attribute in the iterate tag.

Well, that's my best stab at what info is given.
Good luck.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 10:07 PM
> To: Struts Users Mailing List
> Subject: RE: Newbie iterate problem
>
>
> Sorry for taking so long to respond, I'm on a few other lists with pretty
> good traffic.
>
> Anyway, based on what you have given so far, make sure that
> LogoSelectAction
> is setting the correct form (the one defined as 'LogoSelectForm') in the
> correct scope.
>
> You can also verify this with a little 'snoop' code (I can send
> that to you
> if you want) in the jsp.
>
> Once you know for sure that that your formbean is in the request
> or session,
> make sure that the name is correct (this is case sensitive).
>
> Good Luck.
>
>
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
>
>
>
>
> > -Original Message-
> > From: Nelson, Tracy (ETW) [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, August 12, 2002 5:03 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Newbie iterate problem
> >
> >
> > | From: James Mitchell [mailto:[EMAIL PROTECTED]]
> > | Sent: Monday, August 12, 2002 14:02
> > |
> > | Can you send the action declaration for this jsp (from the
> > | struts-config)?
> >
> > Here 'tis:
> >
> >  > type="LogoSelectAction"
> > name="LogoSelectForm"
> > input="/LogoSelector.jsp">
> > 
> > 
> >
> > I'm trying to compare the generated code between the sample
> > application and
> > mine, but I haven't seen anything yet that's given me a clue.
> >
> > Thanks!
> > -- Tracy
> >
> >
> >
> > --
> > 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]>



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




RE: Newbie iterate problem

2002-08-12 Thread James Mitchell

Sorry for taking so long to respond, I'm on a few other lists with pretty
good traffic.

Anyway, based on what you have given so far, make sure that LogoSelectAction
is setting the correct form (the one defined as 'LogoSelectForm') in the
correct scope.

You can also verify this with a little 'snoop' code (I can send that to you
if you want) in the jsp.

Once you know for sure that that your formbean is in the request or session,
make sure that the name is correct (this is case sensitive).

Good Luck.


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -Original Message-
> From: Nelson, Tracy (ETW) [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 5:03 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Newbie iterate problem
>
>
> | From: James Mitchell [mailto:[EMAIL PROTECTED]]
> | Sent: Monday, August 12, 2002 14:02
> |
> | Can you send the action declaration for this jsp (from the
> | struts-config)?
>
> Here 'tis:
>
>  type="LogoSelectAction"
> name="LogoSelectForm"
> input="/LogoSelector.jsp">
> 
> 
>
> I'm trying to compare the generated code between the sample
> application and
> mine, but I haven't seen anything yet that's given me a clue.
>
> Thanks!
> -- Tracy
>
>
>
> --
> 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]>




RE: Newbie iterate problem

2002-08-12 Thread Nelson, Tracy (ETW)

| From: James Mitchell [mailto:[EMAIL PROTECTED]]
| Sent: Monday, August 12, 2002 14:02
| 
| Can you send the action declaration for this jsp (from the 
| struts-config)?

Here 'tis:





I'm trying to compare the generated code between the sample application and
mine, but I haven't seen anything yet that's given me a clue.

Thanks!
-- Tracy



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Newbie iterate problem

2002-08-12 Thread James Mitchell

Can you send the action declaration for this jsp (from the struts-config)?

Example:

  



James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -Original Message-
> From: Nelson, Tracy (ETW) [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 4:01 PM
> To: Struts user list (E-mail)
> Subject: Newbie iterate problem
>
>
> I'm coming up to speed with Struts, and I can't seem to figure out the
>  tag.  I've got:
>
>  property="logoMap">
>   ...
> 
>
> 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.
> Butthere 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]>




Re: Newbie iterate problem

2002-08-12 Thread Tim T. Young


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)"   
   
 
   
   
   
08/12/2002To: "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
 tag.  I've got:


 ...


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.
Butthere 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]>




Newbie iterate problem

2002-08-12 Thread Nelson, Tracy (ETW)

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


...


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.
Butthere they are!"


--
To unsubscribe, e-mail:   
For additional commands, e-mail: