From: <tho...@us...> - 2009-06-24 09:47:13
|
Revision: 9520 http://wonder.svn.sourceforge.net/wonder/?rev=9520&view=rev Author: thoepfner Date: 2009-06-24 09:46:09 +0000 (Wed, 24 Jun 2009) Log Message: ----------- Documentation in Properties file for WONDER-247 (patch for ERXModel and ERXModelGroup$Model for ERXModel to optionally share extended prototypes logic) Modified Paths: -------------- trunk/Wonder/Frameworks/Core/ERExtensions/Resources/Properties Modified: trunk/Wonder/Frameworks/Core/ERExtensions/Resources/Properties =================================================================== --- trunk/Wonder/Frameworks/Core/ERExtensions/Resources/Properties 2009-06-24 01:06:10 UTC (rev 9519) +++ trunk/Wonder/Frameworks/Core/ERExtensions/Resources/Properties 2009-06-24 09:46:09 UTC (rev 9520) @@ -533,6 +533,20 @@ ## that point to the same URL and have the same username # er.extensions.ERXModelGroup.raiseOnUnmatchingConnectionDictionaries=true +## Enable Wonder's "extended prototypes" feature. +## Allows for prototypes with naming conventions as follows and with prototype attributes +## chosen in the following priority order where the same attibute name appears in +## multiple prototype entities: +## EOJDBC<pluginName><modelName>Prototypes, EO<adaptorName><modelName>Prototypes, EO<modelname>Prototypes, EOJDBC<pluginName>CustomPrototypes, +## EO<adaptorname>CustomPrototypes, EOCustomPrototypes, EOJDBC<pluginName>Prototypes, EO<adaptorname>Prototypes, EOPrototypes. +## +## Note that Wonder's erprototypes generally have the "EOJDBC<pluginName>Prototypes" convention for JDBC adaptor prototypes +## so you can override Wonder's prototypes for your own project by having prototype entities with names such as +## EOJDBCMySQLCustomPrototypes and even override that with model specific variations using sth like EOJDBCMoviesPrototypes +## if your model name was 'Movies'. +# er.extensions.ERXModelGroup.modelClassName = com.webobjects.eoaccess.ERXModel +# er.extensions.ERXModel.useExtendedPrototypes = true + ######################################################################### # ERXMigrator ######################################################################### This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |