ERModernDirectToWeb Formatter Bug?

2010-09-09 Thread David Avendasora
Hi all, mostly David LeBer, I see that a little over a week ago David LB added the following rule: 40 : *true* => formatter = %Y-%m-%d [com.webobjects.directtoweb.Assignment], And now any number field that doesn't have a higher priority formatter rule on it fails with: IllegalArgumentExcep

Re: ERModernDirectToWeb Formatter Bug?

2010-09-09 Thread Ramsey Lee Gurley
Committed. I noticed this yesterday too. D2WDisplayNumber didn't like it. Ramsey On Sep 9, 2010, at 5:58 AM, David Avendasora wrote: > Hi all, mostly David LeBer, > > I see that a little over a week ago David LB added the following rule: > > 40 : *true* => formatter = %Y-%m-%d > [com.we

Re: ERModernDirectToWeb Formatter Bug?

2010-09-09 Thread David LeBer
On 2010-09-09, at 5:58 AM, David Avendasora wrote: > Hi all, mostly David LeBer, > > I see that a little over a week ago David LB added the following rule: > > 40 : *true* => formatter = %Y-%m-%d > [com.webobjects.directtoweb.Assignment], > > And now any number field that doesn't have a hi

Re: ERModernDirectToWeb Formatter Bug?

2010-09-09 Thread David Avendasora
Whew. I was wondering if I'm the only person living out on the edge of Head... Thanks Non-Dave! Dave On Sep 9, 2010, at 7:55 AM, Ramsey Lee Gurley wrote: > Committed. I noticed this yesterday too. D2WDisplayNumber didn't like it. > > Ramsey > > On Sep 9, 2010, at 5:58 AM, David Avendasora w

Boolean attribute and MS SQL Server

2010-09-09 Thread Josef Vanek
Hi everybody I've encountered a weird problem when using this configuration : - WebObjects 5.4.2 (tried on Mac OS and Linux platforms) - Wonder 5.0 for WO 5.4 - ERPrototypes - MicrosoftPlugIn - JDBC Driver: sqljdbc4.jar - MS SQL Server 8 One entity has an attribute which uses boolean prototype.

Renaming instanceIdKey - Why Does This Work?

2010-09-09 Thread Lawson, Ben
Hi List, A strange question sure, but for curiosity's sake I'm trying to understand how the WebObjects adaptor maintains a mapping of instance ID cookie names to applications. Looking at the source it looks like "woinst" is hardcoded into the adaptor in config.h, and I can't find anywhere else

Re: Renaming instanceIdKey - Why Does This Work?

2010-09-09 Thread Chuck Hill
I played with this a while ago and my experience was that it did NOT work. It appears to work, but something else was causing this. I don't recall what, maybe everything hitting instance 1? I just recall thinking that it was working and wondering why for quite a while before noticing that it

Re: Boolean attribute and MS SQL Server

2010-09-09 Thread Chuck Hill
On Sep 9, 2010, at 6:52 AM, Josef Vanek wrote: > Hi everybody > > I've encountered a weird problem when using this configuration : > > - WebObjects 5.4.2 (tried on Mac OS and Linux platforms) > - Wonder 5.0 for WO 5.4 > - ERPrototypes > - MicrosoftPlugIn > - JDBC Driver: sqljdbc4.jar > - MS SQL

Re: Renaming instanceIdKey - Why Does This Work?

2010-09-09 Thread Lawson, Ben
You're right of course Chuck, turns out our instanceIdKey had a trailing "woinst". The "woinst" value is looked up in the cookie header by doing a string match, so as long as you have "woinst" appended to the cookie name in the Application class it works fine. This of course becomes problematic

First attempt at D2W HELP

