Coupling WO with Flex

2008-05-19 Thread Thierry Kramis
Hi All We're presently looking at coupling a WO Backend with a Flex Frontend. We're trying to figure out what would be the most efficient way. I came up with some possible solutions and their pros and cons. What would you suggest to use? (Please correct if I got anything wrong) 1) SOAP-

Adding localized properties into jar

2008-05-19 Thread Dov Rosenberg
We are deploying our apps as a servlet and have some localized strings that we store in a properties file. Is there a way in , , or ANT tasks to include the property files as part of the jar? Dov Rosenberg InQuira Corporation ___ Do not post admin req

Re: Tables Vs Divs

2008-05-19 Thread Don Lindsay
hello; People actually create their entire page layout using tables? That would be a nightmare, althought I guess I can see it if the application was created for IE 3, which really did not have a way to position elements well. Don On May 19, 2008, at 11:42 PM, David LeBer wrote: On 19

Re: Tables Vs Divs

2008-05-19 Thread David LeBer
On 19-May-08, at 11:31 PM, John Huss wrote: The thing to avoid is using tables for EVERYTHING, which used to be popular. In fact, I just took over an application that did this - everything was a table, everywhere. In general, avoid tables for layout where possible and only use them to di

Re: Tables Vs Divs

2008-05-19 Thread John Huss
The thing to avoid is using tables for EVERYTHING, which used to be popular. In fact, I just took over an application that did this - everything was a table, everywhere. In general, avoid tables for layout where possible and only use them to display data, like query results, or reports. John On

Tables Vs Divs

2008-05-19 Thread Don Lindsay
Hello; I know this is off topic, but I thought I would throw this out there just to see what other people are doing. I am just curious, I have hard many people talk about how tables are bad. That you should use Div's and spans to show tabular data. I written applications both ways and i

Re: ExistsInRelationshipQualifier

