re: how is UNIXClassPath.txt populated?

2013-01-23 Thread Pascal Robert
(I have to reply in a separate email, my mail server was rejecting all emails from lists.apple.com from January 3rd to today…) Usually, this problem happens when you have the source code in Eclipse but you don't have it installed as a .framework on the file system. So it works fine in Eclipse b

Re: Objective Cloud

2013-01-23 Thread Pascal Robert
They do talk about it (they even talk about how the foundation stuff was rewritten for Java), but I don't think they have tried it with Wonder. > Interesting, that would have been funnier if they didn't know the existence > of WO... > - Hey look our objective-c app server ! > - Huh wait... > ;)

Re: Objective Cloud

2013-01-23 Thread Alexis Tual
Interesting, that would have been funnier if they didn't know the existence of WO... - Hey look our objective-c app server ! - Huh wait... ;) Alex 2013/1/23 Pascal Robert > Take a couple of minutes to listen to this… > http://nsbrief.com/80-objective-cloud/ > __

Re: Question on Modeless dialog...

2013-01-23 Thread Chuck Hill
You need to pass the data with bindings, not with copy and paste. On 2013-01-23, at 12:45 AM, Sreenivasulu A wrote: > Hi List, > > We use the AjaxModalDialog component from Webobject's Project wonder > framework. > > > This component is a modal dialog that blocks access (using mouse to high

Re: Rép : Re: problem of accents on FR data

2013-01-23 Thread Chuck Hill
On 2013-01-23, at 5:49 AM, Raymond NANEON wrote: > Hi All, > > Can I have help on my problem? I stuck on it since 3 weeks. > > Thanks > Envoyé depuis iCloud > > Le 07 jan 2013 à 02:20, Raymond NANEON a écrit : > >> Hi Stephan, >> >> I added the expression ERXJDBCAdaptor.setExpressionClassNa

Re: Could not find the main class: =. Program will exit.

2013-01-23 Thread Chuck Hill
Try deleting the launch configuration and then Run As... WebObjects application. That may fix it. Chuck On 2013-01-21, at 8:57 AM, Thomas Grass (01SoftwareSolutions) wrote: > Hello, > > i'm developing a software with WebObjects and WOLips on MacOSX. (Java 1.6). I > checked out this projec

Annual surveys are in da house

2013-01-23 Thread Pascal Robert
Good morning everyone, The annual surveys are now available: Organization (e.g., your business answers): https://www.survs.com/survey/8ZOU47TJC4 Individual (e.g., your personal answers) : https://www.survs.com/survey/FNKGDKF361 The answers are really useful to planify WOWODC and activities, s

Re: array help

2013-01-23 Thread Theodore Petrosky
I am sorry. I was so brain tired that I was looking at the day portion of the date and the long and short is it works fine. Thanks for looking. Ted --- On Wed, 1/23/13, Chuck Hill wrote: > From: Chuck Hill > Subject: Re: array help > To: "Theodore Petrosky" > Cc: "WebObjects Development"

Re: java.lang.NullPointerException in JavaMonitor (non-Wonder)

2013-01-23 Thread programmingosx
Hi Johann, After trying that and getting the same inexplicable error, I just restarted the WO service and all is well again. Thanks, David On 2013-01-23, at 12:57 AM, Johann Werner wrote: > Hi David, > > why not just using the Wonder version? Binaries can be downloaded on the > community's

Re: array help

2013-01-23 Thread Chuck Hill
Looks like it should work, what happens? On 2013-01-23, at 12:35 PM, Theodore Petrosky wrote: > NSArray theNewArray = > ERXArrayUtilities.sortedArraySortedWithKey(thePWO.pwoMileStones(), "msDate"); > > that doesn't work. > > what is the correct way to sort an array of objects? I am sure when

array help

2013-01-23 Thread Theodore Petrosky
NSArray theNewArray = ERXArrayUtilities.sortedArraySortedWithKey(thePWO.pwoMileStones(), "msDate"); that doesn't work. what is the correct way to sort an array of objects? I am sure when I see the answer, I will kick myself. I want to sort this array thePWO.pwoMileStones() of PWOMileStone obje

Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray

