PostgreSQL support

2000-02-08 Thread Nissim
Turbine at the command line. -- -- @author Nissim Karpenstein -- -- run this in the SID you want to use. DROP SEQUENCE PERMISSION_SEQUENCE; CREATE SEQUENCE PERMISSION_SEQUENCE; DROP TABLE PERMISSION; CREATE TABLE PERMISSION ( PERMISSIONID INTNOT NULL, PERMISSIONVARCHAR(99

SOLVED: Re: Trouble trying to use turbine pool

2000-02-24 Thread Nissim
Nissim wrote: Hi All, I'm trying to use the DB Connection pool from Turbine in my application. The code in my servlet looks like this: ... import org.apache.turbine.util.db.pool.*; ... try { //Get a connection from the global DB broker DBConnection db = DBBroker.getInstance

Re:java.lang.ExceptionInInitializerError:java.lang.NullPointerException

2000-04-25 Thread Nissim
. -Nissim Bernie Hoeneisen wrote: Thanks, but this cannot be the problem; the file TurbineResources.properties exists, has read permission for everyone (-rw-r--r--). Furthermore in zone.properties there is a line: servlet.Turbine.initArgs=properties=/home/faq/proj/turbine/conf/TurbineResources

Migration Path

2000-04-25 Thread Nissim
the application so that there isn't any html generation in the java code, and minimal code in the templates. Is there an example application which works this way within turbine/WM ? Thanks. -Nissim To subscribe:[EMAIL

Re: Migration Path (more specific question)

2000-04-25 Thread Nissim
OK, another question: I see that in jyve, when you have a form, the action= part of the form tag is generated using the Turbine DynamicURI utility class. If I wanted to write out the form html in a WM template, what would I put in the ACTION= part? -Nissim

Re: Has anyone tried postgreSQL 7.0?

2000-05-21 Thread Nissim
ou can also change that format on the server, but I don't know how. -Nissim christopher baus wrote: I am considering postgreSQL for my turbine backend, but I seem to be having problems with timestamping of user logins. It seems the JDBC driver doesn't like the the time

PostgreSQL OID and sequence/id table

2000-05-23 Thread Nissim
. The primary key in the JobEntry table is called OID. I think this will fail in Postgres because it is a reserved word. Can we change the name of that column so I can add the JobEntry table into the PostgreSQL script? -Nissim

Re: PostgreSQL OID and sequence/id table

2000-05-24 Thread Nissim
I upgraded the server to 7.0 but I'm still using the 6.5.3 JDBC driver. -Nissim christopher baus wrote: Might I ask what version of postgres you are using? I've been having problem after problem with 7.0, primarily with the JDBC drivers (date formatting, dropping connection, etc

Re: java.lang.ClassNotFoundException: postgresql.Driver

2000-06-13 Thread Nissim
If you're using postgres = 7.0 the JDBC driver is now in org.postgresql.Driver. John Thorhauer wrote: I am getting the following error info written to turbine log file when trying to login using postgres: ## [Tue Jun 13 16:58:52 EDT

Re: OID [was RE: postgres woes] Patch included

2000-06-17 Thread Nissim
John Thorhauer wrote: I think I got everything set up right but I and now I get the following error: ## Exception: FastPath call returned ERROR: lo_write: invalid large obj descriptor (0) This error is caused by the fact that manipulation

Re: OID [was RE: postgres woes] Patch included

2000-06-18 Thread Nissim
Sean Legassick wrote: On Sat, Jun 17, 2000 at 07:50:42AM -0400, Nissim wrote: This error is caused by the fact that manipulation of large object data in Postgres must be done within a transaction. Jon, how would you feel about putting something like this in BasePeer.doUpdate: We have

build script

2000-06-26 Thread Nissim
that it gets overwritten next time I make... -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

[PATCH] Postgresql (long)

2000-06-26 Thread Nissim
helper methods have the same interface as the new methods would have...because length is an int and java.sql.Types.* are ints... /Questions for turbine coders Thanks -Nissim Patches: Index: docs/schemas/Postgres_users_roles_permissions.sql

Re: DB (Postgres Transactions, unresolved issues)

2000-06-27 Thread Nissim
Sean Legassick wrote: Could another abstract class that extends DB be created into which all transaction-specific [or fill in your db-specific feature] interfaces could go? This would probably mean mucking w/ BasePeer, but it would mean a hell of a lot less mucking. :) This

Re: DB (Postgres Transactions, unresolved issues)

2000-06-28 Thread Nissim
Does anyone else care to comment on this before I submit more patches? Sean Legassick wrote: On Tue, Jun 27, 2000 at 08:04:50PM -0400, Nissim wrote: OK, Here are the issues that aren't resolved: Good summary of the questions, here are my proposed answers. 1) Should the connection

Re: [PATCH] Re: DB (Postgres Transactions, unresolved issues)

2000-06-29 Thread Nissim
peer classes for the attachment tables in scarab (or any other tables containing binary data), you're going to have the same problem again. -Nissim Nissim wrote: OK, it's done. I came up with another solution for Postgres which requires minimal changes to existing classes: Make a new

Re: [PATCH] Re: DB (Postgres Transactions, unresolved issues)

2000-06-29 Thread Nissim
re which calls the transaction methods if: TurbineResources.getString("database.default.driver", "" ) .startsWith("org.postgres") In any event, I think the BasePeer portion of the patch should be applied, sin

Re: DB (Postgres Transactions, unresolved issues)

2000-06-29 Thread Nissim
ion you'll be calling the other methods (which take the DBConnection argument and don't have additional logic for postgres). 3) If you call the method which doesn't take a connection, either you aren't in a transaction, or you don't know how to use it.

