JavaWOExtensions Red Dots

2008-07-28 Thread Joe Moreno
Hi, Why does JavaWOExtensions have two red dots at 11 o'clock and 5 o'clock (see screenshot below)? Thanks, Joe <> ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com

Re: Eclipse WO + SVN

2008-07-28 Thread Lachlan Deck
On 28/07/2008, at 10:24 PM, Jonathan Ricker wrote: I think people starting out should start with subversive, rather than subclipse: Yep. Relevant posts from the woproject list: http://wiki.objectstyle.org/confluence/display/WOL/mail/3047983 http://wiki.objectstyle.org/confluence/display/

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Guido Neitzer
On 28.07.2008, at 21:17, Joe Moreno wrote: In the comments, it says, "Use with care..." when setting to lock/ unlock automatically. I think that this comment is from the times when there was a performance hit when this feature was used and when it was fairly new. When you turn on "coalesc

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Mike Schrag
What are the gotchas when setting it to automatically lock & unlock? Performance? It seems to be working like a charm. I need to add this to the same Properties file ... Ditch all those individual locking settings and just set: er.extensions.ERXEC.safeLocking=true ms __

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Joe Moreno
cug, Thanks, again, for pointing me to the Properties config for the ERXEC. In the comments, it says, "Use with care..." when setting to lock/ unlock automatically. What are the gotchas when setting it to automatically lock & unlock? Performance? It seems to be working like a char

Re: WO5.4 app deployed on Tiger: SSL Problem: fixed

2008-07-28 Thread Michael Scott
The problem was indeed the absence of an SSL service because I was using the incorrect port. The service was running 443. I was so concerned about potential framework incompatibilities, that I developed tunnel vision and saw only that class of problem. The WO5.4 app now works fine on a Tiger, W

Re: computeQueryDictionaryInContext error

2008-07-28 Thread Mike Schrag
java.lang Class.java 1909 getDeclaredMethod java.lang ERXWOForm.java 224 _appendHiddenFieldsToResponse er.extensions My guess is that you aren't using an up-to-date Wonder 5.4 with your WO 5.4.x. ms ___ Do not post admin requests to the list. They w

Re: Parse URL

2008-07-28 Thread Lachlan Deck
On 28/07/2008, at 9:40 PM, .::welemski::. wrote: I'd like to use mod_rewrite but i want to make Webobjects do the parsing as I don't want to restart apache everytime i add a new url. All I need is to get or capture the URL entered by the user and let Weobjects do the redirection not the rules i

Re: computeQueryDictionaryInContext error

2008-07-28 Thread Jaime Magiera
After updating my dev machine to the latest XCode/WebObjects, I'm able to reproduce the error locally. Here is the trace. If anyone has any ideas, feel free to jump in. Error: java.lang.RuntimeException: computeQueryDictionaryInContext failed. Reason: computeQueryDictionaryInContext failed. S

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Guido Neitzer
On 28.07.2008, at 16:20, Joe Moreno wrote: I only installed what I thought would be the minimum to get ERXEC to work - specifically, I added the ERExtensions-5.0.0.8093.jar to my project. For that stuff to work you need to inherit from ERXApplication and ERXSession. Getting the ERXEC is

Sorting over a derived atribute

2008-07-28 Thread Miguel Arroz
Hi! I'm trying to solve a weird problem. Let's say I have entity A that has a to-many relationships to an entity B. Entity B has a boolean attribute called "status". I need to run a fetch specification on A with some trivial stuff, but I need the values to be sorted according to B's s

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Joe Moreno
cug, I dropped in the er.extensions.eof package for WO 5.3.x to test it out in place of a peer EC I'm using inside a session based WO component. I only installed what I thought would be the minimum to get ERXEC to work - specifically, I added the ERExtensions-5.0.0.8093.jar to my projec

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
No, we're not.  If you ever find a solution, please post it here, it will save me some extra commands during the day :) ~Mersida --- On Mon, 7/28/08, Xia, Wen <[EMAIL PROTECTED]> wrote: From: Xia, Wen <[EMAIL PROTECTED]> Subject: Re: Not able to configure build path To: "Mersida Kurti" <[EMAIL P

Re: Not able to configure build path

