Quinton,
Below you corrected me on the location of TurbineMapBuilderAdapter:
TurbineMapBuilderAdapter
<root>/WEB-INF/classes/<org>/<mycompany>/<myapp>/om/map/
TurbineMapBuilderAdapter.class
No.
org.mycompany.sampleapp.util.db.map.TurbineMapBuilderAdapter
My sampleapp did not create a util.db.map folder, the only folders are:
org.mycompany.sampleapp.modules.actions
.screens
org.mycompany.sampleapp.om.map
Is it just a case of creating my own?
Also is the howto located at:
http://jakarta.apache.org/turbine/turbine-2.2.1
more suited to TDK2.2 as it has the correct imports compared to the
howto located at:
http://jakarta.apache.org/turbine/turbine-2.2.0
Help much appreciated.
Regards,
Stuart Townhill.
P.S. Not sure if this is a glitch with my browser but when I select the
"Turbine-2" link located in the grey bar that runs along the top of the
website (same horizontal as Last published:...) it appears to take me to
two different pages dependent on the current page I am viewing they are:
http://jakarta.apache.org/turbine/turbine-2.2.0/
http://jakarta.apache.org/turbine/turbine-2.3/
-----Original Message-----
From: Quinton McCombs [mailto:[EMAIL PROTECTED]]
Sent: 06 February 2003 23:06
To: Turbine Users List
Subject: RE: Question - Extended User HowTo
> -----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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]