Transactions

2000-07-03 Thread Nissim
that this is too much? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: Transactions

2000-07-03 Thread Nissim
Nissim said: 4) in the BasePeer methods that return stuff from the db but don't take a connection argument, check first if objectDataNeedsTrans, then if that's true, check if any of the tables in the criteria containsObjectColumn, and if that's true, set up a transaction. John McNally

Re: Database Setup

2000-07-03 Thread Nissim
Look for the DB2 script in the turbine/docs/shema directory. Also run the default_roles_permissions.sql. -Nissim [EMAIL PROTECTED] wrote: Hi, I just downloaded Jetspeed and installed it on IBM WebSphere Application Server 3.02 Enterprise Edition using IBM DB2 6.1for a brief

Re: [Q] sumit, docs (turbine, webmacro, tomcat)

2000-07-04 Thread Nissim
to remove the jars from the $TOMCAT_HOME/lib after you run the ant job Also the other path problem you mentioned needs to be fixed in the docs... I'll fix these things tomorrow. -Nissim "tb.dinesh" wrote: Hi Jon and others, I have been following Turbine and othe

Re: [VOTE] CVS Write: Leon and Regis and Cameron

2000-07-07 Thread Nissim
+1 Jon Stevens wrote: Ok, three more people (woo hoo!)... Leon has been doing excellent patches. Regis just did his work on the Mail stuff and definitely shows that he wants to play the Turbine game by putting up with me being strict on the code submissions. Cameron has been doing

Re: First test of Turbine throws exception.

2000-07-09 Thread Nissim
Is all that stuff correct in your TurbineResources.properties? The references to the jdbc driver I mean, and that the correct default driver is the only one uncommented? Brevsville Administrator wrote: Yup I know the all the class files for my JDBC are set up correctly cos I use the very

Re: [PATCH]BasePeer [WAS Re: BasePeer, IDBroker andassociatedclasses.]

2000-07-12 Thread Nissim
+1 Sounds good to me. -Nissim John Thorhauer wrote: John McNally wrote: I am going to start checking in these code changes. I have tested them some and they appear to be working, but further testing is needed. So please grab the changes and let me know of problems asap

Re: setRedirectURI vs. setTemplate

2000-07-13 Thread Nissim
it? -Nissim Yes, that is what it was supposed to be for. I haven't tried to use that code in about 2 years so I warn you that it might not work. :-) Essentially, check out the very bottom of the Turbine.doGet() method, you should see the special case for handling this condition, you

New Structure

2000-07-27 Thread Nissim
to guess which properties to change in TR.properties -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems

Re: New Structure

2000-07-27 Thread Nissim
OK, I found it...it's in src/java/org/apache/turbine/samples/templates/webmacro/README.txt Does anyone think it should be moved or changed, or should I just change the webmacrosite.html to point to the new location? -Nissim Nissim wrote: What happened to the examples/webmacro