2008-07-28 Thread Xia, Wen
So we are not alone. I will also make note of that. Thanks for your help! On 7/28/08 3:03 PM, "Mersida Kurti" <[EMAIL PROTECTED]> wrote: > Hi Wen, > > Yep, that's what I do everytime I re-deploy that same app, i copy the > Conents/MacOS/*.txt everytime i have to redeploy the app because the b

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
Hi Wen, Yep, that's what I do everytime I re-deploy that same app, i copy the Conents/MacOS/*.txt everytime i have to redeploy the app because the buildpath will be wrong everytime.  All you have to do is change the classpath.txt once and then when you re-deploy it you have to remember to copy

Re: Not able to configure build path

2008-07-28 Thread Xia, Wen
Thanks, Mersida. My application works on development mac, but fails on deployment. The problem is it didn¹t build the entry WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOEx tensions.jar to MacOSClassPath.txt even though the javawoextensions.jar is there on UI. I have

Re: web objects 5.4.2 URL parsing errors

2008-07-28 Thread David LeBer
On 28-Jul-08, at 4:06 PM, Mersida Kurti wrote: Hi everyone, I hope someone can help me with this problem: I currently am running on Tiger, Java 1.5. and WebObjects 5.2.4and I have a URL which it parses info from after each & Now that I've switched to Leopard, Java 1.5, WO 5.4.2, it is not

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 1:04 PM, Joe Little <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 12:57 PM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: >> Yes. You are correct. It knows which database to get each entity from based >> on the connection dictionary of the model to which the entity belon

web objects 5.4.2 URL parsing errors

2008-07-28 Thread Mersida Kurti
Hi everyone, I hope someone can help me with this problem: I currently am running on Tiger, Java 1.5. and WebObjects 5.2.4and I have a URL which it parses info from after each & Now that I've switched to Leopard, Java 1.5, WO 5.4.2, it is not parsing that string at all, it returns it all back.

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 12:57 PM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: > Yes. You are correct. It knows which database to get each entity from based > on the connection dictionary of the model to which the entity belongs. You > don't have to do anything except put the models in your app and/o

Re: multiple model usage example

2008-07-28 Thread Kieran Kelleher
Yes. You are correct. It knows which database to get each entity from based on the connection dictionary of the model to which the entity belongs. You don't have to do anything except put the models in your app and/or frameworks. Even without Wonder, that is how EOF treats multiple eomodels

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 11:37 AM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: > Joe, > > OK, I see where you are going ... you are wondering how to fetch against a > different eomodel ... well, stop wondering ... it is automagic! > > The only restriction for having lots of eomodels is that *all*

Re: Basic EO Caching ?

2008-07-28 Thread Chuck Hill
On Jul 28, 2008, at 12:04 PM, netBrackets wrote: I've read through the EO Programming Guide many times and can't seem to decipher for sure a question I have. First, from what I understand, under default configuration (one EOObjectStoreCoordinator per Application instance) there can be two

Basic EO Caching ?

2008-07-28 Thread netBrackets
I've read through the EO Programming Guide many times and can't seem to decipher for sure a question I have. First, from what I understand, under default configuration (one EOObjectStoreCoordinator per Application instance) there can be two levels of a cached EO within an Application instance,

Re: DBEdit with MacIntel

2008-07-28 Thread Mersida Kurti
argh, if only there was a replacement that was at least close to it I won't give up looking for another app :) --- On Mon, 7/28/08, Chuck Hill <[EMAIL PROTECTED]> wrote: From: Chuck Hill <[EMAIL PROTECTED]> Subject: Re: DBEdit with MacIntel To: "Mike Schrag" <[EMAIL PROTECTED]> Cc: "Developmen

Re: WO5.4 WOPopupButton wanting formatter

2008-07-28 Thread Chuck Hill
On Jul 19, 2008, at 4:26 AM, Lachlan Deck wrote: On 19/07/2008, at 4:59 PM, Shelley Eitzen wrote: you are correct, one value was an Integer and the other a String, so technically our app is at fault. So is it a bug to report because it works under 5.3 but not under 5.4? I believe in the

Re: multiple model usage example

