> -----Original Message----- > From: Stuart Townhill [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 4:55 PM > To: 'Turbine Users List' > Subject: Question - Extended User HowTo > > > To anyone who can help, > > Am I right in thinking that the HowTo located at: > > http://jakarta.apache.org/turbine/turbine-2.2.0/howto/extend-u > ser-howto. > html > > Applies to TDK2.1 and not TDK2.2 in the sense that Torque had > now been decoupled?
No. Only 2.2. > > For example the "TurbineMapBuilderAdapter": > > import org.apache.turbine.services.db.TurbineDB; > import org.apache.turbine.util.db.map.TableMap; > import org.apache.turbine.util.db.map.TurbineMapBuilder; > > would become: > import org.apache.torque.Torque; > import org.apache.torque.map.TableMap; > import org.apache.turbine.util.db.map.TurbineMapBuilder; > Yes. > > Secondly when the HowTo talks about implementing > "TurbineMapBuilderAdapter, TurbineUserAdapter & > TurbineUserPeerAdapter" I am presuming this means: > > TurbineMapBuilderAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/map/ > TurbineMapBuilderAdapter.class > No. org.mycompany.sampleapp.util.db.map.TurbineMapBuilderAdapter > TurbineUserAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/ > TurbineUserAdapter.class > Yes > TurbineUserPeerAdapter > <root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/ > TurbineUserPeerAdapter.class > Yes > And once I have edited "<myapp>-schema.xml & > turbine-schema.xml" and created the above files and executed > the command 'ant init' it will create all the relevant *.java > files in the (<root>/WEB-INF/src/...) directory and rebuild > the database. > > Any help in clarifying this process would be much appreciated. > > Regards, > > Stuart Townhill. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
