thanks, I checked the path and I saw that ERAttributeExtension was not
included. So I added it, and yes I now the fetch works and shows the correct
date.
I am playing with an AjaxDatePicker and there is a problem when the form is
submitted.
JodaTestCalendar : AjaxDatePicker {
value = myJodaDate;
formatter = jodaFormat1;
id = "DateInputWithFormatField";
}
here is my formatter:
public ERXJodaLocalDateFormatter jodaFormat1 = new
ERXJodaLocalDateFormatter("%Y-%m-%d");
Here is my form:
<wo:WOForm>
<webobject name = "JodaTestCalendar"/><wo:AjaxSubmitButton action =
"$insertDate" value = "Insert" updateContainerID="loopID"/>
</wo:WOForm>
the method insertDate is not getting called
<er.ajax.AjaxRequestHandler>: Exception occurred while handling request:
java.lang.IllegalArgumentException: Invalid format: "2011-09-17"
any idea where I should look?
Ted
--- On Thu, 9/15/11, Ramsey Gurley <[email protected]> wrote:
From: Ramsey Gurley <[email protected]>
Subject: Re: Joda question
To: "Theodore Petrosky" <[email protected]>
Cc: [email protected]
Date: Thursday, September 15, 2011, 11:26 AM
On Sep 15, 2011, at 7:14 AM, Theodore Petrosky wrote:
I did a wonder fetch and I get this error:
TestBedTable.fetchAllTestBedTables(theEC);
Class org.joda.time.LocalDate does not implement method jodaLocalDate
Am I missing something (meaning am I supposed to import something specific)?
Make sure you added ERAttributeExtension to your classpath ahead of the
JavaEOAccess framework.
http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/attributeextension/package-summary.html
If you've done that, then I suspect you've saved a a change in ERPrototypes
which caused WOLips to overwrite some attribute settings it doesn't understand
yet. It should be calling the static method on the valuefactory/valueconversion
classes in the ERPrototype framework.
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]