Re: Dates (1-day resolution) redux

2010-08-12 Thread Paul Hoadley
On 13/08/2010, at 3:38 AM, Henrique Prange wrote: > [1]http://dl.dropbox.com/u/9599580/chronos-test.zip Thanks a lot for this. Can you also show me the EO model? Unless I've overlooked it, I don't think it's in that ZIP. (Sorry, this must sound terrible: "Thanks for writing an entire test ap

Re: Configuring CentOS 5.5 for WebObjects

2010-08-12 Thread Chuck Hill
Hi Ken, Follow this thread: http://lists.apple.com/archives/webobjects-dev/2010/Jul/msg00369.html Hint: start near the end. :-) Chuck On Aug 12, 2010, at 7:17 PM, Info at Watermark Studios wrote: > I'm at a road block implementing WO on my dedicated CentOS 5.5 server. Below > is my configu

Configuring CentOS 5.5 for WebObjects

2010-08-12 Thread Info at Watermark Studios
I'm at a road block implementing WO on my dedicated CentOS 5.5 server. Below is my configuration and error. If anyone can help me, that would be great! OS: CentOS 5.5 (32-bit) Memory: 6Gb Web Server: Apache 2.2 WebObjects Version: 5.4 JDK: 1.6.0_21 SELinux: Disabled DB: FrontBase So, I successfu

Re: Dates (1-day resolution) redux

2010-08-12 Thread Paul Hoadley
Hi Henrique, On 13/08/2010, at 3:38 AM, Henrique Prange wrote: >> Thanks, I will look at that. How much work is involved in using custom >> types like this? (I've never done it before.) For example, do I need to >> provide a corresponding custom comparator somewhere so that EOF can sort on

Re: To Many Relationship to String

2010-08-12 Thread Ken Anderson
Life is like a box of chocolates... you never know which one will be slow :) On Aug 12, 2010, at 5:06 PM, Mark Ritchie wrote: > On 12/Aug/2010, at 11:43 AM, Ken Anderson wrote: >> 3. If something is slow, figure out how to make it faster AFTER it already >> works right > > Run slow case, MEAS

Re: To Many Relationship to String

2010-08-12 Thread Mark Ritchie
On 12/Aug/2010, at 11:43 AM, Ken Anderson wrote: > 3. If something is slow, figure out how to make it faster AFTER it already > works right Run slow case, MEASURE, change, MEASURE again, keep or reject change. Repeat until end of budget (time, money, space, whatever. ;-) Notice that I didn't imp

Re: WebServerResources Development

