Re: JSPs won't run with TDK 1.1a9

2001-02-28 Thread John McNally
replacing the servlet.jar when compiling Turbine. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL

Re: Torque problem

2001-02-28 Thread John McNally
y. I hope you still find torque/om/peer classes useful with these adjustments, so your time is not wasted. John McNally David Ramsey wrote: The VARCHAR2 is being mapped to String, yes. And I did pull the parameters by hand, loaded a criteria, and called doUpdate(crit) with the same res

fyi the om/peer/base packages have been merged.

2001-02-28 Thread John McNally
I made the switch so that peers and om classes are in the same package. Or I should say I did this in the torque generated classes. If anyone missed the discussion this is to allow a better definition of the public api. John McNally

Re: [PATCH] getByPeerName

2001-02-27 Thread John McNally
I did this on purpose to enforce that only the constants defined in the Peers are used here. I am not sure why == would cause a problem. Do not use anything other than the Peer constants in this method or it might break later. Leonard Richardson wrote: For consistency with getByName (also,

Re: [PATCH] getByPeerName

2001-02-27 Thread John McNally
p any more than equals() would. I think a comment in the generated code would have more preventative effect. The comment is there. :-) John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Searc

Re: Author tags

2001-02-27 Thread John McNally
be associated with. John McNally Dave Bryson wrote: Ok, Jason asked me about this a while back and I just started to dig through the code again and noticed that my name is in some author tags for things I _know_ I didn't write! My best guess is somehow my name got stuffed in the tags

Re: Peer model question

2001-02-26 Thread John McNally
[EMAIL PROTECTED] wrote: hi, is it possible to execute a query something like select distinct column from table using the peer model. I noticed the setDistinct and addSelectColumn methods in the Criteria object but can't figure out how they work together. Criteria c = new

Re: Usage of Lazy Instantiation

2001-02-26 Thread John McNally
with a particular class and are adding functionality or bug fixing that they fix the problem. Though the code you are quoting is very basic functionality and should be fixed ASAP. If you have a patch, it would be welcomed. John McNally "David S. Faller" wrote: While looking at some Singlet

Re: mapbuilder when using multi-db with torque

2001-02-26 Thread John McNally
my comment is: commit it. "Brekke, Jeff" wrote: We found a problem where the default mapbuilder is being used when we really want the correct one defined in our schema to be called. Below is our patch to make the mapbuilder datamember public in the Peer generated classes and use that in

public access to constants (was Re: mapbuilder when usingmulti-db with torque)

2001-02-26 Thread John McNally
d anywhere in code that I am aware of that would even require that. But if it is no longer acceptable to define the constants in a public way because they are TableColumns instead of Strings, this efficiency enhancement is not possible. John McNally "Brekke, Jeff" wrote: We found a probl

Re: Peer model question

2001-02-26 Thread John McNally
that these Records should be considered read only objects, but I should add that to the javadoc. John McNally Daniel Rall wrote: John McNally [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: hi, is it possible to execute a query something like select distinct column from

Re: public access to constants (was Re: mapbuilderwhenusing multi-db with torque)

2001-02-26 Thread John McNally
Jon Stevens wrote: on 2/26/01 1:53 PM, "John McNally" [EMAIL PROTECTED] wrote: Is this only considered acceptable for String constants? Yes IMHO. Also, in this case, it is patching code that is used within Turbine only...therefore, it should be done right. FooP

int vs. Integer in Torque/OM/Peer

2001-02-26 Thread John McNally
want to get Intake in working order, so I am content to leave this as an issue to be sorted out later or by someone else, but a decision might be in order. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe:

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
his change integrated quickly. It has turned out to be a much harder change than I originally bargained for. But I still have hope that the ease of use will be worth it. John McNally -Original Message- From: Brekke, Jeff To: 'Daniel Rall '; '[EMAIL PROTECTED] ' Sent: 2/24/01 9:20 P

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)); }

Re: SimpleKey

