Re: Velocity generator template reference available

2008-01-29 Thread Joe Moreno
Thanks, John, that's very much appreciated. - Joe On Jan 29, 2008, at 11:39:06, John Huss wrote: There is now a velocity generator template reference page on the wiki that shows all the bindings available for use in your velocity templates. So if you've been wondering how to make better u

Re: UTF-8

2008-01-29 Thread Josh Paul
That was it! Thanks! ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); On Jan 29, 2008, at 9:09 PM, Chris Meyer wrote: I put some useful notes here some time ago: http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Quickstart In summary: To handle internationalizat

Re: UTF-8

2008-01-29 Thread Chris Meyer
I put some useful notes here some time ago: http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Quickstart In summary: To handle internationalization in Project WONDER, delete the takeValuesFromRequest from your Session class (which should now be derived from ERXSession). Likewise, d

UTF-8

2008-01-29 Thread Josh Paul
I'm currently wrestling with integrating UTF-8 localization to an app. However, I can't seem to get the correct output. I've set the encoding for the .strings files to UTF-16 and have added WOMessage.setDefaultEncoding(_NSUtilities.UTF8StringEncoding) to my Application's constructor. Additi

Re: Problems with Stale Data

2008-01-29 Thread Chuck Hill
On Jan 29, 2008, at 6:17 PM, Chris Hoyt wrote: I checked the value type as well. I did update the plugin. The problem only occurs when referencing recent records (15 minutes or less) then goes away. That is why I thought it might be a data refresh issue. That sounds more like the PK is

Re: Problems with Stale Data

2008-01-29 Thread Chris Hoyt
I checked the value type as well. I did update the plugin.The problem only occurs when referencing recent records (15 minutes or less) then goes away. That is why I thought it might be a data refresh issue. On Jan 29, 2008 2:19 PM, Chuck Hill <[EMAIL PROTECTED]> wrote: > > On Jan 28, 2008, at 1

Re: Sqlite as a backend

2008-01-29 Thread Ted Archibald
I have the java jdbc installed and I can get eomodeler to somewhat communicate with the db, but it crashes when I attempt to preform sql from eomodeler. Does anyone have any experience with using other non-standard jdbc databases? ___ Do not post admin

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Art Isbell
On Jan 29, 2008, at 10:34 AM, Mr. Pierre Frisch wrote: Actually the underscore variants are the ones that should be used. It is not really important but you will get a log in the console. That's in the launchd config files for wotaskd and JavaMonitor, right? I recall seeing these log ent

Re: Internal Inconsistency in K2Sort

2008-01-29 Thread James Cicenia
I get these in our Linux deployment machines and not our XServes or in development. Doesn't seem to crash anything, and frankly, I gave up. James Cicenia On Jan 29, 2008, at 4:28 PM, [EMAIL PROTECTED] wrote: Has anyone ever received a strange WebObjects error when sorting related to an in

Re: Internal Inconsistency in K2Sort

2008-01-29 Thread Alan Ward
I have seen that and if I remember correctly it can be caused by sorting with a custom comparator that works inconsistently (i.e. one that can say A > B and B > A). I could be wrong as it's been a while but I would check your comparator classes if you have any. Alan On Jan 29, 2008, a

Internal Inconsistency in K2Sort

2008-01-29 Thread arosenzweig
Has anyone ever received a strange WebObjects error when sorting related to an internal Apple "K2Sort" funky state? Here's the error: java.lang.IllegalStateException: Internal Inconsistency in K2Sort Here's the stack trace: _NSCollectionPrimitives.java312 K2SortArray com.webobjects.fo

Re: building Calculator_Client example

