Because the rule system uses _NSUtilities.classWithName() to get the class name. It will find a class by name, if it is uniquely named, or if you use a fully qualified class name, then it will treat it like java's standard Class.forName(). The assignment class is er.directtoweb.assignments.ERDKeyValueAssignment not er.directtoweb.ERDKeyValueAssignment.
Ramsey On Dec 7, 2011, at 2:21 PM, James Cicenia wrote: > fqcn ? fully qualified component name? > > Well then where is it? Why would ERDKeyValueAssignment not crash my app but > using the fully qualified does? > > James > > > On Dec 7, 2011, at 2:36 PM, Ramsey Gurley wrote: > >> ClassNotFound. If you want to use the fqcn then it would be >> er.directtoweb.assignments.ERDKeyValueAssignment. It crashes because all >> the rules are read in from the rule model files at startup. When the class >> is not found, crash. >> >> >> On Dec 7, 2011, at 1:31 PM, James Cicenia wrote: >> >>> I was using ERDKeyValueAssignment for the pageName. But I think that was >>> giving me the factory error, >>> so I changed it to er.directtoweb.ERDKeyValueAssignment. >>> >>> 1) What is the difference >>> 2) Why does using the second crash my app no matter if the rule is active >>> or not?! >>> >>> Thanks >>> James _______________________________________________ >>> 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/rgurley%40smarthealth.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/rgurley%40smarthealth.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/archive%40mail-archive.com This email sent to [email protected]
