On 02/02/2011, at 9:48 AM, Theodore Petrosky wrote:
> 2. then you apply the Field variable to a Text Field. The Text Field has both
> a Text Field Expression and an Expression Class. This is where I am falling
> down. The Expression Class is not editable. You can only choose from the
> internal
e.
Chuck
> --- On Tue, 2/1/11, Paul Hoadley wrote:
>
>> From: Paul Hoadley
>> Subject: Re: JasperReport LocalDate question
>> To: "Theodore Petrosky"
>> Cc: "WebObjects-Dev Mailing List List"
>> Date: Tuesday, February 1, 2011, 5:35 PM
as an NSTimestamp in iReport. Problem is gone.
Ted
--- On Tue, 2/1/11, Paul Hoadley wrote:
> From: Paul Hoadley
> Subject: Re: JasperReport LocalDate question
> To: "Theodore Petrosky"
> Cc: "WebObjects-Dev Mailing List List"
> Date: Tuesday, February 1, 2011, 5:3
lly wanted (and want) to learn how to use the JodaTime (LocalDate) in
iReport.
Ted
--- On Tue, 2/1/11, Paul Hoadley wrote:
> From: Paul Hoadley
> Subject: Re: JasperReport LocalDate question
> To: "Theodore Petrosky"
> Cc: "WebObjects-Dev Mailing List List"
&g
With the caveat that I don't know anything about JR...
On 02/02/2011, at 1:08 AM, Theodore Petrosky wrote:
> I used the org.joda.time.LocalDate for the Field Class Definition.
Don't you want to be using your wrapper class for LocalDate, not Joda's
LocalDate? This name collision is unfortunate—
ler.java:498)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
> at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
>
> --- On Mon, 1/31/11, Kieran Kelleher wrote:
>
>> From: Kieran Kelleher
>> Subject:
rsoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:498)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
> at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
>
> --- On Mon, 1/31/11, Kieran Kellehe
igner.compiler.IReportCompiler.run(IReportCompiler.java:498)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
--- On Mon, 1/31/11, Kieran Kelleher wrote:
> From: Kieran Kelleher
> Subj
on
Class of the TextField. so yes I get a compile time error.
I am doing something wrong.
Ted
> >
> > I hope you have time to help me with this.
> >
> > Ted
> >
> >
> >
> > --- On Mon, 1/31/11, Kieran Kelleher
> wrote:
> >
> &g
can not change the Expression Class to match
> the Field's class.
>
> I hope you have time to help me with this.
>
> Ted
>
>
>
> --- On Mon, 1/31/11, Kieran Kelleher wrote:
>
>> From: Kieran Kelleher
>> Subject: Re: JasperReport LocalDa
ave time to help me with this.
Ted
--- On Mon, 1/31/11, Kieran Kelleher wrote:
> From: Kieran Kelleher
> Subject: Re: JasperReport LocalDate question
> To: "Theodore Petrosky"
> Cc: "Paul Hoadley" , "WebObjects-Dev Mailing List List"
>
> Dat
Yeah, I meant "without Joda"
On Mon, Jan 31, 2011 at 6:55 AM, Kieran Kelleher wrote:
> I think John mean "without Joda" in that sentence People have been
> using WO without Joda for a ling time.
>
> On Jan 30, 2011, at 3:33 PM, John Huss wrote:
>
> > People have been doing WO apps withOUT Jod
use timestamps
> the issue goes away, but I have to deal with my app refusing to work when I
> switch platforms. So I could spend the time learning the methods of getting
> around the Java dateTime issues.
>
> Thanks again.
>
> Ted
>
>
> --- On Mon, 1/31/11
I think John mean "without Joda" in that sentence People have been using WO
without Joda for a ling time.
On Jan 30, 2011, at 3:33 PM, John Huss wrote:
> People have been doing WO apps withOUT Joda for a long time
___
Do not post admin requests t
wrote:
> From: Paul Hoadley
> Subject: Re: JasperReport LocalDate question
> To: "Theodore Petrosky"
> Cc: "WebObjects-Dev Mailing List List"
> Date: Monday, January 31, 2011, 3:52 AM
> On 31/01/2011, at 12:01 AM, Theodore
> Petrosky wrote:
>
&g
On 31/01/2011, at 12:01 AM, Theodore Petrosky wrote:
> So my attempt is to add into LocalDate the extends like this:
>
> public class LocalDate extends java.util.Date implements ReadablePartial,
> Comparable
> {
>
> }
I don't think you need or want to do this. I don't think your LocalDate
w
On 30/01/2011, at 6:50 PM, Theodore Petrosky wrote:
> I have an EO with attributes that are dates in the postgresql db.
>
> invoiceBookedDate is a date. It is modeled as a LocalDate.
This sounds right. (I'm assuming that you've followed Henrique's example
closely, and that "LocalDate" there is
ecision to comment out the compareTo() method in
> LocalDate.
>
> And to my complete surprise, it works.
>
> But without your help reading the error log, I didn't even have an idea
> where to start looking.
>
> Of course, maybe my hacking is actually making things worse.
Hi Ted,
What was the actual method signature of the LocalDate compareTo method? I'm
guessing was "compareTo(Object obj)" or similar. By commenting it out you're no
longer overriding it with a clashing class name. Now when compareTo is called,
it's using the compareTo method on Date instead, whi
lly making things worse. I guess I will
have to keep my fingers crossed and hope youse guys don't get too tired helping
people like me.
Thank you,
Ted
--- On Sun, 1/30/11, Pascal Robert wrote:
> From: Pascal Robert
> Subject: Re: JasperReport LocalDate question
> To: &quo
You just have to read the errors:
> Jan 30 08:03:52 TheWorkTracker[56046] ERROR
> er.jasperreports.ERJRFetchSpecificationReportTask - Error in JR task
> ClassCastException: com.eltek.utilities.LocalDate cannot be cast to
> java.util.Date
From what class com.eltek.utilities.LocalDate inherits?
I think I am almost there. Well maybe.
I have an EO with attributes that are dates in the postgresql db.
invoiceBookedDate is a date. It is modeled as a LocalDate. In my UI, I have an
AjaxDatePicker which appears to only create NSTimestamps. So I create a cover
methods (setter and getter) that
22 matches
Mail list logo