Re: Ponder docs or examples

2014-11-18 Thread Flavio Donadio
Ramsey, Answering my own question: dbConnectURLGLOBAL in the properties file did it. Cheers, Flavio On 18/11/2014, at 09:51, Flavio Donadio wrote: > Ramsey, > > > Thanks for all the help so far... But I still don't understand some basic > concepts of WO! > > I had this same problem tryin

Re: Ponder docs or examples

2014-11-18 Thread Flavio Donadio
Ramsey, Thanks for all the help so far... But I still don't understand some basic concepts of WO! I had this same problem trying to get ERAttachment to work: how is ERUser (or ERAttachment) supposed to create a database file? Cheers, Flavio On 17/11/2014, at 18:36, Ramsey Gurley wrote: >

Re: Ponder docs or examples

2014-11-17 Thread Ramsey Gurley
I’ve never had any problems with creating a model in project and then getting things to run, but then, I haven’t done that very often. If you want to control the order migrations run, there is a property for that. I think er.migration.modelNames will do what you want, but you have to list all t

Re: Ponder docs or examples

2014-11-17 Thread Flavio Donadio
Ramsey, Is there a way to do it without having to create a framework for the model? I mean, there's just one table in my model, it seems overkill... I just wanted to teste the user management part of R2D2W... Cheers, Flavio On 17/11/2014, at 17:02, Flavio Donadio wrote: > Ramsey, > > > I

Re: Ponder docs or examples

2014-11-17 Thread Flavio Donadio
Ramsey, I'm just doing a quick test. No model framework yet. Just a minimal model file, just to check how things work. Cheers, Flavio On 17/11/2014, at 16:55, Ramsey Gurley wrote: > You need to ensure the ERCoreBL framework finishes loading before your model > loads. If you have your model

Re: Ponder docs or examples

2014-11-17 Thread Ramsey Gurley
You need to ensure the ERCoreBL framework finishes loading before your model loads. If you have your model in a framework which is the recommended way to do things, the way to do this is add a ERXFrameworkPrincipal subclass to it and add a REQUIRES constant to that subclass. Look at ERCoreBL.jav

Re: Ponder docs or examples

2014-11-17 Thread Flavio Donadio
Ramsey, Got it... Some weeks ago, when I first tried ERAttachment, I created a wrong relationship, just like you said: a two-way relationship. Don't ask me how, but the ERAttachment project's EOModel was changed and saved... I think I need to pay more attention to dialog boxes! I just delete

Re: Ponder docs or examples

2014-11-17 Thread Ramsey Gurley
It sounds like you created an entity named Image in your model, modeled a to-one relationship to ERAttachment, but forgot to uncheck the reverse relationship from ERAttachment to Image. You should only make that a one way relationship Image -> ERAttachment not Image <<-> ERAttachment ERAtta

Re: Ponder docs or examples

2014-11-17 Thread Flavio Donadio
Ramsey, I am trying R2D2W... Just followed your instructions (way below) and, then, created an EOModel in the project. When I created the model, though, there were a bunch of messages in a window titled "EOModel Verification Failures", one of them being: ERAttachment: Missing entity

Re: Ponder docs or examples

2014-02-26 Thread Ramsey Gurley
It’s pretty much your standard user management implementation. Builds on top of all the other ponder frameworks. The user is stored on session.objectStore.user so you don’t need to do anything special in your app’s session. All you really need to do is create the rule specifying your custom us

Re: Ponder docs or examples

2014-02-26 Thread Nilton Lessa
Hi Ramsey, On 25/02/2014, at 18:31, Ramsey Gurley wrote: > Change line 5 of build.properties to er.corebl.ERCoreBL and see if that fixes > it. Looks like the package name is wrong. If that fixes it, submit a pull > request and I’ll apply it. It looks like I have a couple pull requests I need >

Re: Ponder docs or examples

2014-02-25 Thread Ramsey Gurley
Change line 5 of build.properties to er.corebl.ERCoreBL and see if that fixes it. Looks like the package name is wrong. If that fixes it, submit a pull request and I’ll apply it. It looks like I have a couple pull requests I need to accept already. Also, if you subclass ERUser, you should not n

Re: Ponder docs or examples

2014-02-25 Thread Nilton Lessa
Ramsey, is there any known reason for ERCoreBl not being properly initialized? No runtime errors but it seems the finishInitialization method is never called. I had ERCoreBussinessLogic running in this project and I made the obvious code refactoring to adapt to ERCoreBL. In didFinishLaunching(

Re: Ponder docs or examples

2014-02-24 Thread Nilton Lessa
Hi Ramsey, Thank you very much for the instructions. Bests! Nilton Enviado via iPad > Em 24/02/2014, às 21:48, Ramsey Gurley escreveu: > > Hi Nilton, > > The presentation I gave at last year's WOWODC was on ponder, but I basically > just detailed what features were available in the framewor

Re: Ponder docs or examples

2014-02-24 Thread Ramsey Gurley
Hi Nilton, The presentation I gave at last year's WOWODC was on ponder, but I basically just detailed what features were available in the frameworks. I haven't done any sort of walk through or documentation on it beyond the example apps in the repository. A basic getting started would be, 1.

Ponder docs or examples

2014-02-24 Thread Nilton Lessa
Hi Ramsey, Is there any docs, podcast, etc, around how to use the ponder frameworks? It really seems it's great stuff! Bests! Nilton ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev