Velocity - templatelink

2000-10-19 Thread Roall Lein-Killi
Hello here is the stack trace: --snip [Tue Oct 19 08:26:15 CEST 1999] -- ERROR -- An error occurred while rendering template layouts/default.xml: 594 [Tue Oct 19 08:26:15 CEST 1999] -- ERROR -- Exception: java.lang.ArrayIndexOutOfBoundsException: 594 Stack Trace

Configurable template context [long] (was Re: Veocity not ready for Turbine?)

2000-10-19 Thread Christoph Reck
Sorry for cross posting to turbine list, this deals mainly with turbine issues, but is a response to a velocity thread. I agree with your points, but I'm looking for a simple way of reusing the WM/VTL to do template configuration. These scripting languages are powerfull enough to do what

Re: Torque and database tables

2000-10-19 Thread Leon Messerschmidt
Hi, Check the CompanyPeer class - all it's methods should be static, so you should never need to create instances of the Peer class. Your example should look like this: Criteria crit = new Criteria(); crit.add(CompanyPeer.COMPANYID, 10); Vector Company = CompanyPeer.doSelect(crit); This

Re: Turbine snippet on Enhydra site.

2000-10-19 Thread Christophe Lombart
I don't want to make extra philosophy but I think - really - the Apache Foundation Software is certainly the best open source product on the market for web app. I think is it more serious than different commercial products (eg. Sybase and many other). The bigger Turbine advantage is certainly

Debug feature for templates

2000-10-19 Thread Christoph Reck
Below I have listed a pure WM template solution for debugging context and link parameters (could be enhanced to contain session parameters as well). This is *t*h*e* solution for the previous email in this thread "Re: Debug features of Cold Fusion". Maybe this avoids requiring turbine users to

Re: Torque and database tables

2000-10-19 Thread Colin Chalmers
Hi Leon, Thanx for your reply, the code you provided was what I first tried without success but now I know why it didn't work. I hadn't loaded the TurbineProperties file in the test program (it was late) . Now a new day and your input it works :-) I take my hat of to you guys this (Turbine)

Threadsafe Actions Screens etc

2000-10-19 Thread Andrew . Mason
Do Actions and Screens have to be threadsafe? Andrew To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL

Re: Threadsafe Actions Screens etc

2000-10-19 Thread Dave Bryson
On Thu, 19 Oct 2000, you wrote: Do Actions and Screens have to be threadsafe? Yes. Any code in a webapp should be thread safe. Dave Bryson [EMAIL PROTECTED] -- To subscribe:[EMAIL PROTECTED] To

Re: Threadsafe Actions Screens etc

2000-10-19 Thread Rafal Krzewski
[EMAIL PROTECTED] wrote: Do Actions and Screens have to be threadsafe? You can expect that there will be many people using the application simultaneously, so there is good chance that your screens/actions will execute concurrently. You should also think about situations when user has multiple

Re: Velocity - templatelink

2000-10-19 Thread Jason van Zyl
Hi, Send me the template that's causing you grief and I'll take a look at it today. If anyone has errors with templates and you send them to me I'll look at the right away and find out what's wrong. jvz. On Thu, 19 Oct 2000, Roall Lein-Killi wrote: Hello here is the stack trace:

RE: Turbine snippet on Enhydra site.

2000-10-19 Thread Riley, Cameron
Christophe, "No getting started" documents for the newbies. The "getting started" documentation is actually this mailing list. Lurking on it with ears and eyes wide is how I got started. It not only introduces you to the functionality and usability of the project, but also the personalities,

Re: Velocity - templatelink

2000-10-19 Thread Jason van Zyl
Hi Roall, I took you template and made and tried to mimic your setup. I used a hashtable for your $item object. First I place all the $items in an array, and then an ArrayList. I could not reproduce your error. It is probably something in the way you are setting up the object before putting

Re: Threadsafe Actions Screens etc

2000-10-19 Thread Jon Stevens
on 10/19/2000 5:50 AM, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: Do Actions and Screens have to be threadsafe? Andrew As everyone already answered...yes, they need to be threadsafe. Let me add to that... You can think of Modules (Actions, Screens, Pages, Layouts, Navigations) as a