2010-09-09 Thread Theodore Petrosky
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: {

Re: First attempt at D2W HELP

2010-09-09 Thread David Holt
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 overrid

Re: First attempt at D2W HELP

2010-09-09 Thread Theodore Petrosky
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

Re: First attempt at D2W HELP

2010-09-09 Thread David Holt
I use 3.6 so I can't really answer your question about 3.5 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

Re: First attempt at D2W HELP

2010-09-09 Thread David LeBer
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.

Re: Boolean attribute and MS SQL Server

2010-09-09 Thread David Avendasora
If you really want to use bit as the datatype in SQL Server, here's how I did it: External Type: bit Value Class NSNumber Value Type c And that turned 0 and 1 in the database into false and true in the Java. Dave On Sep 9, 2010, at 11:04 AM, Chuck Hill wrote: > > On Sep 9, 2010, at 6:52 AM,

Re: First attempt at D2W HELP

2010-09-09 Thread Ramsey Gurley
On Sep 9, 2010, at 12:44 PM, David LeBer wrote: 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 Rule

Re: First attempt at D2W HELP

2010-09-09 Thread Theodore Petrosky
are you using 3.6 in a production environment? --- On Thu, 9/9/10, David Holt wrote: > From: David Holt > Subject: Re: First attempt at D2W HELP > To: "Theodore Petrosky" > Cc: "WebObjects Apple" > Date: Thursday, September 9, 2010, 12:30 PM > I use 3.6 so I can't really answer > your quest

Re: First attempt at D2W HELP

2010-09-09 Thread Theodore Petrosky
so I see this… Sep 09 16:25:12 PAEmployeeD2W[57716] DEBUG NSLog - evaluateExpression: 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.di

Re: First attempt at D2W HELP

2010-09-09 Thread Theodore Petrosky
ok .. got it to work. I had to set the password and port in both WOLips and RuleModeler, then set the workspace to automatically refresh, then clean the project. Now my project is seeing the rules file. thanks. Ted --- On Thu, 9/9/10, David LeBer wrote: > From: David LeBer > Subject: Re: F

Re: First attempt at D2W HELP

2010-09-09 Thread David LeBer
On 2010-09-09, at 4:30 PM, Theodore Petrosky wrote: > so I see this… > > > Sep 09 16:25:12 PAEmployeeD2W[57716] DEBUG NSLog - evaluateExpression: > 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,

D2W Auto-Qualifying all listings

2010-09-09 Thread David Avendasora
Hi all D2W Gurus, I'm starting a new D2W app, and one of the things it needs to do is automatically pre-qualify all listings of of entities to filter down to only the EOs that the user is allowed to see. The logic to tell if a user is allowed will be somewhat complicated as a user can belong to

Re: D2W Auto-Qualifying all listings

2010-09-09 Thread David Holt
Hi David! On 2010-09-09, at 3:03 PM, David Avendasora wrote: > Hi all D2W Gurus, > > I'm starting a new D2W app, and one of the things it needs to do is > automatically pre-qualify all listings of of entities to filter down to only > the EOs that the user is allowed to see. Bug Tracker does s

Re: D2W Auto-Qualifying all listings

2010-09-09 Thread Ramsey Lee Gurley
On Sep 9, 2010, at 6:03 PM, David Avendasora wrote: > Hi all D2W Gurus, > > I'm starting a new D2W app, and one of the things it needs to do is > automatically pre-qualify all listings of of entities to filter down to only > the EOs that the user is allowed to see. The logic to tell if a user i

Re: WOWODC 2011 coming to your city

2010-09-09 Thread David den Boer
woo-hoo, binary plists. Did someone say Session 117? :-) On Sep 8, 2010, at 5:35 PM, James Cicenia wrote: > with binary p-lists. > > :-) > > > > On Sep 8, 2010, at 12:29 PM, Ken Anderson wrote: > >> Except for the fact that everyone wants an example that links an iPhone app >> to a DB via E

Re: WOWODC 2011 coming to your city

2010-09-09 Thread Chuck Hill
We are still waiting for the download. :-P On Sep 9, 2010, at 5:56 PM, David den Boer wrote: > woo-hoo, binary plists. Did someone say Session 117? > :-) > > On Sep 8, 2010, at 5:35 PM, James Cicenia wrote: > >> with binary p-lists. >> >> :-) >> >> >> >> On Sep 8, 2010, at 12:29 PM, Ken A

Does Apple stop to use WebObjects for its internal tools?

2010-09-09 Thread Mertz Stéphan
Hi, The new 'the Sales and Trend reporting module' of iTunes Connect is develop with JSF instead of WebObjects. Does Apple stop to use WebObjects for its internal tools? Does someone know what is powering the new Ping social network ? Regards, Stéphan __