2008-01-29 Thread Lachlan Deck
Hi Kevin, On 30/01/2008, at 4:49 AM, Kevin Vanwulpen wrote: I admit being a total newbie to web-stuff in general (OS X drivers and Cocoa apps and embedded stuff is my world...but well I was assigned the task to add a little something to a business tool we use). Anyways to try and get my

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Zak Burke
On Jan 29, 2008, at 2:18 PM, Chuck Hill wrote: On Jan 29, 2008, at 7:59 AM, Zak Burke wrote: Following Mike's list of how to get the WO 5.3 frameworks running under Mac OS 10.5, http://lists.apple.com/archives/Webobjects-dev/2007/Oct/ msg00357.html, I'm having some permissions errors that I

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Chuck Hill
Out of curiosity, why were these added? What is the difference? Thanks, Chuck On Jan 29, 2008, at 12:34 PM, Mr. Pierre Frisch wrote: Actually the underscore variants are the ones that should be used. It is not really important but you will get a log in the console. Pierre -- Pierre Frisch

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Mr. Pierre Frisch
Actually the underscore variants are the ones that should be used. It is not really important but you will get a log in the console. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 29, 2008, at 12:15, Art Isbell wrote: On Jan 29, 2008, at 10:09 AM, Zak Burke wrote: I'll take your word fo

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Art Isbell
On Jan 29, 2008, at 10:09 AM, Zak Burke wrote: I'll take your word for it. Having run that, I notice the following: $ ls -ld /Library/WebObjects/Configuration drwxrwxr-x 3 _appserver _appserveradm 102 Nov 5 19:57 /Library/ WebObjects/Configuration What's with the underscores? In Leopa

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Zak Burke
On Jan 29, 2008, at 2:46 PM, Art Isbell wrote: On Jan 29, 2008, at 7:59 AM, Zak Burke wrote: I turned on adaptor debugging and saw the adaptor was trying to cache info in /Library/WebObjects/Configuration/SiteConfig.xml, a file owned by root, so I chowned that to appserver:appserverusr, bu

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Art Isbell
On Jan 29, 2008, at 9:18 AM, Chuck Hill wrote: On Jan 29, 2008, at 7:59 AM, Zak Burke wrote: I turned on adaptor debugging and saw the adaptor was trying to cache info in /Library/WebObjects/Configuration/SiteConfig.xml, a file owned by root, so I chowned that to appserver:appserverusr, b

Velocity generator template reference available

2008-01-29 Thread John Huss
There is now a velocity generator template reference pageon the wiki that shows all the bindings available for use in your velocity templates. So if you've been wondering how to make better use of the velocity eogene

Re: Problems with Stale Data

2008-01-29 Thread Chuck Hill
On Jan 28, 2008, at 10:14 PM, Chris Hoyt wrote: > java.lang.IllegalStateException: cannot update primary-key > 'assignmentID' form '52067' to '52067' on object What you can't see there is that one of those 52067 is an Integer and one is a Long (or a BigDecimal or some class other than what t

Re: permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Chuck Hill
On Jan 29, 2008, at 7:59 AM, Zak Burke wrote: Following Mike's list of how to get the WO 5.3 frameworks running under Mac OS 10.5, http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html, I'm having some permissions errors that I can't unravel. When I include the appserver/apps

building Calculator_Client example

2008-01-29 Thread Kevin Vanwulpen
Hi I admit being a total newbie to web-stuff in general (OS X drivers and Cocoa apps and embedded stuff is my world...but well I was assigned the task to add a little something to a business tool we use). Anyways to try and get my feet wet I was reading over the ADC documentation and right n

Re: Undo capabilities on top of EOF

2008-01-29 Thread Florijan Stamenkovic
All right all, thanks for the input, from what it seems the general idea is that it might be possible (or at least nobody stated otherwise :). Will give it a go, time permitting. If it works, it will be in JBND. Flor ___ Do not post admin request

permission trouble with WO 5.3 on Mac OS 10.5

2008-01-29 Thread Zak Burke
Following Mike's list of how to get the WO 5.3 frameworks running under Mac OS 10.5, http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html, I'm having some permissions errors that I can't unravel. When I include the appserver/appserverusr keys in the wotaskd and womonitor plis

FetchSpecification failed because the qualifier variable '$xxxxx' is unbound.

2008-01-29 Thread Oswaldo Bueno
Hi, I'm getting the following error: sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (modLevel <= $) failed because the qualifier variable '$' is unbound. But this fetchspecification have the "Require all variable bindings" check

Re: WOLongResponse Page Kills Main Thread

2008-01-29 Thread Timo Hoepfner
Am 29.01.2008 um 06:41 schrieb Guido Neitzer: Why should it? Have you set it to log there? Is the app that hangs deployed? Find the process id with ps and send it a kill -QUIT signal to get a stacktrace. Note that you have to edit the startup script for that. As Guido says, that will go s