On TreasureBoat
Unfortunately I was not able to attend WOWODC and would like to know more about TreasureBoat. Is an NDA needed now that there is a public git repository? Having access to TBRuleModeler would be very nice too. Cheers, Angelo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W Rule Question
you might want to contact Ken Ishimoto. He wrote TBRuleModeler as a Mac only app. I know he made it available to WOWODC14 attendees. It has a few idiosyncrasies, but overall I feel that it works well. It has never crashed nor hung unexpectedly. On Jun 15, 2014, at 4:13 PM, Timothy Worman wrote: > In rule modeler the value shows with quotes - so that’s weird. Another weird > thing - in RuleModeler, I have two 'BooleanAssignment > (com.webobjects.directtoweb).’ I selected the other one and now things work > fine. They were stacked right on top of each other in the assignment popup in > RM. > > I’m not using TBRuleModeler. Actually, I know nothing of any treasure boat. > :-) Was this something I needed to be at WOWODC to track with? :-) > > Tim > > On Jun 14, 2014, at 7:03 PM, Theodore Petrosky wrote: > >> I was just playing with this and I can not get the boolean value to appear >> without the quotes >> >> 100 : (entity.name = 'Instrument' or entity.name = 'Person') => >> isEntityEditable = "true" [com.webobjects.directtoweb.BooleanAssignment] >> >> also I could not get the LHS to appear with the extra parenthesis that you >> have. If I add them, they are removed when I save the rues file. >> >> Are you using the new Treasure boat TBRuleModeler? >> >> Ted >> >> On Jun 14, 2014, at 9:46 PM, Timothy Worman wrote: >> >>> All: >>> >>> I’ve got a rule that looks like this: >>> >>> 110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) => >>> isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ] >>> >>> Is anyone able to tell me what I'm doing wrong with this rule? At >>> application launch this is causing an error like: >>> >>> IllegalArgumentException: ** DirectToWeb exception - a rule cannot be >>> instantiated if its right hand side is null. LHS=((entity.name = >>> 'PTAMembership') or (entity.name = 'PTAMember')) RHS=null >>> at com.webobjects.directtoweb.Rule.(Rule.java:211) >>> at er.directtoweb.ERD2WRule.(ERD2WRule.java:48) >>> at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57) >>> ... skipped 3 stack elements >>> at >>> com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192) >>> at >>> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256) >>> at >>> com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215) >>> at >>> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250) >>> at >>> com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275) >>> at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648) >>> at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982) >>> at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907) >>> at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99) >>> at >>> er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94) >>> ... skipped 7 stack elements >>> at er.extensions.appserver.ERXApplication.(ERXApplication.java:1147) >>> at com.donbenitopta.admin.app.Application.(Application.java:11) >>> >>> I could swear I’ve had this rule in there for a long time and it just >>> recently started to throw exceptions - but I’ve been known to be very >>> wrong. :-) >>> >>> Tim >>> UCLA GSE&IS >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >>> >>> This email sent to tedp...@yahoo.com >> > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W Rule Question
In rule modeler the value shows with quotes - so that’s weird. Another weird thing - in RuleModeler, I have two 'BooleanAssignment (com.webobjects.directtoweb).’ I selected the other one and now things work fine. They were stacked right on top of each other in the assignment popup in RM. I’m not using TBRuleModeler. Actually, I know nothing of any treasure boat. :-) Was this something I needed to be at WOWODC to track with? :-) Tim On Jun 14, 2014, at 7:03 PM, Theodore Petrosky wrote: > I was just playing with this and I can not get the boolean value to appear > without the quotes > > 100 : (entity.name = 'Instrument' or entity.name = 'Person') => > isEntityEditable = "true" [com.webobjects.directtoweb.BooleanAssignment] > > also I could not get the LHS to appear with the extra parenthesis that you > have. If I add them, they are removed when I save the rues file. > > Are you using the new Treasure boat TBRuleModeler? > > Ted > > On Jun 14, 2014, at 9:46 PM, Timothy Worman wrote: > >> All: >> >> I’ve got a rule that looks like this: >> >> 110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) => >> isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ] >> >> Is anyone able to tell me what I'm doing wrong with this rule? At >> application launch this is causing an error like: >> >> IllegalArgumentException: ** DirectToWeb exception - a rule cannot be >> instantiated if its right hand side is null. LHS=((entity.name = >> 'PTAMembership') or (entity.name = 'PTAMember')) RHS=null >> at com.webobjects.directtoweb.Rule.(Rule.java:211) >> at er.directtoweb.ERD2WRule.(ERD2WRule.java:48) >> at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57) >>... skipped 3 stack elements >> at >> com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192) >> at >> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256) >> at >> com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215) >> at >> com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250) >> at >> com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275) >> at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648) >> at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982) >> at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907) >> at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99) >> at >> er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94) >>... skipped 7 stack elements >> at er.extensions.appserver.ERXApplication.(ERXApplication.java:1147) >> at com.donbenitopta.admin.app.Application.(Application.java:11) >> >> I could swear I’ve had this rule in there for a long time and it just >> recently started to throw exceptions - but I’ve been known to be very wrong. >> :-) >> >> Tim >> UCLA GSE&IS >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >> >> This email sent to tedp...@yahoo.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com