Re: Adding insert capability to Torque

2000-08-01 Thread Nissim
uot;/ column name="table_name" value="Permission"/ . . /insert this is the great attribute vs. tag debate with XML. I vote for column -jon Me Too +1 for column -Nissim To subscribe:[EMAIL PRO

changes to JDBCSchemaToDatabaseMap

2000-08-01 Thread Nissim
Below is the patch. If it looks ok to you, I can commit it later. -Nissim Index: org/apache/turbine/tools/JDBCSchemaToDatabaseMap.java === RCS file: /products/cvs/turbine/turbine/src/java/org/apache/turbine/tools/JDBCSchema

Thread safety of refreshable cache

2000-08-01 Thread Nissim
on this in RefreshableCachedObject when it calls contents.refresh(). Does that sound like it will work? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working

Re: Thread safety of refreshable cache

2000-08-01 Thread Nissim
to lock the whole cache while you build something to put in there? -Nissim Paul O'Leary wrote: I think Leon's right. I think you need to synchronize the CachedObjects at a higher level in general. Actually - forgive me, I'm new around here - is it just me or does

Re: Thread safety of refreshable cache

2000-08-01 Thread Nissim
"Daniel L. Rall" wrote: Nissim wrote: The question is what do we lock to prevent two threads from (almost simultaneously) creating the same object. We can lock the object which is refreshing, to make sure no one touches it while it's refreshing, but before an object is in

PROPOSAL: Limiting resultsets with Criteria and BasePeer

2000-08-03 Thread Nissim
setTop(String top) public setLimit(String limit) change toString to build the new words into the query if necessary In BasePeer.createQueryString add logic to check if the db supports limit, and if so, call the appropriate method in Query based on the db.getLimitStyle. -Nissim

Re: PROPOSAL: Limiting resultsets with Criteria and BasePeer

2000-08-03 Thread Nissim
I found this article: http://www.oracle.com/oramag/code/asktom/q10.html But I don't think it would be very nice to put something like that into turbine -Nissim John McNally wrote: Sounds okay. Is there a syntax for Oracle? - Original Message - From: Nissim [EMAIL

Order by XXX desc

2000-08-08 Thread Nissim
Should you be able to do: criteria.addOrderBy(SomePeer.some_column + " desc") It looks like this would work if it wasn't for the code in BasePeer that checks for the ignoreCaseInOrderBy stuff. I'm going to change that code a little so that the above code will work.

Limiting SQL results.

2000-08-08 Thread Nissim
and MySQL. Please test these. -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: something is wrong

2000-08-10 Thread Nissim
kes some sample apps. -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: Infinite redirect strikes again

2000-08-17 Thread Nissim
the password appears in the URL. I don't really understand the purpose of that fragment, so I can't make any suggestions, but I wanted to note that I have seen the behaviour described above. -Nissim Tomasz Skutnik wrote: Hi everybody. I'd like to bring that topic back to discussion. In my

Re: commit list

2000-08-21 Thread Nissim
[EMAIL PROTECTED] wrote: Fanyun, you should consider subscribing to the commit list to receive CVS diffs. There's no better way to stay on top of the bleeding edge of a project. How can I subscribe to this? regards, Brian Parker mailto:[EMAIL PROTECTED] -Nissim

Re: PROPOSAL: Limiting resultsets with Criteria and BasePeer

2000-08-04 Thread Nissim
] To: Turbine [EMAIL PROTECTED] Sent: Thursday, August 03, 2000 11:21 AM Subject: RE: PROPOSAL: Limiting resultsets with Criteria and BasePeer nissim, java.sql.Statement.setMaxRows( int ) is supposed to already give you this functionality, I believe. http://java.sun.com/products//jdk/1.2

Re: Postgres support

2000-09-07 Thread Nissim
, with a visitor table that doesn't have a blob column. BTW: The pgsql folks said that the next version (7.1 I think) will have support for determining whether a column is a blob (using something called toast)...that will make the hack unnecessary. Cheers, -Nissim John Thorhauer wrote

Modifying docs with the new xdocs stuff

2000-09-07 Thread Nissim
What's the correct method of updating documentation with the new xdocs stuff? Would it be: 1) edit the xml file in the xdocs dir. 2) run build-turbine.sh docs to generate the html 3) check in both xml and html files Just checking -Nissim

