problem with _private.ERXSwitchComponent
problem with _private.ERXSwitchComponent
- Subject: problem with _private.ERXSwitchComponent
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 11 Feb 2013 11:10:05 -0800 (PST)
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden