Re: ObjectKey/SimpleKey and PP.setProperties ( was RE:CVSupdate : tu rbine/src/java/org/apache/turbine/om/peer BasePeer.java )

2001-02-25 Thread John McNally
"Brekke, Jeff" wrote: Zoiks. After checking, insertOrUpdateRecord() is still not working. It is identifing the correct internel representation of the key, BigDecimal in my case, but inside the criteria is a NumberKey, so criteria blows on getBigDecimal. I switched it to just cast the

turbine app with apache+mod_jk+tomcat

2001-02-25 Thread Ken'ichi Unnai
Hello, I was just jump in Turbine. I'm impressed. This is very nice. I successfully invoked my first turbine app "myturbine" via http://localhost:8080/myturbine/servlet/myturbine . But actually I want to invoke it by Apache+mod_jk+tomcat, because it claims to be much better. After I confirmed

building peer apps behind firewall

2001-02-25 Thread Ken'ichi Unnai
Hi, When I tried to create "turbine.app.type=peer" type app. I know how to use mysql (with php) well so I created my mysql db for this app without any difficulty. After modified some lines of "project/appname.properties", I tried to create peer app with $ ./build-project.sh init Then this

TurbinePullService changes

2001-02-25 Thread Sean Legassick
One obious thing I missed when suggesting these changes, because I was thinking about the overall architecture rather than details is that at present the PullService populates a $toolbox object with tools for the global tools. For the request scope tools to be compatible with current usage

Re: turbine app with apache+mod_jk+tomcat

2001-02-25 Thread Sean Legassick
On Sun, Feb 25, 2001 at 02:53:11AM -0800, Ken'ichi Unnai wrote: ...this means apache+mod_jk+tomcat is working well. but when I try http://localhost/myturbine/servlet/myturbine then "The page cannot be found" page appears. Could anybody give me some pointers how to make things work?

Re: building peer apps behind firewall

2001-02-25 Thread Sean Legassick
On Sun, Feb 25, 2001 at 03:37:03AM -0800, Ken'ichi Unnai wrote: Then this smart builder tried to find dtd file "Resolver: used http://java.apache.org/turbine/dtd/database.dtd" ...but my computer is behind firewall. it raises exceptions. Q. Can we build peer apps behind firewall? If this

Re: TurbinePullService changes

2001-02-25 Thread Jason van Zyl
On Sun, 25 Feb 2001, Sean Legassick wrote: One obious thing I missed when suggesting these changes, because I was thinking about the overall architecture rather than details is that at present the PullService populates a $toolbox object with tools for the global tools. For the request

Re: servlet.jar

2001-02-25 Thread Randall G. Alley
I don't know if it is servlet.jar or not, but ever since a week ago or so, Turbine is having problems finding actions for me. I first noticed it with Jasons 2/18 revision of tdk-1.1a12. As Jason notes, the sample peer app in the kit work fine, but the sample peer app utilizes actions from

Re: servlet.jar

2001-02-25 Thread Randall G. Alley
Another clue, is that the webapp I build with the faulty tdk don't run under older versions of Tomcat either, 3.2.1 or earlier 4.0betas. Here's the error: Horrible Exception: java.lang.ClassNotFoundException: Requested Action not found: $link.setPage( Turbine looked in the

Re: SimpleKey problem in build -Correction

2001-02-25 Thread Dave Bryson
On Sun, 25 Feb 2001, you wrote: This is busting the build: CORRECTION - this is BaseObject // in BasePeer public void setPrimaryKey(int primaryKey) throws Exception { this.primaryKey = new SimpleKey(String.valueOf(primaryKey)); } The problem is the SimpleKey is abstract. I

SimpleKey problem in build

2001-02-25 Thread Dave Bryson
This is busting the build: // in BasePeer public void setPrimaryKey(int primaryKey) throws Exception { this.primaryKey = new SimpleKey(String.valueOf(primaryKey)); } The problem is the SimpleKey is abstract. I don't know the intentions here so I don't want to change anything. The

Re: Fail to find the screen?

2001-02-25 Thread William Lee
Yeah, it's somewhat doing too much. However, the fallback scheme that we have right now is somewhat magical also. I got actually confused at first by the Index - Default - parent's Default scheme. The Default class actually gets somewhat "inherited" but not the rest of the screen classes. It

Re: SimpleKey problem in build -Correction

2001-02-25 Thread John McNally
Fixed. Dave Bryson wrote: On Sun, 25 Feb 2001, you wrote: This is busting the build: CORRECTION - this is BaseObject // in BasePeer public void setPrimaryKey(int primaryKey) throws Exception { this.primaryKey = new SimpleKey(String.valueOf(primaryKey)); }

VelocityScreen execution

2001-02-25 Thread Ethan Adams
I need to close a connection to an imap server after the page has been displayed. I can't seem to find a method in the VelocityScreen class that gets called once the page is done being built. My current solution is to call a .close() method at the bottom of my *.vm template. However, I

Re: ConnectionPool ammendemends: JDBC 2.0 Compatibility More (2/2)

2001-02-25 Thread Jon Stevens
on 2/24/01 8:19 PM, "Sean Legassick" [EMAIL PROTECTED] wrote: No disagreement that non-pooled connections is bad design. That's not my point though, the point is that the app developer writing the DB access code shouldn't even have to /think/ about the issue. They just want to get a DB

Re: VelocityScreen execution

2001-02-25 Thread Jon Stevens
on 2/25/01 2:31 PM, "Ethan Adams" [EMAIL PROTECTED] wrote: I need to close a connection to an imap server after the page has been displayed. I can't seem to find a method in the VelocityScreen class that gets called once the page is done being built. My current solution is to call a

_session_access_counter

2001-02-25 Thread Keng Wong
Can anyone enlighten me on how to use the _session_access_counter on a form ? I looked at TemplateSessionValidator.java and it compares that to an old value to assure proper navigation of forms. Do I stuff my own values into the User object everytime a user signs on ? Is the following the correct

RE: ObjectKey/SimpleKey and PP.setProperties ( was RE:CVSupdate : tu rbine/src/java/org/apache/turbine/om/peer BasePeer.java )

2001-02-25 Thread Brekke, Jeff
-Original Message- From: John McNally To: Turbine Sent: 2/25/01 2:48 AM Subject: Re: ObjectKey/SimpleKey and PP.setProperties ( was RE: CVSupdate : tu rbine/src/java/org/apache/turbine/om/peer BasePeer.java ) [SNIPPED] Also, the field is autogen'd by torque and set to Integer, so