2008-05-19 Thread James Cicenia
thanks... the TrueQualifier() worked like a charm. -j- On May 19, 2008, at 9:48 PM, Chuck Hill wrote: On May 19, 2008, at 7:38 PM, James Cicenia wrote: hmmm here is the result of my sql: WHERE (not ( EXISTS (SELECT 1 FROM project_document A0 WHERE null AND t0.row_id = A0.project_id))

Re: ExistsInRelationshipQualifier

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 7:38 PM, James Cicenia wrote: hmmm here is the result of my sql: WHERE (not ( EXISTS (SELECT 1 FROM project_document A0 WHERE null AND t0.row_id = A0.project_id)) that where null is interesting. Well, that IS what you asked for: ExistsInRelationshipQualifier qual =

Re: ExistsInRelationshipQualifier

2008-05-19 Thread James Cicenia
hmmm here is the result of my sql: WHERE (not ( EXISTS (SELECT 1 FROM project_document A0 WHERE null AND t0.row_id = A0.project_id)) that where null is interesting. Was that supposed to be the subquery? -j- On May 19, 2008, at 8:06 PM, Chuck Hill wrote: Start my turning on SQL logging a

Re: Deployment error on start up

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 7:29 PM, William Hatch wrote: Hmm, interesting. But, wouldn't the rest of the apps not run either in that case? It probably depends on how they are configured. WO is notoriously fickle (also called buggy) in this area. I believe that Pierre has been fixing many of t

Re: Deployment error on start up

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 6:54 PM, William Hatch wrote: Hi Chuck, The particular server it's running on is about a year old, runs several other apps no problem (all 5.3) so I don't _think that would be the problem, but on the other hand, I'm extremely reluctant to question you (or David, for t

Re: Deployment error on start up

2008-05-19 Thread William Hatch
Hmm, interesting. But, wouldn't the rest of the apps not run either in that case? Bill Hatch Macaulay Library 4-2116 On May 19, 2008, at 10:18 PM, David LeBer wrote: On 19-May-08, at 9:54 PM, William Hatch wrote: Hi Chuck, The particular server it's running on is about a year old, runs

Re: Deployment error on start up

2008-05-19 Thread David LeBer
On 19-May-08, at 9:54 PM, William Hatch wrote: Hi Chuck, The particular server it's running on is about a year old, runs several other apps no problem (all 5.3) so I don't _think that would be the problem, but on the other hand, I'm extremely reluctant to question you (or David, for that

Re: Deployment error on start up

2008-05-19 Thread William Hatch
Hi Chuck, The particular server it's running on is about a year old, runs several other apps no problem (all 5.3) so I don't _think that would be the problem, but on the other hand, I'm extremely reluctant to question you (or David, for that matter;-) I am still having issues with the "No

Re: ExistsInRelationshipQualifier

2008-05-19 Thread Chuck Hill
Start my turning on SQL logging and seeing what SQL is generated. Chuck On May 19, 2008, at 5:42 PM, James Cicenia wrote: OK - I replaced it this time and sure enough I don't get a npe. However, I am also not seeing any filtering. The qualifier indeed ends with: and (not (documents CONTA

Re: ExistsInRelationshipQualifier

2008-05-19 Thread James Cicenia
OK - I replaced it this time and sure enough I don't get a npe. However, I am also not seeing any filtering. The qualifier indeed ends with: and (not (documents CONTAINS at least 1 elements)) How do I debug this? -j- On May 19, 2008, at 7:03 PM, Chuck Hill wrote: The second was the same

Re: Tracking EC Locking Issues when using MultiECLockManager and LockErrorScreamerEditingContext

2008-05-19 Thread Lachlan Deck
On 20/05/2008, at 9:29 AM, Owen McKerrow wrote: In an effort to track down my locking issues I implemented the LockErrorScreamerEditingContext but unfortunately its not going to be as useful as I had hoped. I changed my MultiECLockManager to use a LockErrorScreamerEditingContext but of cou

Re: Deployment error on start up

2008-05-19 Thread William Hatch
Indeed, both MacOS... and MacOSXS... say: # JVM == ${jvm} So, I modified those, then came up against the ERExtensions NOT before foundation error; fixed that, and now "No Instance available" Nothing in the http/error_log, but I guess that's another problem. However, what shoul

Re: Deployment error on start up

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 5:02 PM, David LeBer wrote: On 19-May-08, at 7:45 PM, William Hatch wrote: Oh jeez, sorry, that last one should have been: Reading MacOSClassPath.txt ... Launching myApp.woa ... ${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory=""

Re: ExistsInRelationshipQualifier

2008-05-19 Thread Chuck Hill
The second was the same too? Are you sure? I just fixed that late last week... On May 19, 2008, at 4:38 PM, James Cicenia wrote: OK - My code is the same so no changes were made. My usage: byPortfolioQualifier = new EOAndQualifier(new NSArray(new Object[] {byPortfolioQualifier, hasDocu

Re: Deployment error on start up

2008-05-19 Thread David LeBer
On 19-May-08, at 7:45 PM, William Hatch wrote: Oh jeez, sorry, that last one should have been: Reading MacOSClassPath.txt ... Launching myApp.woa ... ${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/ Applicatio

Re: Deployment error on start up

2008-05-19 Thread William Hatch
Oh jeez, sorry, that last one should have been: Reading MacOSClassPath.txt ... Launching myApp.woa ... ${jvm} -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" - DWOLocalRootDirectory="" -DWOUserDirectory="/Library/WebObjects/ Applications/locations-prod/myApp.woa" -DWOEnvClassPath=""

Re: Deployment error on start up

2008-05-19 Thread David LeBer
On 19-May-08, at 7:04 PM, William Hatch wrote: appName: line 1: exec: -X: invalid option exec: usage: exec [-cl] [-a name] file [redirection ...] Uh, that's weird. If I look at my launch script in any of my WOApps they all echo the launch arguments before they call exec. So if I call /Li

Re: ExistsInRelationshipQualifier

2008-05-19 Thread James Cicenia
OK - My code is the same so no changes were made. My usage: byPortfolioQualifier = new EOAndQualifier(new NSArray(new Object[] {byPortfolioQualifier, hasDocumentsQualifier()})); public EOQualifier hasDocumentsQualifier(){ ExistsInRelationshipQualifier qual = new ExistsInRelations

Re: Tracking EC Locking Issues when using MultiECLockManager and LockErrorScreamerEditingContext

2008-05-19 Thread Owen McKerrow
In an effort to track down my locking issues I implemented the LockErrorScreamerEditingContext but unfortunately its not going to be as useful as I had hoped. I changed my MultiECLockManager to use a LockErrorScreamerEditingContext but of course this means that every lock will come from i

Re: ExistsInRelationshipQualifier

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 3:30 PM, James Cicenia wrote: Did this ever work for you? Yes, frequently. I have just started using this query and am getting: [2008-05-19 17:17:07 CDT] java.lang.NullPointerException at com .webobjects .eoaccess .EOSQLExpression._aliasForRelationshipPath(EO

Re: Deployment error on start up

2008-05-19 Thread William Hatch
appName: line 1: exec: -X: invalid option exec: usage: exec [-cl] [-a name] file [redirection ...] Bill Hatch Macaulay Library 4-2116 On May 19, 2008, at 6:58 PM, David LeBer wrote: On 19-May-08, at 6:44 PM, William Hatch wrote: OSXS 10.4, WO5.3, completely embedded Wonder project Just

Re: Deployment error on start up

2008-05-19 Thread David LeBer
On 19-May-08, at 6:44 PM, William Hatch wrote: OSXS 10.4, WO5.3, completely embedded Wonder project Just deploying a fully embedded Wonder app (first time for the Wonder and deployed embedded) and am seeing this output from the webobject debug error out: /Path/to/apps/launchscript l

Deployment error on start up

2008-05-19 Thread William Hatch
OSXS 10.4, WO5.3, completely embedded Wonder project Just deploying a fully embedded Wonder app (first time for the Wonder and deployed embedded) and am seeing this output from the webobject debug error out: /Path/to/apps/launchscript line 1: exec: -X: invalid option exec: usage: exec

Re: ExistsInRelationshipQualifier

2008-05-19 Thread James Cicenia
Did this ever work for you? I have just started using this query and am getting: [2008-05-19 17:17:07 CDT] java.lang.NullPointerException at com .webobjects .eoaccess .EOSQLExpression._aliasForRelationshipPath(EOSQLExpression.java:324) at com .webobjects .eoaccess .EOSQLExpression

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Jake MacMullin
Also, according to the documentation for key-value-coding, the getKey() form is the first one the framework looks for, so if you use it you can be sure your method is the one being used (and not a similarly named method / variable inherited from a parent class) and it might be ever-so-sligh

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Lachlan Deck
On 20/05/2008, at 7:56 AM, Chuck Hill wrote: On May 19, 2008, at 2:30 PM, Lachlan Deck wrote: Hi Helmut, On 20/05/2008, at 7:17 AM, Helmut Schottmüller wrote: does anyone know a trick how to convince Eclipse to create the Wonder-style getters (e.g. attribute() instead of getAttribute())

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Chuck Hill
On May 19, 2008, at 2:30 PM, Lachlan Deck wrote: Hi Helmut, On 20/05/2008, at 7:17 AM, Helmut Schottmüller wrote: does anyone know a trick how to convince Eclipse to create the Wonder-style getters (e.g. attribute() instead of getAttribute()) with "Source / Generate Getters and Setters"?

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Lachlan Deck
Hi Helmut, On 20/05/2008, at 7:17 AM, Helmut Schottmüller wrote: does anyone know a trick how to convince Eclipse to create the Wonder-style getters (e.g. attribute() instead of getAttribute()) with "Source / Generate Getters and Setters"? These are NS-style getters; not wonder. It is pos

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Mike Schrag
does anyone know a trick how to convince Eclipse to create the Wonder-style getters (e.g. attribute() instead of getAttribute()) with "Source / Generate Getters and Setters"? Well, technically this is "Objective-C-style getters" or "NeXT-style" or something long before us :) But unfortunatel

Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Helmut Schottmüller
Hi, does anyone know a trick how to convince Eclipse to create the Wonder- style getters (e.g. attribute() instead of getAttribute()) with "Source / Generate Getters and Setters"? It is possible to set the comments and the body in the preferences but not the function call itself... :-( Since

Re: Weird WO/Apache/Safari problem

2008-05-19 Thread Alexander Spohr
I got sick before I found the ENTER-link... News work. But help does not: http://www.sensoryresearch.com:15000/cgi-bin/WebObjects Nothing is listening on port 15000. atze Am 19.05.2008 um 21:07 schrieb Jaime Magiera: The fun never ends :) In Safari... Go to http://w

Re: Weird WO/Apache/Safari problem

2008-05-19 Thread Jaime Magiera
On May 19, 2008, at 3:35 PM, Kevin Windham wrote: Works for me in Safari. I'd try clearing cache in Safari and/or checking your cookies. Haha, fun stuff. I had tried both a couple times with the same result. This time, I actually restarted Safari... problem gone. I wonder what would be

Re: Weird WO/Apache/Safari problem

2008-05-19 Thread Kevin Windham
Works for me in Safari. I'd try clearing cache in Safari and/or checking your cookies. Kevin On May 19, 2008, at 2:07 PM, Jaime Magiera wrote: The fun never ends :) In Safari... Go to http://www.sensoryresearch.net, click on "news": Apache throws an error on the first and

Weird WO/Apache/Safari problem

2008-05-19 Thread Jaime Magiera
The fun never ends :) In Safari... Go to http://www.sensoryresearch.net, click on "news": Apache throws an error on the first and/or successive tries. Click on "Archives", then "News": Apache throws an error on the first and/or successive tries. In Firefox Go to http://www

Re: [OT] Mikes Magic Click

2008-05-19 Thread David LeBer
On 19-May-08, at 2:36 AM, Owen McKerrow wrote: Hi Jake, Yup thats the trick. Hold down the Command Key and it works ! Thanks! This is included in the WOLips cheat sheet. On 19/05/2008, at 4:22 PM, Jake MacMullin wrote: I think you need to hold down 'comma

Re: ReportGeneration problem

2008-05-19 Thread Don Lindsay
Hello Santoshg; 1. What are you generating your report to? (PDF, Excel, etc) 2. In your application log on Webobjects 5.2 do you see the message that ReportMill is starting? 3. Check your log to see if there is an error stack trace when the report does not generate. Don On May 19, 2008

[Last reminder] WOWODC: registration ends this week!

2008-05-19 Thread Pascal Robert
Hello WO dudes and dudettes, don't forget that WOWODC registration stops this week on May 22th. It will be great, it will be fun, so join us for two days of learning and discovery! Get all the details at : http://www.wocommunity.org/wowodc08/ ___

Re: Check SSL

2008-05-19 Thread Daniele Corti
2008/5/19 Mike Schrag <[EMAIL PROTECTED]>: > I've made a Direct Action that make authentication, but I need that the >> communication between the client-server is secure, under SSL. >> Is there a way to check if the request was sent under SSL? >> > You use Wonder, right? Right, but wouldn't y

Re: Check SSL

2008-05-19 Thread Mike Schrag
I've made a Direct Action that make authentication, but I need that the communication between the client-server is secure, under SSL. Is there a way to check if the request was sent under SSL? You use Wonder, right? boolean secure = ERXRequest.isRequestSecure(request); ms __

Re: Check SSL

2008-05-19 Thread Daniele Corti
2008/5/19 Patrick Middleton <[EMAIL PROTECTED]>: > > On 19 May 2008, at 09:01, Daniele Corti wrote: > > Hi list, >> >> I've made a Direct Action that make authentication, but I need that the >> communication between the client-server is secure, under SSL. >> Is there a way to check if the req

Re: Check SSL

2008-05-19 Thread Patrick Middleton
On 19 May 2008, at 09:01, Daniele Corti wrote: Hi list, I've made a Direct Action that make authentication, but I need that the communication between the client-server is secure, under SSL. Is there a way to check if the request was sent under SSL? Thank you for any help! -- Danie

ReportGeneration problem

2008-05-19 Thread santoshg
Hi All, Sorry for re posting the same issue. I am working on Web Objects 5.2 and 5.3 on Windows Operating System. I am using Eclipse as my development tool. I am unable to generate reports. I am using Report Mill 7 for generating reports. The problem i

Re: Check SSL

2008-05-19 Thread Andrew Lindesay
WO 5.4; WORequest.isSecure() WO 5.3.3; public static boolean isRequestTransportedSecurely(WORequest request) { if(null==request) throw new IllegalArgumentException("a non-null request must be supplied in order to establish if it's secure or not.");

Check SSL

2008-05-19 Thread Daniele Corti
Hi list, I've made a Direct Action that make authentication, but I need that the communication between the client-server is secure, under SSL. Is there a way to check if the request was sent under SSL? Thank you for any help! -- Daniele Corti AIM: S0CR4TE5 Messenger: [EMAIL PROTECTED]

Re: Tracking EC Locking Issues when using MultiECLockManager and LockErrorScreamerEditingContext

2008-05-19 Thread Lachlan Deck
Hi Owen, On 19/05/2008, at 1:41 PM, Owen McKerrow wrote: In an effort to track down my locking issues I implemented the LockErrorScreamerEditingContext but unfortunately its not going to be as useful as I had hoped. I changed my MultiECLockManager to use a LockErrorScreamerEditingContext b