Re: WebObjects + ERRest + iOS + CoreData (Yes another post on this)

2012-05-23 Thread Rich
t from the sample code. Just make sure you design you EO Model & CoreData model so they have the same entity names & attributes in both. That way sync is a lot easier as you don't have to re-map your JSON payload (which is a headache, trust me). Rich On 23/05/2012, at 2:26 AM,

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-15 Thread Rich
ueID, and I would override willInsert and set that field to the same > value as ERXGenericRecord.rawPrimaryKeyInTransaction(). yes, I *would* simply > use EOF's PK as the value of my UniqueID field. Your PK will never change for > the life if your database through normal WebObjects u

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-15 Thread Rich
Wow, nice lot of comments to wake up to this morning (Yea a late start as I had to get the kids to school). I do agree with all the points from everyone (how diplomatic is that!), and in 'Production' code I would never use the PK for anything - (probably ;o) However this really is only a quick a

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-15 Thread Rich
Hi Paul, Thanks, I'll have a look into that - I really new to WO, and still finding my feet, so was unaware of ERXGenericRecord. On 15/03/2012, at 6:22 PM, Paul Hoadley wrote: > On 15/03/2012, at 3:25 PM, Rich wrote: > >> Obviously NOT ideal, but unless anyone has a suggest

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
ill suffice for the 'Prototype' - I'll change it in the 'production' version if it get's that far (honest) cheers, Rich On 15/03/2012, at 4:35 PM, Rich wrote: > That sounds like what I'm missing ;o) > - I haven't specifically set it, just pres

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
not supposer to modify the _ class? Rich On 15/03/2012, at 4:11 PM, Emmanuel Tote Dominguez Torres wrote: > Is your ID set as a class property? > primary keys usually are not. > > Emmauel~ > > On Wed, Mar 14, 2012 at 8:33 PM, Rich wrote: > Hi guys, > > I can't see

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
ng the Entity object initially, I want to return the last '25' or so entities in a batch and the simplest way (considering this is only a prototype), is to return the batch of highest 'id's. Rich On 15/03/2012, at 3:57 PM, Paul Yu wrote: > Why are you sorting on id colum

ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
I missing something glaringly obvious (probably) Cheers, Rich ___ 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: https://lists.apple

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-13 Thread Rich
Yea, I don't know anyone well enough to call them deranged not just yet anyway! ;o) On 14/03/2012, at 9:46 AM, Paul Yu wrote: > Rich > > What did you say??? "...ease and flexibility, and a thriving active > community…" AWESOME!!! > > -- > Paul Yu

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-13 Thread Rich
really like it ease and flexibility, and a thriving active community (obviously with a sense of humor) goes a long way in my books. look forward to meeting some / all of you sometime Rich On 14/03/2012, at 12:42 AM, Kieran Kelleher wrote: > We have quite a few WebObjects community folk 

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-13 Thread Rich
I really appreciate your help Rich On 13/03/2012, at 7:23 PM, Chuck Hill wrote: > > On 2012-03-12, at 11:05 PM, Rich wrote: > >> Thank you so much Chuck, it's now working . pheew > > Excellent! > > >> Your insight and direction we're spot on. >&

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-13 Thread Rich
what it is, but will have a look) Rich On 13/03/2012, at 11:03 PM, Pascal Robert wrote: > > Le 2012-03-13 à 02:05, Rich a écrit : > >> Thank you so much Chuck, it's now working . pheew >> Your insight and direction we're spot on. >> >> The problem

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
7;ve been pulling my hair out - I'm so relived and if there is any way I could buy you a beer (or two or three I will (Let me know). I also just realized your the author of the Practical Webobjects book which will now be my next purchase Thank you Rich On 13/03/2012, at 6:27 PM, Chuck Hill

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
Hi Chuck, I think I've found the issue with my class path and ERExtensions framework, so just rebuilding again and re-deploying Really, really appreciate your help, and I'l let you know how I go Cheers, Rich On 13/03/2012, at 5:59 PM, Chuck Hill wrote: > > On 2012-03-12,

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
g fixing up the permissions and about to try and run it up again to see what happens On 13/03/2012, at 5:27 PM, Chuck Hill wrote: > > On 2012-03-12, at 9:24 PM, Rich wrote: > >> OK, I'll give that a try now, I didn't have all the check ticked. >> Also my Unix ClassPath

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
s > should take care of it automatically: > > > > > Chuck > > > On 2012-03-12, at 9:15 PM, Rich wrote: > >> When you say "Embed the Framework (All of them)" you mean only the ones >> relevant to my App right? - or do you mean ALL of the Wonder framewo

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
When you say "Embed the Framework (All of them)" you mean only the ones relevant to my App right? - or do you mean ALL of the Wonder frameworks On 13/03/2012, at 4:48 PM, Pascal Robert wrote: > > Le 2012-03-12 à 23:29, Chuck Hill a écrit : > >> Hi Rich, >> >

Re: Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
oyment machine as I built it at the same time as my Dev environment... This sounds really Noobish, but how do I find the installed version on my Deployment machine? I thought I had done an embeded install (the frameworks appear to be in the Frameworks directory under .woa/Contents/Frameworks)

Deployment Issue on Linux - Help Troubleshooting PLEASE

2012-03-12 Thread Rich
cation I would really appreciate any help of guidance on how to troubleshoot further.. as I'm about to lose what little hair I've got left - my time is running out Warmest regards and a big hug to anyone who can help (please..) Rich ___ D