2008-07-28 Thread Kieran Kelleher
Joe, OK, I see where you are going ... you are wondering how to fetch against a different eomodel ... well, stop wondering ... it is automagic! The only restriction for having lots of eomodels is that *all* entity names must be unique! (Note the java class package.name and database

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
Wen, I found this, which clarifies things for me: "WOROOT indicates the path whereWebObjects frameworks are installed. On Mac OS X, for example, WebObjects frameworks are located in the /System/Library/Frameworks directory and WOROOT is set to /System." ~Mersida http://127.0.0.1:7980/open?url

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
Hi Wen, I checked my machine and I see the same thing.  I'm able to deploy and run my apps fine even though the class path is different.  I don't know what to tell you.  I think as long as the buildpath on eclipse is fine and you can see the jar file in there you should be fine. ~mersida ---

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 11:18 AM, Joe Little <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 11:03 AM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: >> Hi Joe, >> >> AFAIK, if you just define properties below for each model using the syntax >> .URL, .DBUser, etc., all the models and their entitie

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 11:03 AM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: > Hi Joe, > > AFAIK, if you just define properties below for each model using the syntax > .URL, .DBUser, etc., all the models and their entities > will be automatically loaded at startup by Wonder which checks for such >

Re: multiple model usage example

2008-07-28 Thread Kieran Kelleher
Hi Joe, AFAIK, if you just define properties below for each model using the syntax .URL, .DBUser, etc., all the models and their entities will be automatically loaded at startup by Wonder which checks for such properties at startup. In your Application constructor, after super(), all the

Re: DBEdit with MacIntel

2008-07-28 Thread Chuck Hill
On Jul 28, 2008, at 8:49 AM, Mike Schrag wrote: This isn't an Intel thing, it is a Leopard (OS X 10.5.x) thing. DBEdit uses the Cocoa-Java bridge and will not work on any OS beyond Tiger (10.4). It will be sorely missed by many. Or at least me. These discussions always end in me doing wor

Re: multiple model usage example

2008-07-28 Thread Joe Little
On Mon, Jul 28, 2008 at 5:08 AM, Kieran Kelleher <[EMAIL PROTECTED]> wrote: > Hi Joe, > > Not sure if this is what you are looking for here is an example of > entries in Properties for access to different databases: > > > ###

Re: DBEdit with MacIntel

2008-07-28 Thread Chuck Hill
I also miss it, but am not aware of any replacement. Chuck On Jul 28, 2008, at 7:45 AM, Mersida Kurti wrote: Hi David, Thanks for the reply. Have you found a replacement for DBedit? We'll surely miss it too. Thanks in advance. --- On Mon, 7/28/08, David Avendasora <[EMAIL PROTECTED]>

Re: Not able to configure build path

2008-07-28 Thread Xia, Wen
Thank you, Mersida. It did reflect in the UI after I restarted Eclipse. But the final result, the MacOSClassPath.txt still don¹t have the entry: WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOEx tensions.jar Any other ideas? On 7/28/08 10:07 AM, "Mersida Kurti" <[EMA

Identify a resource in apache webserver directory

2008-07-28 Thread shravan
Hello Group, I have some solution of finding webserver url by going thru WORequest object. I am looking for a more standard way of achieving this task. Could any one please advise best practice to retrieve/store a resource into a Apache Webserver directory. For Eg: I have a css file master.css

Re: DBEdit with MacIntel

2008-07-28 Thread David Avendasora
Wow. And I didn't even have to say it couldn't be done! Not that it can be, of course. Especially not having integrated into Entity Modeler with a Data view for Entities and Fetches with the ability to specify qualifiers and ordering... Impossible! Dave On Jul 28, 2008, at 11:49 AM, Mike

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
You would probably have to close Eclipse in order for the changes to take effect. --- On Mon, 7/28/08, Xia, Wen <[EMAIL PROTECTED]> wrote: From: Xia, Wen <[EMAIL PROTECTED]> Subject: Re: Not able to configure build path To: "Mersida Kurti" <[EMAIL PROTECTED]>, "Development WebObjects" Date: Mon

Re: Not able to configure build path

2008-07-28 Thread Xia, Wen
I tried to delete the the copy in /Library, it still ignores the System/Library copy. It ³pretends² to be configured using the System/Library copy, but the MacOSClassPath.txt still don¹t have the entry: WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOEx tensions.jar On

Re: Not able to configure build path

2008-07-28 Thread Xia, Wen
Mike, what do you mean "the final behavior is expected"? I tried to build the app, and the MacOSClassPath.txt will show entry as: LOCALROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaW OExtensions.jar Not: WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/

Re: Not able to configure build path

2008-07-28 Thread Mersida Kurti
Hi Wen, I had this problem before.  What it seems to be doing is that it looks at /Library first then at /System/Library.  So if you delete the copy in /Library, it will take the /System/Library copy ~Mersida --- On Mon, 7/28/08, Xia, Wen <[EMAIL PROTECTED]> wrote: From: Xia, Wen <[EMAIL PROTE

Re: Not able to configure build path

2008-07-28 Thread Mike Schrag
For some reason, I can't configure the build path to refer to the /System/Library/Frameworks/JavaWOExtensions.framework. It keeps referring to the the /Library/Frameworks/JavaWOExtensions.framework. The steps I did: - Right-click on the project name - Select "Build Path" -> "Configure Build P

Not able to configure build path

2008-07-28 Thread Xia, Wen
For some reason, I can't configure the build path to refer to the /System/Library/Frameworks/JavaWOExtensions.framework. It keeps referring to the the /Library/Frameworks/JavaWOExtensions.framework. The steps I did: - Right-click on the project name - Select "Build Path" -> "Configure Build Path"

Re: DBEdit with MacIntel

2008-07-28 Thread Mike Schrag
This isn't an Intel thing, it is a Leopard (OS X 10.5.x) thing. DBEdit uses the Cocoa-Java bridge and will not work on any OS beyond Tiger (10.4). It will be sorely missed by many. Or at least me. These discussions always end in me doing work :) ms _

Re: DBEdit with MacIntel

2008-07-28 Thread David Avendasora
This isn't an Intel thing, it is a Leopard (OS X 10.5.x) thing. DBEdit uses the Cocoa-Java bridge and will not work on any OS beyond Tiger (10.4). It will be sorely missed by many. Or at least me. Dave On Jul 23, 2008, at 2:27 PM, Mersida Kurti wrote: Hi everyone, Just wondering if anyon

Re: DBEdit with MacIntel

2008-07-28 Thread David Avendasora
Hi Marsida, No, I haven't been able to come up with any form of a replacement. The closest I've come is a _huge_ amount of logging statements in my code to see if I'm getting what I expect when running fetches and such. Dave On Jul 28, 2008, at 10:45 AM, Mersida Kurti wrote: Hi David,

Re: DBEdit with MacIntel

2008-07-28 Thread Mersida Kurti
Hi David, Thanks for the reply.  Have you found a replacement for DBedit?  We'll surely miss it too. Thanks in advance. --- On Mon, 7/28/08, David Avendasora <[EMAIL PROTECTED]> wrote: From: David Avendasora <[EMAIL PROTECTED]> Subject: Re: DBEdit with MacIntel To: "Mersida Kurti" <[EMAIL PROTE

Re: Eclipse WO + SVN

2008-07-28 Thread Bruce Fancher
Yeah, I switched to the command-line about a year ago and haven't looked back. However, if you do use Subclipse, make sure you open Preferences, go to Team->SVN and click on "SVNKit (Pure Java)" instead of "JavaHL (JNI)." I found that with JavaHL if you do a commit across multiple Eclipse

computeQueryDictionaryInContext error

2008-07-28 Thread Jaime Magiera
Hello, I updated one of my OSX Server's over the weekend, including the installation of WO 5.4.2. Since then, I've begun seeing this error on queries related to components with a particular WOAction binding (/wa/ pagename?grid=n). A quick Google only terms of references of that error with

Re: Problem with webobjects - tag occurred before another tag

2008-07-28 Thread Mike Schrag
Hi Mike, can you please tell me where to find this preference? warn if missing key in NSDictionary/NSArray I can't seem to find it in eclipse 3.3.2 and WOLips 3.3.5304 plugin Please keep questions on the mailing list -- Preferences=>WOLips=>Binding Validation. ms __

Re: Eclipse WO + SVN

2008-07-28 Thread Jonathan Ricker
I think people starting out should start with subversive, rather than subclipse: Relevant posts from the woproject list: http://wiki.objectstyle.org/confluence/display/WOL/mail/3047983 http://wiki.objectstyle.org/confluence/display/WOL/mail/3048016 -- Jonathan On Jul 28, 2008, at 8:15 AM,

Re: Eclipse WO + SVN

2008-07-28 Thread Jonathan Ricker
I got the impression a while back that some were moving from subclipse to subversive? Recommendations on this? This year I started using subversive on one of my projects where I needed to do a lot of re-factoring that made exclusively using the command line insufficient. I still am in the

Re: multiple model usage example

2008-07-28 Thread Kieran Kelleher
Hi Joe, Not sure if this is what you are looking for here is an example of entries in Properties for access to different databases: # # ERExtensions - ERXModelGroup properties ###

Re: Eclipse WO + SVN

2008-07-28 Thread Kieran Kelleher
Install Subversion Binaries for OS X (these binaries have the necessary "JavaHL bindings": (Just download and run the installer) http://www.collab.net/downloads/community/ Install Subclipse Plugin (instructions) http://homepage.mac.com/kelleherk/iblog/C1837526061/E20070705125504/index.html On

Re: Parse URL

2008-07-28 Thread .::welemski::.
Hi, I'd like to use mod_rewrite but i want to make Webobjects do the parsing as I don't want to restart apache everytime i add a new url. All I need is to get or capture the URL entered by the user and let Weobjects do the redirection not the rules inside the config. Is there a way to capture th

Re: Parse URL

2008-07-28 Thread Simon McLean
apache mod_rewrite is your friend So in your site config for 127.0.0.1 www.adminpage.com do something like RewriteCond %{HTTP_HOST} ^adminpage\.com$ [NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^/(.*) http://www.adminpage.com/cgi-bin/WebObjects/YourApp.woa/wa/DirectAction/daThatRetu

Parse URL

2008-07-28 Thread .::welemski::.
Hi Lists, I have made a configuration in my /etc/hosts file like so: 127.0.0.1 www.adminpage.com 127.0.0.1 www.userpage.com 127.0.0.1 www.memberpage.com 127.0.0.1 localhost and i have 3 WOComponent page namely: WOAdminPage WOUserPage WOMemberPage Main How do i tell my default Main component pa

Eclipse WO + SVN

2008-07-28 Thread Amedeo Mantica
can anyone help me / give me a link with a tutorial how to correctly setup SVN with Eclipse ? Regards Amedeo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubs

Re: WO5.4 app deployed on Tiger: SSL Problem

2008-07-28 Thread Paul Lynch
As Simon says, plus see below. Paul On 28 Jul 2008, at 07:09, Michael Scott wrote: I have an app developed on a Leopard box in WO5.4 and then deployed on a Tiger server. In deployment, the WO5.4 frameworks are bundled into the application package, so (I hope) the application uses nothing

Re: WO5.4 app deployed on Tiger: SSL Problem

2008-07-28 Thread Simon McLean
this doesn't sound like a code problem at all - more like an apache config problem. it sounds to me like you don't have the SSL port open, or you don't have an SSL web site configured for that domain. first of all just make sure you can connect to https://gamp.murdoch.edu.au i'm guessing you

Re: multiple model usage example

2008-07-28 Thread Lachlan Deck
On 28/07/2008, at 4:22 PM, Joe Little wrote: That would need to be an ER Model I take it. No... it's your model(s). Again, do you happen to have a snippet of code taking multiple entity modeler defined models, overriding those settings, etc, and then having a joined model group.. or should t

Re: WO5.4 app deployed on Tiger: SSL Problem

2008-07-28 Thread Michael Scott
Oops ­ perhaps this belongs on the deploy list. I was thinking from the perspective of code. I¹ll post it in the other place. On 28/07/08 2:09 PM, "Michael Scott" <[EMAIL PROTECTED]> wrote: > I have an app developed on a Leopard box in WO5.4 and then deployed on a Tiger > server. In deployme

Re: Unable to release locks held by deallocated EOEditingContext

2008-07-28 Thread Joe Moreno
cug, Yes, I need to look at that – I've been dragging my feet about integrating Wonder. Thanks for the nudge. - Joe On Jul 27, 2008, at 11:48:36, Guido Neitzer wrote: Is there no chance of using Wonder and the ERXEC autolocking? It solves MANY problems and not only problems that are lock