2013-01-23 Thread Chuck Hill
It looks like you have an NSArray instead of an NSMutableArray bound to the selections binding of a WOBrowser. Chuck On 2013-01-21, at 10:10 AM, Lars Sonchocky-Helldorf wrote: > Hi folks, > > I get the following exception when normally submitting a form which contains > some AJAX stuff (whic

Using Jenkins to Build a WOApp

2013-01-23 Thread Roger Perryman
I'm trying to configure Jenkins to build my WO Application so that it can be deployed. I'm not sure I ever had Jenkins working properly because I am getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. Then it was upgraded to Jenkins. Also we switched from SVN to Git. Tha

Re: JavaFoundation opens in place of own Application

2013-01-23 Thread Chuck Hill
My guess is that the template for a plain WO application is somehow wrong. In the run configuration, check the WO tab for the settings for NSProjectSearchPath and NSProjectBundleEnabled. Compare those to a Wonder project. Also check the WOLips preferences (under Eclipse preferences). Look i

Re: Get framework name

2013-01-23 Thread Chuck Hill
Hi Miguel, You can use NSBundle.bundleForClass(some class in that bundle).name() Chuck On 2013-01-22, at 11:59 AM, Miguel Torres wrote: > Hi List, > > We need to get the framework name to get some resource. We have made this > before just calling the method frameworkName() from a java class

Re: Kill User Session On Browser Closed

2013-01-23 Thread Chuck Hill
On 2013-01-23, at 7:46 AM, David LeBer wrote: > Nothing to deal with your specific request, but: > > 1. Add more server/app instances to handle your users. ;) > > or > > 2. Ratchet your session timeout down even more, and put an Ajax 'ping' (i.e: > an AjaxUpdateUpdateContainer with a periodi

Re: jasperreport help please

2013-01-23 Thread Theodore Petrosky
I want to share my 'solution' because I feel it is a little convoluted. And usually as soon as I feel convoluted it means that I am a little screwed. anyway a subreport is expecting the object to be a JRDataSource. so after a little mucking around: first create a Java List (NSArray will not wor

Re: Memory leak

2013-01-23 Thread Chuck Hill
On 2013-01-23, at 9:29 AM, Sisi Li wrote: > Dear all, > > We have a wonder accounting application that is misbehaving. As part of the > application the user processes a large amount of transactions, generating > invoices and so on in a single LongResponse Thread. > > Here is the code inside t

Re: WOResponse large http file download

2013-01-23 Thread Chuck Hill
Perhaps it is some networking limit local to you on http payload size? It does not sound like WebObjects is stopping it. "Exception while sending response: java.net.SocketException: Broken pipe" means that something stopped accepting the download from the application. Chuck On 2013-01-21,

Jumping to and back from a D2W page.

2013-01-23 Thread James Cicenia
I have a page and I want to have a button that takes the user to a D2WEditPage I do the following: public WOComponent editIOSSetup(){ EditPageInterface epi = D2W.factory().editPageForEntityNamed("AppConfigIOS", session()); epi.setObject(app.i

Objective Cloud

2013-01-23 Thread Pascal Robert
Take a couple of minutes to listen to this… http://nsbrief.com/80-objective-cloud/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscript

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Alexis Tual
Ah got it, I forgot you work in the parallel universe of WO ;) So I guess I'll stick with bundle builds until I try harder to fix this... (note for my future self : fix it now !) Cheers, Alex 2013/1/23 Mike Schrag > Meaning, the version you have doesn't work … Interpret that in whatever > way

Re: Memory leak

2013-01-23 Thread Ramsey Gurley
You're probably not going to find this answer on list. You need to debug the leak with jvisualvm. http://visualvm.java.net/oqlhelp.html I can tell you that the undo manager is probably not your problem, and setting it to null can cause problems. Revert a delete and you'll get an IllegalState

Re: jasperreport help please

2013-01-23 Thread Kieran Kelleher
FWIW, ERJRFoundationDataSource implements the JRDataSource interface and wraps an NSArray of KVC objects. You probably can architect your solution using that or sth similar to that to avoid the need to have getAttribute methods in your eomodel objects. On Jan 23, 2013, at 12:38 PM, Theodore P

Re: Get framework name

2013-01-23 Thread Miguel Torres
Thanks Mike, We'll test it. On 22/01/2013, at 17:47, Mike Schrag wrote: >>> Hi Miguel, >>> >>> You can use NSBundle.bundleForClass(some class in that bundle).name() > You should test this with embedded frameworks in deployment … I seem to > recall a bug at one point where the embedded jars i

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Mike Schrag
Meaning, the version you have doesn't work … Interpret that in whatever way allows you to make sense of the universe. ms On Jan 23, 2013, at 11:25 AM, Alexis Tual wrote: > Hi Mike and Henrique, > > Henrique, by bundle less build I mean no creation of "build" folder by the > incremental build

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Alexis Tual
Hi Mike and Henrique, Henrique, by bundle less build I mean no creation of "build" folder by the incremental builder. NSProjectBundleEnabled false or true doesn't change the behavior in my case. Mike, you mean it's fixed now on 6.0.0 and it hasn't been commited back to 5.x branche(s) ? Thanks Al

Re: Kill User Session On Browser Closed

2013-01-23 Thread David LeBer
Nothing to deal with your specific request, but: 1. Add more server/app instances to handle your users. ;) or 2. Ratchet your session timeout down even more, and put an Ajax 'ping' (i.e: an AjaxUpdateUpdateContainer with a periodic update frequency set of a 1 minute or so) on the page that ke

Re: problem of accents on FR data

2013-01-23 Thread George Domurot
Hi Raymond, What does the SQL look like that is output in your console? -G On Jan 23, 2013, at 5:49 AM, Raymond NANEON wrote: > Hi All, > > Can I have help on my problem? I stuck on it since 3 weeks. > > Thanks > Envoyé depuis iCloud > > Le 07 jan 2013 à 02:20, Raymond NANEON a écrit : >

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Mike Schrag
Yeah, I'm pretty sure that wasn't fixed until later, and other dependent APIs diverged enough that it became difficult to continue pushing updates. On Jan 23, 2013, at 9:29 AM, Henrique Prange wrote: > Hi Alexis, > > By bundleless build you mean running the application with the > NSProjectBun

Re: Bug with frameworks as jar and bundless build

2013-01-23 Thread Henrique Prange
Hi Alexis, By bundleless build you mean running the application with the NSProjectBundleEnabled property active? I don't think Wonder is capable of handling jar frameworks in this mode yet. Cheers, Henrique On 23/01/2013, at 11:47, Alexis Tual wrote: > Hi list, > > I try to develop with ja

Rép : Bug with frameworks as jar and bundless build

2013-01-23 Thread Raymond NANEON
Hi ALex,Did you have properties file in your apps point by the main class? It can't Load properties file.When you say it works fine with bundles, the properties file is embedded in it ?RayEnvoyé depuis iCloudLe 23 jan 2013 à 05:47, Alexis Tual a écrit :Hi list,I try to develop with jar frameworks

Rép : Re: Kill User Session On Browser Closed

2013-01-23 Thread Raymond NANEON
Hi,In JavaMonitor I set my apps session TimeOut to 900s but I have 4000 Users so I want to kill imediatly the session on browser closed to free memory on the server.ThanksEnvoyé depuis iCloudLe 23 jan 2013 à 05:42, George Domurot a écrit :How about a simple META refresh tied to your session timeou

Rép : Re: problem of accents on FR data

2013-01-23 Thread Raymond NANEON
Hi All,Can I have help on my problem? I stuck on it since 3 weeks.ThanksEnvoyé depuis iCloudLe 07 jan 2013 à 02:20, Raymond NANEON a écrit :Hi Stephan,I added the _expression_ ERXJDBCAdaptor.setExpressionClassName("com.resurgences.utils.IVOracleExpression", "er.extensions.jdbc.ERXJDBCAdaptor"); in

Bug with frameworks as jar and bundless build

2013-01-23 Thread Alexis Tual
Hi list, I try to develop with jar frameworks only (even system frameworks). That works fine when generate bundles but not at all with bundless build. I get this error on startup : [2013-1-23 14:17:49 CET] Initialized : er.extensions.ERXExtensions [2013-1-23 14:17:50 CET] A fatal exception

Re: Kill User Session On Browser Closed

2013-01-23 Thread George Domurot
How about a simple META refresh tied to your session timeout setting? -G On Jan 23, 2013, at 5:26 AM, Raymond NANEON wrote: > Hi List, > > I want to kill session of the web apps when user don't use logOut Button to > quit the apps properly. I thought to this JavaScript but I think there is >

Kill User Session On Browser Closed

2013-01-23 Thread Raymond NANEON
Hi List,I want to kill session of the web apps when user don't use logOut Button to quit the apps properly. I thought to this _javascript_ but I think there is another way do it clearlywindow._onunload_ = function () {  if((window.event.clientX<0) && (window.event.clientY<0)) {       windo

Re: java.lang.NullPointerException in JavaMonitor (non-Wonder)

2013-01-23 Thread Johann Werner
Hi David, why not just using the Wonder version? Binaries can be downloaded on the community's Jenkins. jw Am 22.01.2013 um 23:38 schrieb programming...@mac.com: > Hi all, > > JavaMonitor is suddenly throwing NPE's when I select the Detail View button > in the Applications tab. > > Does an

Question on Modeless dialog...

2013-01-23 Thread Sreenivasulu A
Hi List, We use the AjaxModalDialog component from Webobject's Project wonder framework. This component is a modal dialog that blocks access (using mouse to highlight text) to the canvas behind it. Our requirement is for the user to be able to copy the string from background/parent canvas and