2001-02-24 Thread John McNally
I have modified the ObjectKey stuff a little so you should be able to do Date date = x.getMyDate().getDate(); "Diethelm Guallar, Gonzalo" wrote: I have a table with two columns, and the primary key is a DATE column, MYDATE. Torque generates a public SimpleKey getMydate() method.

Re: Turbine Synchronization

2001-02-23 Thread John McNally
it in any code they come across. Their are some workarounds that do not degrade performance so much such as making use of static initialization, but if it is not possible, methods must be synchronized. John McNally Leon Messerschmidt wrote: Hi, I'm not an expert, but this sounds as if it might

Re: [PATCH]timestamp- TypeMap.java, BasePeer.java

2001-02-23 Thread John McNally
? John McNally [EMAIL PROTECTED] wrote: Sorry for the late: I send you the patch for the mapping of TIMESTAMP type into java.sql.Timestamp (and not java.util.Date). It is also necessary to introduce in the templates of torque the following line: import java.sql.Timestamp; I think

Re: SimpleKey

2001-02-23 Thread John McNally
to know how many components of what type are required. John McNally "Diethelm Guallar, Gonzalo" wrote: I have a table with two columns, and the primary key is a DATE column, MYDATE. Torque generates a public SimpleKey getMydate() method. How do I get to the underlying d

Re: [DEMO] Html Form Service

