Re: WOWODC West

2009-03-30 Thread David Avendasora
On Mar 27, 2009, at 6:45 PM, Chuck Hill wrote: On Mar 27, 2009, at 3:39 PM, Pascal Robert wrote: Le 09-03-27 à 18:33, Chuck Hill a écrit : • Java client: it's current status and it's future Only used by wild eyed lunatics in cookie factories. Hey! I resemble that! That was just a

Re: doubleValue and migrations

2009-03-30 Thread Mike Schrag
Upgraded to latest stable (5708) still gets: FIX // Unable to create a migration for limit (Java Class Name: Double) I don't think this fix is in stable. Pretty sure it's in nightly. ms ___ Do not post admin requests to the list. They will be

JavaClient session timeout?

2009-03-30 Thread John Huss
Is there a session timeout in JavaClient? I would think there has to be. What happens when the session times out? Is there built-in notification or do you have to handle it manually? John ___ Do not post admin requests to the list. They will be

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:06, John Huss wrote: Is there a session timeout in JavaClient? I would think there has to be. Yep, there is. What happens when the session times out? The next request from a client coming to the session gets refused, the client app is informed of why, and the

Re: Undo manager and AJAX

2009-03-30 Thread Anjo Krank
That said, I'm not sure undo conceptually really works out in EOF, anyway You sure about that? Or is it just unreliable? Cheers, Anjo Am 30.03.2009 um 16:08 schrieb Mike Schrag: If I do not save changes, an undo will undo everything (like a revert). I want to be able to undo each

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 10:06 AM, John Huss wrote: Is there a session timeout in JavaClient? I would think there has to be. What happens when the session times out? Is there built-in notification or do you have to handle it manually? Yes, there is. By default I believe it is 30 minutes, or

Re: Undo manager and AJAX

2009-03-30 Thread Mike Schrag
That said, I'm not sure undo conceptually really works out in EOF, anyway You sure about that? Or is it just unreliable? It _works_ -- that was maybe a bit too bold .. However, when you stop using session.default, and start using lots of peers that are very transient, I believe that ends up

Re: Undo manager and AJAX

2009-03-30 Thread Anjo Krank
Am 30.03.2009 um 16:27 schrieb Mike Schrag: That said, I'm not sure undo conceptually really works out in EOF, anyway You sure about that? Or is it just unreliable? It _works_ -- that was maybe a bit too bold .. However, when you stop using session.default, and start using lots of peers

Re: WOWODC West

2009-03-30 Thread Dan Grec
Another idea for the stack: At WOWODC it was emphasized to create an MVC app. I understand Model and View really well in the WebObjects world - but I'm pretty shady on the Controller. Maybe we can see some sample Controllers and how they work..? -Dan On 30-Mar-09, at 4:45 AM, David

Re: Undo manager and AJAX

2009-03-30 Thread Fredrik Lindgren
OK! Seems like I should keep away then! Regards /Fredrik 30 mar 2009 kl. 16.54 skrev Anjo Krank: Am 30.03.2009 um 16:27 schrieb Mike Schrag: That said, I'm not sure undo conceptually really works out in EOF, anyway You sure about that? Or is it just unreliable? It _works_ -- that was

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 10:24, David Avendasora wrote: Yes, there is. By default I believe it is 30 minutes, or maybe 20. I'm not entirely sure. It is the same session timeout that a web client session has by default It's the same session mechanism, controlled with the same server side

Re: JavaClient session timeout?

