Re: Joda Time Prototypes [was Re: Patched MySQL plugin]
Re: Joda Time Prototypes [was Re: Patched MySQL plugin]
- Subject: Re: Joda Time Prototypes [was Re: Patched MySQL plugin]
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 17 Jan 2011 13:21:56 -0500
On Jan 17, 2011, at 12:55 PM, Mike Schrag wrote:
wow ... that patch sucks in a decompiled EOAttribute .... okey
dokey :)
ms
Hence the reason I've left it uncommitted this long (^_^) Just being
cautious.
BTW, If you are going to be mucking around in EntityModeler anyway...
it might also be nice to have a field in the UI for 5.4's
adaptorValueConversionClassName as well as the newly added
valueFactoryClassName characteristic. The modeler doesn't seem to eat
them though, so it's a low priority. I'll try to remember to file a
WOL JIRA for that.
Ramsey
On Jan 17, 2011, at 12:45 PM, Johann Werner wrote:
Am 17.01.2011 um 18:33 schrieb Mike Schrag:
there is no "EOFactoryMethodArgumentIsDate" unless wonder added
it ...
Yes that's right. Ramsey introduced it with his patch. To prevent
bad surprises during model editing this should be added to wonder.
On Jan 17, 2011, at 12:21 PM, Johann Werner wrote:
Hi Ramsey,
great!
I think there was a problem with Entity Modeler during saving a
model that the piece 'factoryMethodArgumentType =
EOFactoryMethodArgumentIsDate' got removed from the model as it
doesn't recognize the constant 'EOFactoryMethodArgumentIsDate'.
So that constant has to be added in WOLips classes like
EOFactoryMethodArgumentType.java for example.
Those other prototypes are interesting too making the set of
prototypes more complete.
jw
Am 17.01.2011 um 15:37 schrieb Ramsey Gurley:
Hi Johann,
I think it should be okay to commit as it stands on Jira. If
there are no objections, I'll go ahead and do that sometime this
week. I'm also working on some additional prototypes for the
near future, but I will probably make those in a separate commit:
stringArray (NSArray)
byteArray (NSArray)
stringDictionary (NSDictionary)
byteDictionary (NSDictionary)
serializable (URI, EnumSet, etc)
Ramsey
On Jan 17, 2011, at 2:57 AM, Johann Werner wrote:
Hi Ramsey,
any news on the status of the patch? Currently I have a project
where those prototypes would fit marvelously. I was really
astonished to see that there is no prototype at all for time
only attributes in Wonder so this patch is an important
addition to Wonder.
jw
Am 22.10.2010 um 04:39 schrieb Ramsey Lee Gurley:
Oh, and I forgot to mention, 5.4 branch only.
Ramsey
On Oct 21, 2010, at 10:36 PM, Ramsey Lee Gurley wrote:
Ok guys,
I've done some work on this and now have working Joda
LocalTime, LocalDate, and LocalDateTime prototypes. For any
of you who are interested/adventurous, I've put patches to
enable this up on JIRA. Feel free to give it a try and see if
it works for you. Let me know if you find any bugs or have
any suggestions.
http://issues.objectstyle.org/jira/browse/WONDER-611
Ramsey
On Oct 6, 2010, at 2:25 PM, Ramsey Gurley wrote:
Ok, I see it.
Thanks,
Ramsey
On Oct 6, 2010, at 2:00 PM, Mike Schrag wrote:
i THINK it happens in EOAttribute it's like
adaptorValueByConverting....Something..Value?
On Oct 6, 2010, at 1:46 PM, Ramsey Gurley wrote:
On Oct 6, 2010, at 11:57 AM, John Huss wrote:
didn't 5.4 add adaptorValueConversionClassName in
addition to the adaptorValueConversionMethodName that
lets you get around that limitation?
ms
You can add this to the list of things that don't work in
5.4. When using the adaptorValueConversionClassName
"converts" the value by assigning it to the
java.lang.reflect.Method object represented by the
conversion method; it doesn't ever invoke the method.
And it doesn't even find the correct method because it
looks for one with no arguments, which is useless. I
guess no one ever tried to actually run that code after
writing it.
I'll file a radar.
John
Out of curiosity, where does it do that? What class or
classes do the conversion?
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
oyosys
Dipl.-Ing. Johann Werner
Schickenhof 8
D-90403 Nürnberg
Tel.: +49(0)911/4786817
Fax: +49(0)911/4786818
E-Mail: email@hidden
Web: www.oyosys.de
USt-ID: DE262086725
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
oyosys
Dipl.-Ing. Johann Werner
Schickenhof 8
D-90403 Nürnberg
Tel.: +49(0)911/4786817
Fax: +49(0)911/4786818
E-Mail: email@hidden
Web: www.oyosys.de
USt-ID: DE262086725
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden