so I see this…
Sep 09 16:25:12 PAEmployeeD2W[57716] DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.PostgresqlExpression: "SELECT t0.c_employee_title_id, t0.c_first_name, t0.id, t0.c_is_active, t0.c_is_freelance, t0.c_last_name, t0.c_password, t0.c_security_settings_id, t0.c_user_cell_phone, t0.c_user_extension, t0.c_user_type, t0.c_username FROM t_user t0" withBindings: > Sep 09 16:25:12 PAEmployeeD2W[57716] DEBUG NSLog - 11 row(s) processed Sep 09 16:25:12 PAEmployeeD2W[57716] DEBUG NSLog - === Commit Internal Transaction Sep 09 16:25:12 PAEmployeeD2W[57716] INFO er.directtoweb.assignments.defaults.ERDDefaultDisplayNameAssignment (ListUser) - Found an old-style entry: PropertyKey.firstName->First Name Sep 09 16:25:13 PAEmployeeD2W[57716] INFO er.directtoweb.assignments.defaults.ERDDefaultDisplayNameAssignment (ListUser) - Found an old-style entry: PropertyKey.isActive->Is Active my datasource is a postgresql db. even when I tell rulemodeler the port and password from the WOLips configuration in eclipse 3.5 I get no joy. I guess for the time being I can play in 3.6 as that is working and I want to try to get my head around this puppy. Ted --- On Thu, 9/9/10, David LeBer <[email protected]> wrote: > From: David LeBer <[email protected]> > Subject: Re: First attempt at D2W HELP > To: "WebObjects Apple" <[email protected]> > Cc: "Theodore Petrosky" <[email protected]> > Date: Thursday, September 9, 2010, 12:44 PM > > On 2010-09-09, at 12:30 PM, David Holt wrote: > > > I use 3.6 so I can't really answer your question about > 3.5 > > Eclipse/WOLipse 3.5 should work fine but you need to make > sure that the WOLips Server is configured correctly in both > WOLips and RuleModeler, and I've had them lose track of one > another. > > > > > On 2010-09-09, at 9:26 AM, Theodore Petrosky wrote: > > > >> I will try the below suggestions. However, I did > have a copy of eclipse 3.6 available and I imported the > project into this and it is working as expected from the > podcast. > >> > >> Is it 'supposed' to work in 3.5? As I am just > starting and 'playing' to learn, I don't mind that I > shouldn't be working in 3.6 (I assume it is not ready for > primetime, yes????) > >> > >> thanks, this is a tough row I'm hoeing. > >> > >> Ted > >> > >> --- On Thu, 9/9/10, David Holt <[email protected]> > wrote: > >> > >>> From: David Holt <[email protected]> > >>> Subject: Re: First attempt at D2W HELP > >>> To: "Theodore Petrosky" <[email protected]> > >>> Cc: "WebObjects Apple" <[email protected]> > >>> Date: Thursday, September 9, 2010, 12:12 PM > >>> Hi Theodore, > >>> > >>> What look framework are you using? > >>> > >>> Are you using bundle-less builds? If not, did > you set the > >>> user and password preferences for WOLips > server in > >>> RuleModeler? > >>> > >>> Have you got Eclipse refreshing the workspace > >>> automatically? > >>> > >>> Are there any other rules in this project that > might be > >>> overriding the behaviour you're looking for? > >>> > >>> While the app is running have you tried > flushing the D2W > >>> cache? > >>> > >>> David > >>> > >>> On 2010-09-09, at 8:34 AM, Theodore Petrosky > wrote: > >>> > >>>> I created a new Wonder D2W app and > imported my Model > >>> from a project I was working on. I am > following along with > >>> David's D2W overview and playing with rules. > >>>> > >>>> So I clicked on the user.d2wmodel file and > rulemodeler > >>> fired up and I added in the isEntityEditable = > "true" rule. > >>>>> From the preview: > >>>> > >>>> { > >>>> author = 100; > >>>> class = > >>> "com.webobjects.directtoweb.Rule"; > >>>> rhs = > { > >>>> class = > >>> > "com.webobjects.directtoweb.BooleanAssignment"; > >>>> keyPath = > >>> isEntityEditable; > >>>> value = true; > >>>> }; > >>>> } > >>>> > >>>> but nothing I do seems to make this rule > available. I > >>> quit eclipse (352) and rulemodeler. relaunched > eclipse and > >>> ran my app but it is as if my user.d2wmodel > file doesn't > >>> exist. > >>>> > >>>> It's there is the Resources folder and if > I click it, > >>> the file the opens is what I expect. > >>>> > >>>> this: > >>>> public WOComponent > listUsers() { > >>>> > >>>> > ListPageInterface lpi > >>> = > >>> > (ListPageInterface)D2W.factory().listPageForEntityNamed(User.ENTITY_NAME, > >>> session()); > >>>> > EODatabaseDataSource > >>> ds = new > >>> > EODatabaseDataSource(ERXEC.newEditingContext(), > >>> User.ENTITY_NAME); > >>>> > >>> lpi.setDataSource(ds); > >>>> > >>> lpi.setNextPage(this.context().page()); > >>>> > >>> > >>>> return > >>> (WOComponent)lpi; > >>>> } > >>>> > >>>> in my MenuHeader.java and the link in the > html worked > >>> beautifully. > >>>> > >>>> is there anything obvious I am doing > wrong? > >>>> > >>>> Ted > >>>> > >>>> > >>>> > >>>> > _______________________________________________ > >>>> 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/programmingosx%40mac.com > >>>> > >>>> This email sent to [email protected] > >>> > >>> > >> > >> > >> > > > > _______________________________________________ > > 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/dleber_wodev%40codeferous.com > > > > This email sent to [email protected] > > ;david > > -- > David LeBer > Codeferous Software > 'co-def-er-ous' adj. Literally 'code-bearing' > site: http://codeferous.com > blog: http://davidleber.net > profile: http://www.linkedin.com/in/davidleber > twitter: http://twitter.com/rebeld > -- > Toronto Area Cocoa / WebObjects developers group: > http://tacow.org > > > > > _______________________________________________ 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]