2009-03-30 Thread John Ours
On Mar 30, 2009, at 11:16 AM, Stamenkovic Florijan wrote: I'd be happy to implement the ping system, and put it into WOJCKit, if somebody else has the time to test it. I am wy too busy at the moment to deal with that. Anyone interested? Certainly, I'm going to need to go down this

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Hugi Thordarson
I do this by rendering the HTML into a PDF, and then rasterizing the PDF to an image. I've tried using several implementations, but currently I use PD4ML for the HTML rendering, and JPedal for rasterizing the PDF. -- Step 1 - /** * Uses PD4ML to

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Timo Hoepfner
For thumbnails you could try http://www.paulhammond.org/webkit2png/ Another utility I recently came across is wkpdf (http:// wkpdf.plesslweb.ch). Seems to work fine, but complains about not beeing able to access the window server when running w/o console. The author started porting it to ruby

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Kieran Kelleher
Thanks Hugi, good suggestions, however it must be free or FOSS. JPedal is interesting . FWIW, I have used ghostscript ('gs' command line tool) to rasterize PDF to images: gs -sDEVICE=png16m -o MyFile-Page-%d-png16m.png MyFile.pdf that command outputs each page (d is page

Re: Localizable.strings encoding problem

2009-03-30 Thread David LeBer
On 30-Mar-09, at 11:42 AM, David LeBer wrote: We're seeing a weird encoding problem with a legacy app (many iterations of dev/build environments). All of the standard Wonder encoding flags are set in the Properties and everything works fine when launched from within Eclipse. But when

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Mike Schrag
The CoreImage-based thumbnailer in ERAttachment can rasterize PDF's also, btw. ms On Mar 30, 2009, at 12:57 PM, Kieran Kelleher wrote: Thanks Hugi, good suggestions, however it must be free or FOSS. JPedal is interesting . FWIW, I have used ghostscript ('gs' command line tool) to

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 11:16 AM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 10:24, David Avendasora wrote: Yes, there is. By default I believe it is 30 minutes, or maybe 20. I'm not entirely sure. It is the same session timeout that a web client session has by default It's the same

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Kieran Kelleher
Thanks Mike, that is good to know .. definitely a better option than installing ghostscript. On Mar 30, 2009, at 1:08 PM, Mike Schrag wrote: The CoreImage-based thumbnailer in ERAttachment can rasterize PDF's also, btw. ms On Mar 30, 2009, at 12:57 PM, Kieran Kelleher wrote: Thanks

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Hugi Thordarson
Ah, interesting, thanks! PD4ML is completely closed, so that won't work for you. We're trying to move to completely OSS up here as well, and I've been meaning to check out The Flying Saucer project for a while. I've heard good things about that one: https://xhtmlrenderer.dev.java.net/

Re: OT: Thumbnail image of webpage

2009-03-30 Thread Timo Hoepfner
Hi Hugi, the webkit2png site mentions some alternatives for linux: If you use linux you may be more interested in khtml2png, Matt Biddulph's Mozilla screenshot script or Roland Tapken's QT Webkit script.) the actual links are on the page: http://www.paulhammond.org/webkit2png Timo Am

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip It's a WOLips project. Eclipse 3.4.1, appropriate stable WOLips (update say a month ago or something). Note: this project contains both server and client side classes. Both are well documented

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 2:31 PM, Stamenkovic Florijan wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P It's a WOLips project. Eclipse 3.4.1, appropriate stable WOLips (update say a month ago or

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 3:39 PM, Chuck Hill wrote: OK, you can download WOJCKit here: http://web.mac.com/flor385/eSwamp/software/files/WOJCKit.zip Whaaat? No SVN accesss? Pfff. :-P Be careful or he will setup a Maven repository for you! Ahhhg Good point. Flor, anyway you

Re: Undo manager and AJAX

2009-03-30 Thread Daniel Beatty
Greetings Fredik, It is not entirely impossible. There are few papers on this subject under the heading Delta-Grid by Susan Urban. The general idea is that the undo manager has take in consideration all applications (processes) that write to it. On writing, a change record derived

Re: modeling problem

2009-03-30 Thread Chuck Hill
On Mar 29, 2009, at 4:48 PM, TW wrote: All: I have a model of our ldap directory with InetOrgPerson the base user entity. I've made InetOrgPerson abstract with it's table inetOrgPerson. I have the framework project containing that model in the build path of another that I'm using as a

Re: JavaClient session timeout?

2009-03-30 Thread Stamenkovic Florijan
On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to .me for the time being, though I would like to

WebServerResources served through Tomcat

2009-03-30 Thread David Avendasora
Hi all, I thought I had seen a similar discussion of this lately but I can't find it now. I'm deploying to Tomcat and since I have only a couple users and very few images/css/etc to serve, I'm just serving them right through Tomcat instead of having a separate Web Server setup to serve

Re: JavaClient session timeout?

2009-03-30 Thread David Avendasora
On Mar 30, 2009, at 4:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick

Re: JavaClient session timeout?

2009-03-30 Thread Pascal Robert
Le 09-03-30 à 16:48, David Avendasora a écrit : On Mar 30, 2009, at 4:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern

Re: modeling problem

2009-03-30 Thread TW
Thanks Chuck: On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote: On Mar 29, 2009, at 4:48 PM, TW wrote: All: I have a model of our ldap directory with InetOrgPerson the base user entity. I've made InetOrgPerson abstract with it's table inetOrgPerson. I have the framework project containing

[ANN] JBND 0.92

2009-03-30 Thread Stamenkovic Florijan
...is up. News: - derived property handling is *much* better, but it's API has been changed - individual Swing component connections can now be connected to multiple value bindings - ditched all int based flags in favor of enums ... F ___ Do not

