RE: FW: Nesting Beans/Iterators/... GOT IT!

2002-01-18 Thread Collard, John

My property was "dailyNom".  But maybe we should start compiling a list of
properties that do not work.  

Anyone else have a property name that caused problems?

John Collard
[EMAIL PROTECTED]





-Original Message-
From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 3:38 AM
To: Struts Users Mailing List
Subject: RE: FW: Nesting Beans/Iterators/... GOT IT!


Was the name of the property "service" by any chance? I encountered that
also on a Solaris machine (it worked on windows), and if it is the same
name in your case, maybe we should investigate this further.

tomK


> -Original Message-
> From: Collard, John [mailto:[EMAIL PROTECTED]] 
> Sent: woensdag 16 januari 2002 22:27
> To: 'Arron Bates'; '[EMAIL PROTECTED]'
> Subject: RE: FW: Nesting Beans/Iterators/... GOT IT!
> 
> 
> Thanks for all the help!  The problem (for some reason) was 
> the name of my
> property!  I simply created another property and its getter 
> that returned
> the value of the first property.  
> 
> John Collard
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -Original Message-
> From: Arron Bates 
> Sent: Tuesday, January 15, 2002 7:15 PM
> To: Collard, John
> Subject: Re: FW: Nesting Beans/Iterators/Logic tags & whatever else...
> 
> 
>   John,
> 
> I went through the beans and everything certainly seems to be 
> in order. 
> All the names are correct, and there's nothing wrong with the markup.
> 
> Attached is a war where I took the beans and took out all the 
> code which 
> depended on your systems, and put in constructors so they 
> could be made 
> by simple constructor. Then went through the JSP page and 
> commented out 
> all the things that I didn't have (resource files etc) which don't 
> affect anything anyways, and ran your own markup.
> 
> And it loads fine. So I'm thinking that there's a sneaky bug 
> either in 
> the way the beans are constructed (but you say they're used as-is 
> someplace else, so there goes that), or the action or something.
> 
> Without knowing the exact error, it's hard to say. But the above has 
> proven that it's not the bean definitions or your markup of 
> the nested tags.
> 
> Sorry that the problem's not immediately solvable.
> 
> 
> Arron.
> 
> 
> Collard, John wrote:
> 
> >From: Collard, John 
> >Sent: Tuesday, January 15, 2002 10:36 AM
> >To: 'mailto:[EMAIL PROTECTED]'
> >Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
> >
> >
> >Arron,
> > Thanks for offering to look at the issues I am having.  
> >
> >First, the basics: we are developing under Struts 1.0 using 
> Tomcat 4.01 as
> >our application server.  This will be cross tested and then 
> deployed to
> >WebLogic 6.1 for production.  Our product is used in the Natural Gas
> >distribution industry.
> >
> >
> >The offending process is a report that can be viewed or 
> downloaded by the
> >user.  The report presents the user with their daily natural 
> gas purchases
> >for the month.  The pipeline, Customer (Their customer), 
> where delivered,
> >and the daily volume (31 columns) and daily contract (under 
> the volume in
> >the table).  
> >
> >I created three beans.  (NomsMonlthlyRpt) The fir
> >st bean stores the
> >pipeline, customer, delivery information, and an ArrayList 
> for the daily
> >volume and contract information.  (NomsDailyRpt) The second 
> bean stores the
> >date, volume, & contract.  (NomsDailyRptForm) My Struts form 
> bean holds an
> >ArrayList object pointing the the first bean above.
> >
> >The download uses all the same processes as the view. 
> Instead of calling a
> >JSP, it creates an output stream to a CSV file.  The download works,
> showing
> >that the data is being compiled properly and the beans are working.  
> >
> >
> >Unfortunately, I am unable to supply a working jar due to database
> >connections and data related issues.  Here is the code, though.  
> >
> >
> >
> >
> >Thank-you,
> >
> >
> >John Collard
> >[EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >-Original Message-
> >From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, January 15, 2002 6:54 AM
> >To: Struts Users Mailing List
> >Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
> >
> >
> >After 25 hours, you're entitled to send more information for 
> us to

RE: FW: Nesting Beans/Iterators/... GOT IT!

2002-01-17 Thread Tom Klaasen (TeleRelay)

Was the name of the property "service" by any chance? I encountered that
also on a Solaris machine (it worked on windows), and if it is the same
name in your case, maybe we should investigate this further.

tomK


> -Original Message-
> From: Collard, John [mailto:[EMAIL PROTECTED]] 
> Sent: woensdag 16 januari 2002 22:27
> To: 'Arron Bates'; '[EMAIL PROTECTED]'
> Subject: RE: FW: Nesting Beans/Iterators/... GOT IT!
> 
> 
> Thanks for all the help!  The problem (for some reason) was 
> the name of my
> property!  I simply created another property and its getter 
> that returned
> the value of the first property.  
> 
> John Collard
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> -Original Message-
> From: Arron Bates 
> Sent: Tuesday, January 15, 2002 7:15 PM
> To: Collard, John
> Subject: Re: FW: Nesting Beans/Iterators/Logic tags & whatever else...
> 
> 
>   John,
> 
> I went through the beans and everything certainly seems to be 
> in order. 
> All the names are correct, and there's nothing wrong with the markup.
> 
> Attached is a war where I took the beans and took out all the 
> code which 
> depended on your systems, and put in constructors so they 
> could be made 
> by simple constructor. Then went through the JSP page and 
> commented out 
> all the things that I didn't have (resource files etc) which don't 
> affect anything anyways, and ran your own markup.
> 
> And it loads fine. So I'm thinking that there's a sneaky bug 
> either in 
> the way the beans are constructed (but you say they're used as-is 
> someplace else, so there goes that), or the action or something.
> 
> Without knowing the exact error, it's hard to say. But the above has 
> proven that it's not the bean definitions or your markup of 
> the nested tags.
> 
> Sorry that the problem's not immediately solvable.
> 
> 
> Arron.
> 
> 
> Collard, John wrote:
> 
> >From: Collard, John 
> >Sent: Tuesday, January 15, 2002 10:36 AM
> >To: 'mailto:[EMAIL PROTECTED]'
> >Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
> >
> >
> >Arron,
> > Thanks for offering to look at the issues I am having.  
> >
> >First, the basics: we are developing under Struts 1.0 using 
> Tomcat 4.01 as
> >our application server.  This will be cross tested and then 
> deployed to
> >WebLogic 6.1 for production.  Our product is used in the Natural Gas
> >distribution industry.
> >
> >
> >The offending process is a report that can be viewed or 
> downloaded by the
> >user.  The report presents the user with their daily natural 
> gas purchases
> >for the month.  The pipeline, Customer (Their customer), 
> where delivered,
> >and the daily volume (31 columns) and daily contract (under 
> the volume in
> >the table).  
> >
> >I created three beans.  (NomsMonlthlyRpt) The fir
> >st bean stores the
> >pipeline, customer, delivery information, and an ArrayList 
> for the daily
> >volume and contract information.  (NomsDailyRpt) The second 
> bean stores the
> >date, volume, & contract.  (NomsDailyRptForm) My Struts form 
> bean holds an
> >ArrayList object pointing the the first bean above.
> >
> >The download uses all the same processes as the view. 
> Instead of calling a
> >JSP, it creates an output stream to a CSV file.  The download works,
> showing
> >that the data is being compiled properly and the beans are working.  
> >
> >
> >Unfortunately, I am unable to supply a working jar due to database
> >connections and data related issues.  Here is the code, though.  
> >
> >
> >
> >
> >Thank-you,
> >
> >
> >John Collard
> >[EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >-Original Message-
> >From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, January 15, 2002 6:54 AM
> >To: Struts Users Mailing List
> >Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
> >
> >
> >After 25 hours, you're entitled to send more information for 
> us to try
> >to give help on ;-)
> >Full stacktrace, jsp and relevant java code...
> >
> >I suppose the other taglibs do work?
> >
> >tomK
> >
> >
> >>-Original Message-
> >>From: Collard, John [mailto:[EMAIL PROTECTED]] 
> >>Sent: maandag 14 januari 2002 20:46
> >>To: 'Struts Users Mailing List'
> >>Subj

Re: FW: Nesting Beans/Iterators/... GOT IT!

2002-01-16 Thread Arron Bates

Sweet!
:)