Re: Services

2000-09-07 Thread Nissim
"Diethelm Guallar, Gonzalo" wrote: Could anyone explain what the philosophy behind the idea of Services is? When would I want to implement something as a Service? I don't know the history behind why some things in turbine are services, and some are not, but I think that the idea of a

xdocs output

2000-09-07 Thread Nissim
, but I'm not the best at html... -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: [PROPOSAL] Finalizers for cached Objects in Cache Service

2000-09-17 Thread Nissim
don't understand what you need though... Cheers, -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: [PATCH] Finalizers for cached Objects in CacheService,2ndgo/2nd submit

2000-09-21 Thread Nissim
private CacheFinalizer object, and then changing the addListener to setFinalizer. And get rid of the loop in the finalize method, and just call the method on the one finalizer (if it's not null). -Nissim Chris Kimpton wrote: Hi, I think you already gave some sort of description

Re: [OT] JDBC driver for MS SQL Server?

2000-09-21 Thread Nissim
US for 20 connections, and 1000$ us for unlimited. See this site for a whole list of vendors: http://mindprod.com/jdbc.html Good Luck, -Nissim "Diethelm Guallar, Gonzalo" wrote: Does a native JDBC driver for M$ SQL Server exist? Or is my only choice going through ODBC?

Re: Random thought

2000-09-26 Thread Nissim
Stephen Adkins wrote: PS. A random thought: What is Turbine? That's what makes your project spin! ;-) or ... What is Turbine? It's the engine that make your project take off. Or, "Something that _compresses_ the amount of time spent developing a complex application."

Re: mod_rewrite

2000-10-03 Thread Nissim
it comes standard with apache. [EMAIL PROTECTED] wrote: Hi All, Can anyone tell me where can I find 'mod_rewrite' ?. Sometime back I have seen a link to it from Documentation part of turbine. Thanks Venkat To

Re: CVS update: WebMacroFormatter.java

2000-10-03 Thread Nissim
Doesn't it have to be in the context if we're going to use it from within webmacro? Nissim wrote: Where should I move it to? Jon Stevens wrote: -1. This code should go into some utility class somewhere as a static final method. -jon -- http://scarab.tigris.org/| http

Re: CVS update: WebMacroFormatter.java

2000-10-03 Thread Nissim
Jon Stevens wrote: cough code reuse cough fixed To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL

cache: new features and threading issues

2000-10-03 Thread Nissim
indefinitely, refreshing itself whenever it expires. There are still threading issues in the cache as discussed previously in this list. Can someone with more experience with that stuff take a look at TurbineGlobalCacheService.java please. Thanks -Nissim

Re: Peer classes and Informix

2000-10-04 Thread Nissim
w database adapter and modify the Turbine prop. file ? Sounds right. -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com

Re: Caching problem

2000-11-14 Thread Nissim
I've seen that same behaviour on Windows 2000. fanyun wrote: Hi, I am now using tdk1.7a. I find that any time I change code in *.java file. The change will immediately take effect. But most of the time I change the *.vm file, the change will not take effect, I have to restart tomcat to

Re: Connection pooling and leakage

2000-12-01 Thread Nissim
So according to that, you should never allow a class reload on a production server without restarting the VM, and in a development environment you should just "deal?" Jon Stevens wrote: There are some JVM's (I don't know which) that do leak memory as a result of classreloading. Here is a

Re: CVS update: WebMacroFormatter.java

2000-10-03 Thread Nissim
PROTECTED] Subject: CVS update: turbine/src/java/org/apache/turbine/util/webmacro WebMacroFormatter.java User: nissim Date: 00/10/03 05:12:35 Modified:src/java/org/apache/turbine/util/webmacro WebMacroFormatter.java Log: Added isNull method which returns

OID [was RE: postgres woes] Patch included

2000-06-16 Thread Nissim Karpenstein
I think for a start, you should change the datatype of the objectdata column in the visitor table to type oid. That's what you do in Postgres for a large object column. After you make that change, there's still an exception on logout: village.DataSetException: Bad conversion:

RE: OID [was RE: postgres woes] Patch included