Re: WOWODC West

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 3:45 AM, David Avendasora wrote: I know that Java Client didn't get a great response at WOWODC last year, which is disappointing, but we hardly scratched the surface. With only one session all Flor was able to do was discus some of the basics of JC and show off the

Re: modeling problem

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 1:58 PM, TW wrote: Thanks Chuck: On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote: On Mar 29, 2009, at 4:48 PM, TW wrote: All: I have a model of our ldap directory with InetOrgPerson the base user entity. I've made InetOrgPerson abstract with it's table

Re: JavaClient session timeout?

2009-03-30 Thread David Holt
On 30-Mar-09, at 1:38 PM, Stamenkovic Florijan wrote: On Mar 30, 2009, at 15:50, David Avendasora wrote: Flor, anyway you want to set it up is fine with me. :-) :-) :-) *any* way? How about 3.5 inch floppies shipped from Southern America to the US via Russia, by boat? :) Let's stick to

Re: modeling problem

2009-03-30 Thread TW
On Mar 30, 2009, at 2:16 PM, Chuck Hill wrote: On Mar 30, 2009, at 1:58 PM, TW wrote: Thanks Chuck: On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote: On Mar 29, 2009, at 4:48 PM, TW wrote: All: I have a model of our ldap directory with InetOrgPerson the base user entity. I've made

Re: modeling problem

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 3:05 PM, TW wrote: On Mar 30, 2009, at 2:16 PM, Chuck Hill wrote: On Mar 30, 2009, at 1:58 PM, TW wrote: Thanks Chuck: On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote: On Mar 29, 2009, at 4:48 PM, TW wrote: All: I have a model of our ldap directory with

header, footer, body tags in conditionals and seperate components

2009-03-30 Thread Johan Henselmans
I used to have a body and /body tags wrapped in their own header and footer components with some conditionals to add a bgcolor : yellow would be a test site and white the real site. Tthat does not work in 5.4.x anymore: 5.4.x expects a complete tag in a component: body should be ended

Re: header, footer, body tags in conditionals and seperate components

2009-03-30 Thread David LeBer
On 30-Mar-09, at 6:53 PM, Johan Henselmans wrote: I used to have a body and /body tags wrapped in their own header and footer components with some conditionals to add a bgcolor : yellow would be a test site and white the real site. Tthat does not work in 5.4.x anymore: 5.4.x expects a

Re: modeling problem

2009-03-30 Thread TW
Begin forwarded message: On Mar 30, 2009, at 3:51 PM, Chuck Hill wrote: On Mar 30, 2009, at 3:05 PM, TW wrote: On Mar 30, 2009, at 2:16 PM, Chuck Hill wrote: On Mar 30, 2009, at 1:58 PM, TW wrote: Thanks Chuck: On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote: On Mar 29, 2009, at 4:48

Re: How does concurrency control work in WO?

2009-03-30 Thread Jeff Schmitz
Hello, This is a very timely thread for me, and very interesting blog entry. In my app, I get hit several times a day with the perfect storm of having to deal with extremely high peak traffic from users(mostly, but not all, read only) at the exact time that I have to run a background

refreshing data...?

2009-03-30 Thread Theodore Petrosky
I am a relative neophyte using webobjects. I am also just starting with wonder lots of fun. I have a database driven app that I sometimes update through my cocoa app. I would like to do my fetch and be sure I get fresh queries from the database? I am doing my queries like this:

RE: refreshing data...?

2009-03-30 Thread Ren, Kevin
1. ec = (EOEditingContext)(session().defaultEditingContext()); contactList = (NSArray)EOUtilities.objectsForEntityNamed(ec,Contact); 2. EOFetchSpecification fs = new EOFetchSpecification(Contact,qual,nameOrderingArray); fs.setRefreshesRefetchedObjects(true); contactList =

Re: refreshing data...?

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 7:18 PM, Theodore Petrosky wrote: I am a relative neophyte using webobjects. I am also just starting with wonder lots of fun. I have a database driven app that I sometimes update through my cocoa app. I would like to do my fetch and be sure I get fresh queries

Getters without the get part

2009-03-30 Thread Sanford Selznick
Hello, Eclipse offers Generate Getters and Setters from its Source menu. Is there any way to have this feature add getters without the get prefix? I don't see any way to change this in the Java-Code Style-Code Templates preferences. There are other places in Eclipse that allow for no

Re: Getters without the get part

2009-03-30 Thread Chuck Hill
On Mar 30, 2009, at 9:27 PM, Sanford Selznick wrote: Hello, Eclipse offers Generate Getters and Setters from its Source menu. Is there any way to have this feature add getters without the get prefix? I don't see any way to change this in the Java-Code Style- Code Templates preferences.