I found my problem.

I had a rule modeler group that I was using. when I double clicked a rule, it 
opened the correct file and I edited it and saved. I had to select the 
Resources folder in Eclipse and Refresh.

I thought there was a preference so eclipse would auto refresh. maybe I'm wrong.

Ted

--- On Mon, 2/11/13, Theodore Petrosky <[email protected]> wrote:

> From: Theodore Petrosky <[email protected]>
> Subject: problem with _private.ERXSwitchComponent
> To: "WebObjects Development" <[email protected]>
> Date: Monday, February 11, 2013, 2:10 PM
> i don't know that's the problem, but
> that is the error.
> 
> I added a popup to my query page with
> ERD2WQueryToOneRelationship component.
> 
> here are my rules:
> 
> 100 : (pageConfiguration = 'QueryAgenda' and propertyKey =
> 'client') => componentName =
> "ERD2WQueryToOneRelationship"
> [com.webobjects.directtoweb.Assignment]
> 
> 50 : (pageConfiguration like '*KickOffBrief' or
> pageConfiguration like '*CallReport' or pageConfiguration
> like '*ContactReport' or pageConfiguration like
> '*ProjectWork*' or pageConfiguration like '*Agenda') =>
> toOneUIStyle = "popup"
> [com.webobjects.directtoweb.Assignment]
> 
> 100 : (propertyType = 'r' and
> relationship.destinationEntity.name = 'Client') =>
> keyWhenRelationship = "clientName"
> [com.webobjects.directtoweb.Assignment]
> 
> On my development machine, I run the app and at first I was
> getting:
> 
> Application:     briefs
> Error:     java.lang.IllegalStateException:
> <er.extensions.components._private.ERXSwitchComponent>
> : componentName not specified or componentName association
> evaluated to null.
> Reason:     <er.extensions.components._private.ERXSwitchComponent>
> : componentName not specified or componentName association
> evaluated to null.
> 
> I mucked around and found a few errors that had nothing to
> do with the QueryPage but voila it started working. So I
> cleaned my app, deleted everything in my 
> /Library/WebObjects/Applications  folder, recompiled to
> depoly. moved everything into place and fixed permissions
> and if I go to the query page and select a clientName from
> the popup my app blows up with that
> java.lang.IllegalStateException.
> 
> Now it is not working on my development environment either.
> Am I missing a binding?
> 
> Ted
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to