Off the top of my head, I don't remember (^_^) I saw that. I considered it, but I went with com.webobjects.eoaccess.* I think it had something to do with the code in EOEntity that constructed EOAttributes. I could take another look if you think this will break in WO 5.5 or something.

Ramsey

On Jan 17, 2011, at 1:14 PM, Mike Schrag wrote:

Is it not possible to do this patch in ERXEOAttribute by overriding the necessary methods?

ms

On Jan 17, 2011, at 12:55 PM, Mike Schrag wrote:

wow ... that patch sucks in a decompiled EOAttribute .... okey dokey :)

ms

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 (Webobjects- d...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com

This email sent to ram...@xeotech.com


--

oyosys
Dipl.-Ing. Johann Werner
Schickenhof 8
D-90403 Nürnberg

Tel.:           +49(0)911/4786817
Fax:        +49(0)911/4786818
E-Mail: i...@oyosys.de
Web:    www.oyosys.de

USt-ID: DE262086725

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com

This email sent to msch...@pobox.com


--

oyosys
Dipl.-Ing. Johann Werner
Schickenhof 8
D-90403 Nürnberg

Tel.:           +49(0)911/4786817
Fax:        +49(0)911/4786818
E-Mail: i...@oyosys.de
Web:    www.oyosys.de

USt-ID: DE262086725




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to