Have fun.


Arron.



Collard, John wrote:

>Thanks for all the help!  The problem (for some reason) was the name of my
>property!  I simply created another property and its getter that returned
>the value of the first property.  
>
>John Collard
>[EMAIL PROTECTED]
>


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




RE: FW: Nesting Beans/Iterators/... GOT IT!

2002-01-16 Thread Collard, John

Thanks for all the help!  The problem (for some reason) was the name of my
property!  I simply created another property and its getter that returned
the value of the first property.  

John Collard
[EMAIL PROTECTED]





-Original Message-
From: Arron Bates 
Sent: Tuesday, January 15, 2002 7:15 PM
To: Collard, John
Subject: Re: FW: Nesting Beans/Iterators/Logic tags & whatever else...


  John,

I went through the beans and everything certainly seems to be in order. 
All the names are correct, and there's nothing wrong with the markup.

Attached is a war where I took the beans and took out all the code which 
depended on your systems, and put in constructors so they could be made 
by simple constructor. Then went through the JSP page and commented out 
all the things that I didn't have (resource files etc) which don't 
affect anything anyways, and ran your own markup.

And it loads fine. So I'm thinking that there's a sneaky bug either in 
the way the beans are constructed (but you say they're used as-is 
someplace else, so there goes that), or the action or something.

