Hi Michael

Have you read the docs on the Turbine site? Go to the Turbine 2.2 site.

http://jakarta.apache.org/turbine/turbine-2.2.0/index.html

You *really* need to read, or at least scan for now, all the pages under Essentials and Documentation on the left.

Also, read

http://jakarta.apache.org/turbine/tdk/tdk-howto.html

Once you're familiar with the basics, you could create a few screens to display
1. a list of PROJECT items - ProjectList.vm
2. a list of TASK items - TaskList.vm
3. a single PROJECT - ProjectDetail.vm
4. a single TASK - TaskDetail.vm


Each of these Velocity templates (.vm files) go in <tdk>/webapps/[YourApp]/templates/app/screens/.

Then, create a Java class for each screen. They go in <tdk>/webapps/[YourApp]/WEB-INF/src/java/[package]/modules/screens/. Use the same name as the vm file, except for ".vm".

In each screen Java class, you'll put a List or object into the context. Then, in the vm file, you can display the data.

I really hope this helps. Let me know.

Eric

Michael C. Starkie wrote:
Sorry, I'll try again.

Here is the database I want to create. What do I need to do in order to build the front end. Just some general topics would be fine to point me in the right direction.

I created the table but I don't understand the syntax of the .vm files and I don't know the relationship between the schema changes and the java files that are generated and which need modification and which do not.

Thanks,
Mike

&lt;database&gt;

  &lt;table name=&quot;PROJECT&quot;&gt;
    &lt;column name=&quot;PROJECT_ID&quot; required=&quot;true&quot; autoIncrement=&quot;true&quot; 
primaryKey=&quot;true&quot; type=&quot;INTEGER&quot;/&gt;
    &lt;column name=&quot;TITLE&quot; size=&quot;255&quot; 
type=&quot;VARCHAR&quot;/&gt;
    &lt;column name=&quot;DESCRIPTION&quot; size=&quot;255&quot; 
type=&quot;VARCHAR&quot;/&gt;
  &lt;/table&gt;

  &lt;table name=&quot;TASK&quot;&gt;
    &lt;column name=&quot;TASK_ID&quot; required=&quot;true&quot; autoIncrement=&quot;true&quot; 
primaryKey=&quot;true&quot; type=&quot;INTEGER&quot;/&gt;
    &lt;column name=&quot;PROJECT_ID&quot; required=&quot;true&quot; 
type=&quot;INTEGER&quot;/&gt;
    &lt;column name=&quot;DESCRIPTION&quot; size=&quot;255&quot; 
type=&quot;VARCHAR&quot;/&gt;
    &lt;column name=&quot;START_DATE&quot; type=&quot;TIMESTAMP&quot;/&gt;
    &lt;column name=&quot;END_DATE&quot; required=&quot;false&quot; 
type=&quot;TIMESTAMP&quot;/&gt;
    &lt;column name=&quot;STATUS_ID&quot; type=&quot;INTEGER&quot;/&gt;
    &lt;column name=&quot;IMPLEMENTER&quot; size=&quot;50&quot; 
type=&quot;VARCHAR&quot;/&gt;


&lt;foreign-key foreignTable=&quot;PROJECT&quot;&gt; &lt;reference local=&quot;PROJECT_ID&quot; foreign=&quot;PROJECT_ID&quot;/&gt; &lt;/foreign-key&gt; &lt;/table&gt;

&lt;/database&gt;


-------Original Message------- &gt; From: [EMAIL PROTECTED] &gt; Subject: Re: Re: newbie create new table &gt; Sent: 14 Mar 2003 12:30:26 &gt; &gt; &gt; &quot;Michael C. Starkie&quot; [EMAIL PROTECTED]&gt; writes: &gt; &gt; &gt;--_b2ed085c350627538371f931b1fbf8d27 &gt; &gt;Content-Type: text/plain; &gt; &gt; &gt;Content-Transfer-Encoding: base64 &gt; &gt; Hm, &gt; &gt; I'd like to help you but please use text/plain. &gt; &gt; Regards &gt; Henning &gt; &gt; -- &gt; Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH &gt; [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ &gt; &gt; Java, perl, Solaris, Linux, xSP Consulting, Web Services &gt; freelance consultant -- Jakarta Turbine Development -- hero for hire &gt; &gt; --------------------------------------------------------------------- &gt; To unsubscribe, e-mail: [EMAIL PROTECTED] &gt; For additional commands, e-mail: [EMAIL PROTECTED] &gt; -------Original Message-------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to