2010-08-12 Thread Chuck Hill
You need to set WOHost for the app and for wotaskd (and restart wotasks). localhost works best, IME. On Aug 12, 2010, at 1:26 PM, John Huss wrote: > In the past I could just run an app from Eclipse in web server mode and it > would be usable in the browser, but for quite some time now (maybe

Re: WebServerResources Development

2010-08-12 Thread John Huss
In the past I could just run an app from Eclipse in web server mode and it would be usable in the browser, but for quite some time now (maybe after upgrading to 5.4, or to Leopard, I don't know) I find I have to actually add the application to JavaMonitor and run it on a port that is declared in Ja

problem with AjaxDatePicker solved...

2010-08-12 Thread Theodore Petrosky
ok I found the problem…. If IE8 is in compatibility mode, then the AjaxDatePicker doesn't work 100% with the previously mentioned caveats. (it does work on an AMD whether or not you are in compatibility mode.) There is an open Jira that I guess could be closed. Interesting that it works on th

Re: To Many Relationship to String

2010-08-12 Thread Ken Anderson
Follow the golden software development rule: 1. Make it work 2. Make it work right 3. If something is slow, figure out how to make it faster AFTER it already works right Ken On Aug 12, 2010, at 2:32 PM, Chuck Hill wrote: > My vote: listen to Dave. Quick and Dirty usually ends up Slow and E

Re: To Many Relationship to String

2010-08-12 Thread Chuck Hill
My vote: listen to Dave. Quick and Dirty usually ends up Slow and Expensive and Dirty. Chuck On Aug 12, 2010, at 11:27 AM, Steve Peery wrote: > You are probably right. I too have paid for trying to "make it more > efficient" many times in my coding career. > > Steve > > On Aug 12, 2010, at

Re: To Many Relationship to String

2010-08-12 Thread Steve Peery
You are probably right. I too have paid for trying to "make it more efficient" many times in my coding career. Steve On Aug 12, 2010, at 2:13 PM, David LeBer wrote: > > On 2010-08-12, at 2:05 PM, Steve Peery wrote: > >> I have an EO object that I want to have a to many relationship to a Strin

Re: To Many Relationship to String

2010-08-12 Thread David LeBer
On 2010-08-12, at 2:05 PM, Steve Peery wrote: > I have an EO object that I want to have a to many relationship to a String > object. I could create an EO object to hold the string and do a standard to > many relationship but it seems wasteful. Is there a better way? > > Steve I will preface t

Re: Dates (1-day resolution) redux

2010-08-12 Thread Chuck Hill
On Aug 12, 2010, at 11:08 AM, Henrique Prange wrote: > > Writing a framework to enable Joda Time classes and EOF interoperability is > on my TODOs list. It's only a matter of time. :p I have a very similar list! :-P -- Chuck Hill Senior Consultant / VP Development Practical WebO

Re: Dates (1-day resolution) redux

2010-08-12 Thread Henrique Prange
Hi Paul, On 11/08/2010, at 21:13, Paul Hoadley wrote: > Hi Henrique, > > On 12/08/2010, at 3:31 AM, Henrique Prange wrote: > >> Have you tried Joda Time LocalDate [1]? >> >> "LocalDate is an immutable datetime class representing a date without a time >> zone." >> >> You could create a custo

To Many Relationship to String

2010-08-12 Thread Steve Peery
I have an EO object that I want to have a to many relationship to a String object. I could create an EO object to hold the string and do a standard to many relationship but it seems wasteful. Is there a better way? Steve ___ Do not post admin requests

storedProceedure on postgreqsl ??

2010-08-12 Thread Theodore Petrosky
I have a stored proceedure in my postgresql db 8.4.4 CREATE OR REPLACE FUNCTION approvetime(jobid int) RETURNS void AS $$ DECLARE jobid int; BEGIN UPDATE t_e_time SET c_is_accepted = TRUE WHERE c_job_id = jobid; END; $$ LANGUAGE plpgsql; I created the stored proceedure AcceptETimeForJob with th

Re: WebServerResources Development

2010-08-12 Thread Miguel Angel Torres Avila
Thanks it is exactly what I was looking for! On Aug 12, 2010, at 12:13 PM, Chuck Hill wrote: Hi Miguel, I think this is what you are looking for: http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache Chuck On Aug 12, 2010, at 9:55 AM, Miguel Angel Torre

Re: WebServerResources Development

2010-08-12 Thread Chuck Hill
Hi Miguel, I think this is what you are looking for: http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache Chuck On Aug 12, 2010, at 9:55 AM, Miguel Angel Torres Avila wrote: > Hi List, > > I remember there was an article written by Chuck Hill that explai

WebServerResources Development

2010-08-12 Thread Miguel Angel Torres Avila
Hi List, I remember there was an article written by Chuck Hill that explained how to configure development environment to work with the webserver resources served by apache instead of the application. I think it is the best because is the most closed to the development environment. Doe

Re: (no subject)

2010-08-12 Thread John Huss
You must have a different version than me. Try clicking the little '+' button at the bottom and look for WebObjects or legacy. I'm running XCode 3.2.2. John On Thu, Aug 12, 2010 at 9:36 AM, vaibhav srivastava wrote: > Hi John, > > Please find the attached screen shot there is nothing called S

(no subject)

2010-08-12 Thread vaibhav srivastava
Can you please send javadoc for webobjects application because i am not able to see what each particular component do and how to add it in eclipse ...Bit Urgent . any where source for this api is avialble for download actuaaly i need to attach this in eclipse so that i can see what every component

Re: error please help me out

2010-08-12 Thread Mark Gowdy
Hi, I am not sure how you have it all set up. But this is how we do it: (WO_Dudes: can someone confirm that I have this right, I don't want to give out dodgy advice) (Also, is there a good online guide to "Getting yer head around all this"?) Basically, in WO, everything is structure like

Debug attribute on wocompile

2010-08-12 Thread Paul Hoadley
Hello, I've noticed that my Hudson-built apps are not being compiled with debug information, and hence aren't displaying line numbers in stack traces. The exact same apps with the exact same build.xml files previously built with Eclipse always showed line numbers in stack traces. I know about