Re: Where did all the database.adaptor directives go?

2000-10-19 Thread Daniel Rall
Jon Stevens wrote: on 10/18/2000 2:07 PM, "Daniel Rall" [EMAIL PROTECTED] wrote: Excellent, I was unaware of that directory and its content. I added a pointer to it from the meta.properties file. Daniel Yes, this was implemented recently by Jason in order to cut down on the

Re: Where did all the database.adaptor directives go?

2000-10-19 Thread Daniel Rall
Christopher Elkins wrote: on 10/18/2000 2:07 PM, "Daniel Rall" [EMAIL PROTECTED] wrote: Excellent, I was unaware of that directory and its content. I added a pointer to it from the meta.properties file. Daniel Yes, this was implemented recently by Jason in order to cut down

Re: criteria question

2000-10-19 Thread Christopher Elkins
What would it take to add OR support for Criteria? Is this an inherent limitation in the Criteria class design? If anybody can give me pointers, I could try a stab at this. First of all you can fall back to CUSTOM (Not sure how that works). But good support for ORs etc. can be easily

Desired location for unit tests

2000-10-19 Thread Christopher Elkins
Hi, all. While implementing OR query support in Criteria, I'm planning to create the beginnings of a JUnit test-case for it. What are people's opinions on the location of the test classes? I see at least two options: (1) src/java/org/apache/turbine/tests (2) src/tests Feel free to

Re: Desired location for unit tests

2000-10-19 Thread Daniel L. Rall
Christopher Elkins wrote: Hi, all. While implementing OR query support in Criteria, I'm planning to create the beginnings of a JUnit test-case for it. What are people's opinions on the location of the test classes? I see at least two options: (1) src/java/org/apache/turbine/tests

Re: Desired location for unit tests

2000-10-19 Thread Christopher Elkins
Christopher Elkins wrote: Hi, all. While implementing OR query support in Criteria, I'm planning to create the beginnings of a JUnit test-case for it. What are people's opinions on the location of the test classes? I see at least two options: (1)

New Install

2000-10-19 Thread Craig Despres
I have installed Turbine on Apache 1.3.14, using Caucho Resin as my servlet container. I am able to get to http://localhost/servlets/Turbine but instead of a login page, I get a page that says You are logged in as user '' and it doesn't ask me for a user name or password. I looked at the

Re: Desired location for unit tests

2000-10-19 Thread Daniel L. Rall
Christopher Elkins wrote: Christopher Elkins wrote: Hi, all. While implementing OR query support in Criteria, I'm planning to create the beginnings of a JUnit test-case for it. What are people's opinions on the location of the test classes? I see at least two options:

Re: New Install

2000-10-19 Thread Jon Stevens
on 10/19/2000 6:11 PM, "Craig Despres" [EMAIL PROTECTED] wrote: I looked at the logs, and everything seems fine. Can anyone point me in the right direction? Thanks, Craig It is funny...people expect Turbine to "do" something. It is a framework. It is up to you to make it do something. If

RE: New Install

2000-10-19 Thread Craig Despres
Jon, I wasn't expecting it to "do" something. I was simply mislead by the Installation document. I followed the directions, and at the bottom of the installation, it says--- The following examples assume your servlet zone is configured at http://your.host.com/servlets. If this is not the

Re: New Install

2000-10-19 Thread Jon Stevens
on 10/19/2000 6:40 PM, "Craig Despres" [EMAIL PROTECTED] wrote: If the Install document is not correct, then it might be less confusing to new people if it didn't lead you to believe that follow steps 1,2,3 and poof you are there! It isn't correct and we haven't had the time to update it

Re: Desired location for unit tests

2000-10-19 Thread Christopher Elkins
Cool! This is just the sort of discussion I was fishing for. I love collaborative development! While implementing OR query support in Criteria, I'm planning to create the beginnings of a JUnit test-case for it. What are people's opinions on the location of the test classes? I see at