2000-06-16 Thread Nissim Karpenstein
TEGER, 152c153,154 Types.TIMESTAMP,Types.TIMESTAMP --- Types.TIMESTAMP,Types.TIMESTAMP, Types.VARBINARY -Original Message- From: Nissim Karpenstein [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 9:20 AM To: 'Turbine' Subject: OID [was RE: postgres woes] Patch included I think for

RE: OID [was RE: postgres woes] Patch included

2000-06-16 Thread Nissim Karpenstein
. -Nissim -Original Message- From: Nissim Karpenstein [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 10:46 AM To: 'Turbine' Subject: RE: OID [was RE: postgres woes] Patch included I'm replying to my own message because I found out the solution to the next (and final) postgres

RE: OID [was RE: postgres woes] Patch included

2000-06-16 Thread Nissim Karpenstein
, but that would map to VARBINARY in the metadata. I don't know if they'll want to do that either... -Nissim -Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 3:00 PM To: Turbine Subject: Re: OID [was RE: postgres woes] Patch included on 6/16

RE: OID [was RE: postgres woes] Patch included

2000-06-16 Thread Nissim Karpenstein
-Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 4:35 PM To: Turbine Subject: Re: OID [was RE: postgres woes] Patch included on 6/16/2000 12:07 PM, "Nissim Karpenstein" [EMAIL PROTECTED] wrote: The problem is that the OID type is

Can't find webMacro.properties in WAR archive

2000-06-16 Thread Nissim Karpenstein
Hi, I'm having trouble getting WebMacroSitePage starting inside tomcat 3.1, in it's own context. I built the war hierarchy using the ant task as described in the WAR archives for webMacro document, and the WebMacro.properties file is in the $TOMCAT_HOME/webapps/contact/WEB-INF/classes directory

RE: Can't find webMacro.properties in WAR archive

2000-06-16 Thread Nissim Karpenstein
-Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 4:54 PM To: Turbine Subject: Re: Can't find webMacro.properties in WAR archive on 6/16/2000 1:42 PM, "Nissim Karpenstein" [EMAIL PROTECTED] wrote: I'm having troub

RE: WebMacroSite

2000-06-26 Thread Nissim Karpenstein
I was having this problem before. I'm pretty sure it's because you have the jar libraries referenced twice (once in the tomcat startup and once in the war-webmacro lib directory). Since the jars are all in the war-webmacro/WEB-INF/lib, they no longer need to be in the classpath in tomcat.sh or

[PATCH] Add additional elements to body tag

2000-06-26 Thread Nissim Karpenstein
I needed to set the marginwidth, marginheight, leftmargin and topmargin in the body tag from WebMacro. I added a patch so you can call the addAttribute on the body tag. (to add any attribute you want) I first tried $data.getPage().getBody().addAttribute() but that results in multiple body tags

RE: Can I run Turbine under MSSQLserver 7.0?

2000-07-05 Thread Nissim Karpenstein
Yes, use the Sybase db adaptor. In the TurbineResources.properties: #Change the driver to whatever SQLServer jdbc driver you use #and fix the url accordingly #SQL Server database.default.driver=com.inet.tds.TdsDriver database.default.url=jdbc:inetdae:db01?database=hive_db . #change

Passing data between screens and actions.

2000-07-05 Thread Nissim Karpenstein
should I pass the contactID? through the standard session that I get from data.getSession? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine

Some code that might be nice in turbine

2000-07-07 Thread Nissim Karpenstein
t into turbine? I think it would go well in the autogenerated peer code, or as a base class which those would extend... -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/t

RE: [VOTE] JDBCSchemaToDatabaseMap

2000-07-13 Thread Nissim Karpenstein
That would be very cool. +1 -Original Message- From: Leon Messerschmidt [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 10:47 AM To: Turbine Subject: [VOTE] JDBCSchemaToDatabaseMap Hi I'm currently working an a JDBCSchemaToDatabaseMap that does the same as

RE: Logout user problem

2000-07-13 Thread Nissim Karpenstein
It should work just the same...I'm gonna test it out later on my other machine, and I'll report back then...I just tested the conn.setAutoCommit (false); doObject stuff conn.commit(); and it doesn't throw any errors, but I haven't tested it with turbine yet... -Nissim

RE:

2000-07-13 Thread Nissim Karpenstein
What's your database? Did you set up the JDBC url correctly in the TurbineResources.properties? -Nissim -Original Message- From: Liu, Daniel [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 1:27 PM To: '[EMAIL PROTECTED]' Subject: Hi, I have just

Random 404 messages with actionevent

2000-07-19 Thread Nissim Karpenstein
is server not found. It only happens on this one url, and only sometimes...the URL looks like this: http://web01/dev_contact/servlet/Turbine/template/telemarket%2CScript.wm/a ction/telemarket.ScriptAction Thanks -Nissim -

Compile fails on latest CVS snapshot

2000-07-20 Thread Nissim Karpenstein
I'm trying to figure out what it is...I don't have CVS access from here, so this might not be a problem in CVS, but here's the errors I'm getting: W:\Apache-Turbine-2720\bin\src\org\apache\turbine\samples\XMLDatabaseMap Buil der.java:94: Ambiguous class:

RE: Compile fails on latest CVS snapshot

2000-07-20 Thread Nissim Karpenstein
... -Nissim -Original Message- From: Nissim Karpenstein [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 20, 2000 11:22 AM To: '[EMAIL PROTECTED]' Subject: Compile fails on latest CVS snapshot I'm trying to figure out what it is...I don't have CVS access from here, so

RE: redirect alternative

2000-07-24 Thread Nissim Karpenstein
IIS? Who cares. :-) FYI, I believe that the ISAPI redirector from Jakarta is buggy (and I'm not about to try to install VC++ and debug it). I was having problems with it and had to switch to linux/apacheI was very upset ;-) -Nissim

RE: Devide turbine into 4 layers

2000-07-26 Thread Nissim Karpenstein
within my application, but maybe you mean for it to be a developer tool...I don't know how you could avoid writing any actions or templates though, and I certainly wouldn't want to use a TEXTAREA as my html/wm editor... -Nissim

RE: A State of Flux

2000-07-26 Thread Nissim Karpenstein
-Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 2:12 PM To: Turbine Subject: A State of Flux Hey all, I spent a few hours yesterday trying to get the current CVS version of Turbine+WM installed and working with a co-worker. It

RE: global cache functionality?

2000-07-26 Thread Nissim Karpenstein
implementors to have a refresh method. Then when the thread goes through the cached objects, and the time has expired, if its instanceof CachedObject, it's removed, but if it's instanceof RefreshableCachedObject, it's refreshed. What do you all think of that? -Nissim -Original Message

RE: PROPOSAL: Limiting resultsets with Criteria and BasePeer

2000-08-07 Thread Nissim Karpenstein
, by calling the getSelectResults which takes the startRow and numberOfRows parameter. That way, the functionality will be supported in Turbine for all databases, and we'll use the custom syntax for the databases which support it. -Nissim -Original Message- From: Daniel L. Rall [mailto

RE: Limiting SQL results.

2000-08-09 Thread Nissim Karpenstein
I posted to the list a link to an article @ oracle.com about how to do this with oracle, and he was using subqueries...and it doesn't work properly with ORDER BY. http://www.oracle.com/oramag/code/asktom/q10.html -Nissim -Original Message- From: Diethelm Guallar, Gonzalo

RE: help: WebMacroSiteNavigation... adding to the WebContext

2000-08-09 Thread Nissim Karpenstein
It's definitely possible. Make sure that the Navigation is in the appropriate directory, and has the same name as the wm template, for example: com/abccorp/modules/navigations/CustomTop.java templates/navigations/CustomTop.wm -Nissim -Original Message- From: Jon Stevens

RE: Refreshable Cache

2000-08-09 Thread Nissim Karpenstein
I'll take a look at that. I have his book too... -Nissim -Original Message- From: Mark Pollack [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 9:36 AM To: Turbine Subject: RE: Refreshable Cache Hi, Just my 2cents...what you have below is probably good

RE: Native types in SQL Server and Java

2000-09-29 Thread Nissim Karpenstein
"SPRINTA 2000" SQL/Server JDBC drivers FROM http://www.inetsoftware.de, and the DBSybase implementation that comes with turbine. As long as you're using a new version of village (like the one that comes w/ turbine) it works just fine.

RE: Native types in SQL Server and Java

2000-09-29 Thread Nissim Karpenstein
I would actually like to try to resolve those problems since I have pretty good expirience with SQL server. Can anyone tell what that problem particulary was? Or when it was discussed on the list? I think whatever the problem is it should be possible to work around it somehow. I am not

Multiple screens that require the same contexts

2000-09-29 Thread Nissim Karpenstein
CompanyView.wm and EditCompany.wm to both use Company.java? Or do I have to create multiple java files and use extends? Would it be desirable to add this type of functionality where you could map templates to java screens by some means other than the name? -Nissim

RE: WM Context Variables

2000-10-02 Thread Nissim Karpenstein
$formatter $page $link $navigation $title Look in turbine/src/java/org/apache/turbine/util/webmacro. -Nissim -Original Message- From: Gopal Ramasammy-Cook [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 1:29 PM To: [EMAIL PROTECTED] Subject: WM Context Variables

RE: WM Context Variables

2000-10-02 Thread Nissim Karpenstein
oops, you said where, not what... the answer is TurbineWebMacroService.getContext which is called by WebMacroSitePage.doBuild. -Original Message- From: Gopal Ramasammy-Cook [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 1:29 PM To: [EMAIL PROTECTED] Subject: WM Context

WM Inline if / null check

2000-10-02 Thread Nissim Karpenstein
tName" value="" } Is this something that it would make sense to add to the formatter? Is there a better way to do it in WM? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

RE: Business object based on multiple tables

2000-10-04 Thread Nissim Karpenstein
of related objects. Then there could be a tag in the XML which would specify whether the loadXXX methods should be called when the objects are created. What do you think of that? -Nissim For this app I have models that each have a specific vendor. In other words a one-to-many relation

RE: Business object based on multiple tables

2000-10-04 Thread Nissim Karpenstein
e, and cut and paste it to get what you want. -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

If Tree in WM

2000-10-04 Thread Nissim Karpenstein
Is there a way to make a tree of if statements in WM? Is there an #elseif ? or #switch or something like that? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail

RE: BODY in Turbine

2000-10-07 Thread Nissim Karpenstein
In wm you can say: $page.setBgColor("#99") $page.setLinkColor("#66") $page.setVLinkColor("#66") $page.setTextColor("#00") $page.addAttribute("alink", "#99") $page.addAttribute("marginwidth","0") $page.addAttribute("marginheight","0") $page.addAttribute("topmargin","0")

RE: Static and dynamic pages: how do YOU do it?

2000-10-11 Thread Nissim Karpenstein
You will notice I have images in both sides. This is because I don't see how I could make Apache serve an image that is being requested from a template, since at this point Tomcat is already handling the request. Is this correct? No. Read the tomcat Apache Howto. It explains

Debug features of Cold Fusion

2000-10-18 Thread Nissim Karpenstein
debugging parameter in TR.props is set to true. Does this sound like a good idea? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine

RE: Turbine in the ASF

2000-10-30 Thread Nissim Karpenstein
. Is that it, or are there other things that are holding up the release? -Nissim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 30, 2000 4:46 PM To: [EMAIL PROTECTED] Subject: Turbine in the ASF Hi everyone, This is a bit

RE: Question regarding pathname specification for screens andact ions

2000-11-03 Thread Nissim Karpenstein
, but doSomeThing does not). The reason you can't use / is because the ParameterParser uses the / as a name value pair separator character, for other reasons that have been explained here many timeslook at the javadoc for ParameterParser. -Nissim -Original Message- From: David K

Converting app from webmacro to velocity

2000-11-09 Thread Nissim Karpenstein
e a reason that there is no VelocitySecureScreen, or is it just because nobody's made one yet? -Nissim To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com

RE: Null choice in date selector

2000-11-27 Thread Nissim Karpenstein
-Original Message- From: Brekke, Jeff [mailto:[EMAIL PROTECTED]] Now, there are static methods to get the selectors. These static methods cannot check the non-static members. So you could only use the datamember in methods that are not static ( like ecsOutput ). This is

RE: Connection pooling and leakage

2000-12-01 Thread Nissim Karpenstein
this? -Nissim -Original Message- From: David K. Kim [mailto:[EMAIL PROTECTED]] Sent: Friday, December 01, 2000 12:37 AM To: '[EMAIL PROTECTED]' Subject: Connection pooling and "leakage" Hello All, I've noticed some odd behavior using Peers in our Turbine application. We

  1   2   >