2001-02-22 Thread John McNally
priority, so hopefully we can get an integrated system in place soon. I got an error on the Diagram.vm page, but would definitely like to see it. John McNally Leandro Rodrigo Saad Cruz wrote: Ok.. here you can find a demo site [http://ns1.ibnetwork.com.br:8080/servlet/form] I hope you can

Re: Fail to find the screen?

2001-02-22 Thread John McNally
propose? John McNally William Lee wrote: Thanks a lot, I think I get it now. Wouldn't it make sense though to have the search sequence to be: screens.html.en.Index screens.html.en.Default screens.html.Index screens.html.Default screens.Index screens.Default I would imagine

Re: HTTP Authorization

2001-02-22 Thread John McNally
le who hit the Cancel button are not greeted to a Not Authorized page as well, though I am sure that can be configured better than many sites do. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECT

Re: One more Peer/Join question

2001-02-22 Thread John McNally
Shaun Campbell wrote: Just noticed I am getting a 'Property ${firstbuild.present} has not been set' message when building project-om. Is this significant? Shaun It means I missed deleting a debugging message about something that is no longer relevant. John McNally

Re: row2Object() Class.forName

2001-02-22 Thread John McNally
key as well and could be preferred over the (String, ClassLoader) signature. So I will fix it, if you do not beat me to it. John McNally Leon Messerschmidt wrote: Hi, AFAIK generated Peer objects started out with a row2Object() method taking an object of type java.lang.Class as the last

Re: row2Object() Class.forName

2001-02-22 Thread John McNally
Leon Messerschmidt wrote: I have started work on this. As it affects code I have added regarding class hierarchy I would like to make the changes. Also since I am the one that messed it up, I have to fix it, so just letting you know I am on it. John McNally Hi, AFAIK generated Peer

Re: Fail to find the screen?

2001-02-22 Thread John McNally
but unfortunately I dropped the ball on it. Was it you, Santiago Gala? Recent discussions regarding multiple Turbine applications in one JVM have also occurred, so hopefully the grand solution that supports multiple applications and language support is just around the corner. John McNally

Re: Hijacking a session

2001-02-22 Thread John McNally
location to look for the solution. John McNally "Diethelm Guallar, Gonzalo" wrote: This may show my ignorance; here it goes... When a user visits a Turbine app, Turbine creates a session for the user, and sends the user an opaque identifier for the session (in the shape of a cooki

Re: Referencing TURBINE_USER

2001-02-21 Thread John McNally
John McNally wrote: BaseObject contains get/setPrimaryKey methods. Actually what I should have said is that the Persistent interface contains get/setPrimaryKey methods. BaseObject implements the Persistent interface. I would recommend casting to the interface. Ivan Makkaveyev wrote

Re: Fail to find the screen?

2001-02-21 Thread John McNally
ly reduces complexity. John McNally William Lee wrote: I'm using tdk 1.10a11 and when I try to find the certain screen class by the template path, it always goes back to Default.class. Here is what I do: I overrided the VelocityPage to write my own stuff. I have the structur

Re: timestamp- PATCH

2001-02-20 Thread John McNally
ide a utility method that would properly compare/convert a util.Date with/to/from a Timestamp. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/t

Re: Referencing TURBINE_USER

2001-02-20 Thread John McNally
BaseObject contains get/setPrimaryKey methods. Ivan Makkaveyev wrote: Hello All! I'd like to reference TURBINE_USER from my application tables. The most natural way I suppose would be using USER_ID. But I cannot find methods to obtain it. What can I do? Adding additional attribute and

Re: One more Peer/Join question

2001-02-20 Thread John McNally
A quick look at this and I think you should have Status.addWishs(Wish) Status.getWishs(Criteria) Wish.getStatus() Wish.setStatus(Status) There are no many-to-many relationship tables so that should be about it. Are you not seeing these? John McNally Shaun Campbell wrote: Like Steve I too

Re: Problem using TurbineVelocity

2001-02-19 Thread John McNally
I took a quick look at TurbineVelocityService and it looks as though it would probably throw a TurbineException which wraps whatever exception Velocity would throw in this case. Is Velocity not throwing an exception? If so, you may want to ask on the velocity list, why? John McNally Herv

Re: Turbine and JServ

2001-02-19 Thread John McNally
Yes, Turbine still supports JServ. I think there are two classes that will not build. One gives relative urls for use in templates, but it is very easy to get by with absoulute urls when they are being generated anyway. The other, I think is TurbineConfig, is useful for running services

Re: Torque errors

2001-02-19 Thread John McNally
elements. Something like a misspelled table or column name in a foreign key definition is a good possibility. John McNally Leandro Rodrigo Saad Cruz wrote: I'm getting erros while trying to use torque. Turbine.jar comes from cvs ( updated ) Stack Trace : java.lang.NullPointerException

Re: Torque errors

2001-02-19 Thread John McNally
Regarding my last suggestion on the large try/catch block. This will still not provide the best information to diagnose errors in the schema, it would probably be good to provide error reporting closer to the source, if possible. Thanks, John McNally Leandro Rodrigo Saad Cruz wrote: I'm

Re: Add this JSP tag ? 2nd try ;-)

2001-02-18 Thread John McNally
Sorry, I almost let this slip by. It has been added. ingo schuster wrote: At 17:53 01/26/01, John McNally wrote: I would prefer to see something that emphasized the "template" keyword over "screen" or at least provided a property for it so it is as easy. Also,

[VOTE] Give Ilkka Priha cvs write access

2001-02-17 Thread John McNally
I think the code contributed by Ilkka looks to be of high quality. I am +1 on giving him cvs access, so that he can continue to improve on his recent additions. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe

coding convention

2001-02-17 Thread John McNally
. Please follow the standards. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

some recent additions

2001-02-17 Thread John McNally
Here are the commit messages describing a few additions/changes I have made recently. Added an interface, Persistent, that can be used in place of BaseObject. So the OM classes no longer have to extend from BaseObject. BaseObject now serves as a default implementation of the Persistent

Re: MVC

2001-02-17 Thread John McNally
. But then again the logic is not that difficult and does not require that much extra Velocity code, so it may not be worth breaking the MVC separation. John McNally Ethan Adams wrote: Does it break the MVC model to have your screen class pre-build HTML and stuff it into a context value

Re: VelocityOnlyLayout question

2001-02-16 Thread John McNally
I am a bit confused about the problem. You are setting the content type and your pages include the appropriate html tags and Navigator 4.08 is not rendering things correctly? This is a bug to report to Netscape not Turbine. Oskar ?wida wrote: OK, but I still have a problem - I mean Netscape

Re: Torque: questioning a complex OM restriction

2001-02-16 Thread John McNally
to be used in smaller applications, but I am not sure the benefit is worth the cost. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.workin

Re: [IDEA] Handling of DynamicURIs.

2001-02-16 Thread John McNally
Santiago Gala wrote: While working on a patch to simplify current Jetspeed code, two ideas came up on me: 1- DynamicURI is a strong candidate for pooling instances, since it should be heavily used under most setups (typically, we have more than five per request, and they are instantiated

[PROPOSAL] om/peer package organization

2001-02-16 Thread John McNally
that is generally followed in java src trees. If we put all the om/peer objects in one package but still present the source files as om/ om/peer om/base om/base/peer would this cause any problems or criticism? John McNally

Re: One more Peer/Join question

2001-02-16 Thread John McNally
Steve Grant wrote: Whats wrong with this XML? When set the Object model to complex I get no methods in either the item or category peer classes that refer to the other - like a getItemsJoinXxx(Criteria). database table name="ITEM" column name="ITEM_ID" required="true"

Re: [PROPOSAL] om/peer package organization

2001-02-16 Thread John McNally
with some other build systems. I am hoping that it is doable, but I can live without it. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working

Re: Torque: questioning a complex OM restriction

2001-02-15 Thread John McNally
Mostly the rationale is that I was unsure of all the consequences of changing the simple attribute while other object relationships may exist due to the foreign key. For example object A object may be in a collection of object B due to the foreign key attribute A.b. I did not want to add

Re: One more Peer/Join question

2001-02-15 Thread John McNally
() method. John McNally Steve Grant wrote: I have the objectModel set to complex in my Torque properties. I have the XML in the database schema set up for a foreign key. Is that all I have to do? What are examples of the join methods that should then emerge in the Peers? Its

Re: timestamp

2001-02-15 Thread John McNally
Please give code locations/samples. A requested patch would also be helpful. [EMAIL PROTECTED] wrote: Hello, I would like to know is there is a particular reason for which you decide to map the TIMESTAMP type into java.util.Date and not into java.sql.Timestamp. I am asking this

Re: VelocityOnlyLayout question

2001-02-15 Thread John McNally
The most appropriate place to would be in the template. The RunData object and therefore the response object are available from the Context. Though you are right it is probably nice, if the majority of your templates output html, to set a default. Oskar ?wida wrote: Hi, I have a small

Re: LIKE clauses

2001-02-15 Thread John McNally
In general the add methods take a comparison clause as the last argument. Criteria contains several static Strings that can be used for this argument so criteria.add(SomePeer.SOME_COLUMN, (Object)"beginswith%", Criteria.LIKE); John McNally Leandro Rodrigo Saad Cruz wrote: how

Re: Code generation with TORQUE

2001-02-14 Thread John McNally
) and you should use them to add any appropriate business logic. It seems you may be missing these classes, if so, make sure a file called "firstbuild" is located in the same directory as torque.xml (where you are running torque from) and then rerun torque. John McNAlly Leandro Rodrigo

Re: Turbine Daily Build Results -

2001-02-12 Thread John McNally
"Jon S.Stevens" wrote: This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/latest/turbine.html ... compile: [javac] Compiling 333 source

Re: Peer classes: doInsert

2001-02-12 Thread John McNally
ernst leonhard wrote: Hella all, I tried this code-fragment from the "Peer" documentation: Item itm = new Item() data.getParameters().setProperties(itm); Object o = ItemPeer.doInsert (itm); The compiler returns: [javac]

Re: column names: PostgreSQL lowercase, Peers uppercase

2001-02-12 Thread John McNally
If this fixes the problem, I'm all for this solution. I've added the change to cvs. Julia Stobbe wrote: Hi, this problem crops up regularly in the mail archive, but doesn`t seem to be fixed: i switched a working mysql based testApp to a postgreSQL database (using cvs snapshot from

Re: IDBroker Error

2001-02-12 Thread John McNally
Youngho Cho wrote: Hi, Today I updated 20010212 snap shots I just now submitted a patch that should solve this. And When I insert new data to the db I received following error. Am I missed something ?? java.lang.NullPointerException java.lang.NullPointerException at

inheritance in OM/Peer

2001-02-11 Thread John McNally
a class hierarchy to the OM/Peer model. Here is a short description. Note that it has not been tested much, I expect it to be tested more extensively early next week. John McNally commit message: Added support for a table to map to multiple objects. This kind of mapping will occur for a table

inheritance support for OM/Peer

2001-02-10 Thread John McNally
I have added some support for a certain type of object-relational mapping that includes a class hierarchy to the OM/Peer model. Here is a short description. Note that it has not been tested much, I expect it to be tested more extensively early next week. John McNally commit message: Added

Re: How to build a RawScreen ?

2001-02-09 Thread John McNally
Use rundata.declareDirectResponse(). The call should probably be before you start writing to the output stream, though that is not necessarily required. Let me know if this solves your problem. John McNally Thibault Weintraub wrote: Hi, I try to build a RawScreen in order to provide

Re: Changing RunData into an interface?

2001-02-09 Thread John McNally
comment on implementation as a service. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

Re: [PROPOSAL] switch Peers to use List.

2001-02-08 Thread John McNally
it will affect a lot of your code now, I am sure it will affect more later. John McNally fanyun wrote: Hi John: Would you please explain a little more about the reason why you want move to List. You know it is a great change to my project. I will need to change every line of code. Regards

Re: discussion about Peer

2001-02-08 Thread John McNally
ou can end up having to override a lot of methods to achieve your goal and altering other classes to make sure they are using AbcdPeer not AbcPeer. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PRO

Re: Storing the previous request's parameters

2001-02-08 Thread John McNally
ons could be made to work more easily. You will have to be clear about how session data must be stored, for example in Users temp/perm hashtables, so that it can be kept in the proper state as well. John McNally To subs

Re: [PATCH] Two Bugs in Torques Peer.vm and Object.vm templates(noline wrappings)

2001-02-07 Thread John McNally
Done. Christof Marti wrote: Sorry for the repost. The previous mail had some linewrappings in the patches. - While playing around with the new TDK/Torque if found two small but nasty bugs. Patches are included

Re: [Patch] default extension for template filenames

2001-02-07 Thread John McNally
being (as I don't plan to implement this other method, right now,) is that it could be done simply by subclassing the current TurbineTemplateService implementation and overriding one method. John McNally Jon Stevens wrote: on 2/7/01 4:34 AM, "ingo schuster" [EMAIL PROTECTED] wro

Re: Turbine Daily Build Results - Sun, 04 Feb 2001 13:40:22 GMT

2001-02-07 Thread John McNally
I see these as already fixed by Martin Poeschl on 2/4. Jon Stevens wrote: Hey John, care to fix those? :-) -jon on 2/7/01 12:00 AM, "Jon S.Stevens" [EMAIL PROTECTED] wrote: [javadoc] Building index for all the packages and classes... [javadoc] javadoc: warning -

Re: Per request template changing; need opinions, help

2001-02-07 Thread John McNally
he default would be the one that is currently defined, if the app keyword was not present. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.workin

Re: Storing the previous request's parameters

2001-02-07 Thread John McNally
be of some value to support a history so that back form buttons could be made to work more easily. You will have to be clear about how session data must be stored, for example in Users temp/perm hashtables, so that it can be kept in the proper state as well. John McNally

Re: how to use peer model with joins

2001-02-06 Thread John McNally
objectModel=complex, but the doc is better explaining the details. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems

Re: I promise this is the last Torque and database question

2001-02-06 Thread John McNally
Shaun Campbell wrote: Ok got Turbine and Torque working fine now and am very impressed but I think we may have come up against a bit of a problem. The problem is that, as in the real world, the data we wish to display on the screen comes from more than one table. i.e we want to translate

Re: Problems with Torque

2001-02-06 Thread John McNally
t contain the needed utility and I looked for the quickest way to accomplish the task. Please someone, improve it, or I will eventually improve it after I accidently get my code deleted. John McNally To subscribe:[EMAIL PROTE

Criteria OR and table aliases

2001-02-06 Thread John McNally
is that Criteria could be cleaned up a bit to better integrate the changes, but I do not have the time at the moment and I wanted to first add the functionality without a major change. So suggestions/implementations would be appreciated. John McNally

Re: Torque and database questions

2001-02-05 Thread John McNally
cts. This will likely require some custom code. And actually the last sentence could apply to many circumstances. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http:

Re: [PATCH] BaseObject abstraction

2001-02-02 Thread John McNally
with an Object instance would become abstract. As I discussed with John McNally yesterday, this obviates the need to store duplicate primary key information in multiple locations within a BaseObject extension class. John's recent Torque changes now supply implementations for both of these methods

Re: CVS update: turbine/conf/torque torque.xml

2001-02-02 Thread John McNally
A reminder to always do a cvs diff prior to commit. The file here has been converted from unix line endings to dos line endings. This can happen when checking a file out with a unix client, then editing the file on a windows box with a program that converts the line endings, and then moving

Re: Peer doInsert() -- need the generated ID BEFORE posting.

2001-02-01 Thread John McNally
I considered making this an option, but I wanted to provide a way for id's to be retrieved if they turn out to be unneeded, as this could lead to a lot of wasted keys. I also had some desire to keep the idMethod="idbroker" solution completely compatible with the autoincrement/sequence options.

Re: Non-default DB

2001-02-01 Thread John McNally
s. Can you tell me the value of dbName prior to the method call at 1142. Also approximate time of the last update where things were still working, could help as well. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe:

Re: Why do peer classes set the Criteria's DB name?

2001-02-01 Thread John McNally
here else, please tell me where is the more appropriate place. I do not see why the rest of your app needs to concern itself with where to save the object's data when it already knows where it should go. Looking at the cvs log, this change seems to have been introduced by John McNally with release 1

Re: Why do peer classes set the Criteria's DB name?

2001-02-01 Thread John McNally
I have determined that getMapBuilder().getDatabaseMap().getName() is always returning "default". I have not determined why. In an example app where I do not define a "default" db, only a "foo" db, all the torque map builders are adding tables to a DatabaseMap whose getName() method

Re: FW: CVS update: turbine/conf/master id-table-schema.xml

2001-02-01 Thread John McNally
s well but did not try first, sorry. :( I assume the fact that the root element is wrong has not been caught because no validation is occuring. Torque does not really care about the root tag, it is just there to make the xml correct. John McNally --

Re: CVS update: turbine/src/java/org/apache/turbine/torque/transformDTDResolver.java

2001-02-01 Thread John McNally
other than possibly the comment. John McNally (I hope I get this to the correct list,) Java Apache CVS Development wrote: User: mpoeschl Date: 01/02/01 17:58:44 Modified:src/java/org/apache/turbine/torque/transform DTDResolver.java Log: workaround

Re: TurbineUserPeer and Postgres column name case inconsistencies.

2001-01-31 Thread John McNally
a problem, while others have turbine working with postgresql. Is it a recent version? Are you possibly running it under windows? John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http

Re: Add this JSP tag

2001-01-30 Thread John McNally
ingo schuster wrote: At 17:53 01/26/01, John McNally wrote: I would prefer to see something that emphasized the "template" keyword over "screen" or at least provided a property for it so it is as easy. Also, would it not be good to include tags to add QueryData and

Re: TurbineUserPeer and Postgres column name case inconsistencies.

2001-01-30 Thread John McNally
Are the columns defined as uppercase in your schema? mango parts wrote: I am running the lastest cvs version of turbine with postgres. I have encountered problems retrieving the field values from the TurbineUser class, calling getUserName(), getLastName(), or getFirstName() would always

torque om/peers subclasses

2001-01-30 Thread John McNally
he FooPeer is not going to be returning the object you want, so you will be back in the position prior to the current changes, so add your code to Foo. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECT

Re: disabling further processing from action?

2001-01-30 Thread John McNally
o fix it? I could of course try to make it as clear as possible in the docs, but I still think it is just a little confusing that the template and Screen are both screen parts of a page, but the java class gets the keyword screen. John McNally --

Re: Can't log in.

2001-01-30 Thread John McNally
Yea! I think I found it. get the latest cvs. John McNally Leon Messerschmidt wrote: Hi, I got the same problem with *any* database access. I fixed it by grabbing an old Criteria.java (I think version 1.10). I'm not sure what exactly the problem is, but the older one works

Re: data.getUser().getId

2001-01-29 Thread John McNally
, if the interface contains convenience methods geared towards one (very important) implementation. So, I am beginning to see Rafal's point, and it is going to be up to others to convince Rafal otherwise. John McNally Steve Ruby wrote: You now need to do a cast because Rafal thinks that an ID

Re: [Proposal] Criteria/BasePeer

2001-01-29 Thread John McNally
John McNally wrote: Let me start off by saying I have been working on making the Peer system handle OR where clauses. And I have added the ability to alias tables as well. Here is the diff to allow adding OR clauses to a Criteria as well as being able to specify a table alias. I would

Re: HTTP Status 503 -JSP -for McNally

2001-01-26 Thread John McNally
to it soon, but I am hoping that someone (you maybe), will find the problem before I am able. :) John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine

Re: Add this JSP tag

2001-01-26 Thread John McNally
I would prefer to see something that emphasized the "template" keyword over "screen" or at least provided a property for it so it is as easy. Also, would it not be good to include tags to add QueryData and PathInfo to the URI? ingo schuster wrote: Hi, what about adding following JSP tag

Re: Problem with Torque

2001-01-26 Thread John McNally
take a look, just let me know. I am using JDK1.3 on RedHat 7.0 and MySQL, TDK 1.1a10 what gives? is there some special way of getting torque to handle basic currency, or must I download the source and start hacking? That would be great. We always appreciate receiving a patch with the fix to a

Re: Problem with Torque

2001-01-26 Thread John McNally
John McNally wrote: Sean Allen wrote: Ahem, I re-iterate I am attempting to create a schema that models customer accounts a snippet of my xml-schema looks like so " column name="LAST_PAY_AMNT" required="true" size="6,2" type="FLOAT"/

[PROPOSAL] Peer/OM/Torque Primary Keys

2001-01-25 Thread John McNally
rque could potentially hide the complications, but I am having trouble figuring out how. :) As a final note, let me state that torque objects need to quit referring to foreign key columns using primitive types like "int". Com

Re: ClassPeer.retrieveByPK

2001-01-25 Thread John McNally
This is either an error in your xml schema or Torque (are you using a recent version of the tdk or turbine). If you declare the column type as INTEGER it should not convert this to byte[]. What does the column tag look like in your schema? Alexander Banthien wrote: Hi all, I would

Re: Base Peers and native types

2001-01-25 Thread John McNally
Mike Haberman wrote: I was wondering if I can get your input regarding the use of native types in the BaseObject subclasses. The problem is that there is no way of detecting a null attribute. Right now all my integer fields are foreighn keys so that a value of 0 is null (for me). But,

Re: Torque problems: How do I get stand-alone version?

2001-01-24 Thread John McNally
. (not the tdk) cd build ./build-turbine.sh torque cd ../bin/torque/torque The files here make up the standalone torque. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail

Re: Problem with Torque

2001-01-24 Thread John McNally
I realise that this is a non-issue for all of you with real connectivity, but some of us live in the third world. is there an obvious way around this that I am missing Regards Sean Allen I thought someone fixed this already. The dtd is being copied to torque.jar, does anyone know the

Re: intake description

2001-01-24 Thread John McNally
But the idea is not that complicated, so if you feel it has merit jump in and help me develop it. John McNally To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: http://www.mail-archive.com/turbine%40list.working-dogs.com/ Problems?: [EMAIL PROTECTED]

  1   2   3   4   5   >