Without knowing the exact error, it's hard to say. But the above has 
proven that it's not the bean definitions or your markup of the nested tags.

Sorry that the problem's not immediately solvable.


Arron.


Collard, John wrote:

>From: Collard, John 
>Sent: Tuesday, January 15, 2002 10:36 AM
>To: 'mailto:[EMAIL PROTECTED]'
>Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
>
>
>Arron,
>   Thanks for offering to look at the issues I am having.  
>
>First, the basics: we are developing under Struts 1.0 using Tomcat 4.01 as
>our application server.  This will be cross tested and then deployed to
>WebLogic 6.1 for production.  Our product is used in the Natural Gas
>distribution industry.
>
>
>The offending process is a report that can be viewed or downloaded by the
>user.  The report presents the user with their daily natural gas purchases
>for the month.  The pipeline, Customer (Their customer), where delivered,
>and the daily volume (31 columns) and daily contract (under the volume in
>the table).  
>
>I created three beans.  (NomsMonlthlyRpt) The fir
>st bean stores the
>pipeline, customer, delivery information, and an ArrayList for the daily
>volume and contract information.  (NomsDailyRpt) The second bean stores the
>date, volume, & contract.  (NomsDailyRptForm) My Struts form bean holds an
>ArrayList object pointing the the first bean above.
>
>The download uses all the same processes as the view. Instead of calling a
>JSP, it creates an output stream to a CSV file.  The download works,
showing
>that the data is being compiled properly and the beans are working.  
>
>
>Unfortunately, I am unable to supply a working jar due to database
>connections and data related issues.  Here is the code, though.  
>
>
>
>
>Thank-you,
>
>
>John Collard
>[EMAIL PROTECTED]
>
>
>
>
>
>-Original Message-
>From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, January 15, 2002 6:54 AM
>To: Struts Users Mailing List
>Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
>
>
>After 25 hours, you're entitled to send more information for us to try
>to give help on ;-)
>Full stacktrace, jsp and relevant java code...
>
>I suppose the other taglibs do work?
>
>tomK
>
>
>>-Original Message-
>>From: Collard, John [mailto:[EMAIL PROTECTED]] 
>>Sent: maandag 14 januari 2002 20:46
>>To: 'Struts Users Mailing List'
>>Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
>>
>>
>>Spent about 25 hours attempting to get it to work.  Kept 
>>getting the "no
>>getter method found" error, even though I must have compared 
>>my code to the
>>examples 60-70 times. Sorry.
>>
>>
>>>John Collard
>>>Senior Systems Analyst
>>>UtiliCorp United Information Technology
>>>7101 Mercy Road, Suite 400
>>>Omaha, NE  68106
>>>voice: 402-926-5236
>>>fax: 402-996-9736 
>>>email: [EMAIL PROTECTED]
>>>
>>>
>>
>>-Original Message-
>>From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, January 14, 2002 4:23 AM
>>To: Struts Users Mailing List
>>Subject: RE: Nesting Beans/Iterators/Logic tags & whatever else...
>>
>>
>>>-Original Message-
>>>From: Arron Bates [mailto:[EMAIL PROTECTED]] 
>>>Sent: vrijdag 11 januari 2002 3:01
>>>To: Struts Users Mailing List
>>>Subject: Nesting Beans/Iterators/Logic tags & whatever else...
>>>
>>[...]
>>
>>>If you have used the extension and found it useful, can you 
>>>please reply 
>>>to this mail to show others that people are using it, and 
>>>
>>that it is 
>>
>>>worth using 
>>>
>>[...]
>>
>>You know I use it, and you know I love it :-)
>>
>>tomK
>>
>>--
>>To unsubscribe, e-mail:
>>
>>For additional commands, e-mail:
>>
>>
>>--
>>To unsubscribe, e-mail:   
>> [EMAIL PROTECTED]>
>>For 
>>additional commands, 
>>e-mail: 
>>
>>
>
>--
>To