How to set up a stateful REST service

2016-01-28 Thread Rudi Angela
How can I use ER-REST in combination with a Session? I have a stateful REST service, so I need a Session. Also I would like to use the session’s defaultEditing Context. A brief look at ER-REST gave me the impression that requests don’t use a Session and use a new EditingContext with every reques

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
Application I also registered this handler under the ‘wr’ key. This handler is able to properly serve the resource. Don’t know which handler is otherwise used under the ‘wr’ key, but that one clealy does not seem to work with all static resources. > On 15 jan. 2016, at 13:32, Rudi Angela wr

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
en direct connect and rapid turnaround are enabled. I'd make > sure the ERModernDefaultSkin project is open and configured correctly. > >> Am 15.01.2016 um 13:09 schrieb Rudi Angela : >> >> Further experimentation on my development laptop gave the following results

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
the key was ‘_wr_’. Does this help to narrow the problem? > On 15 jan. 2016, at 12:05, Rudi Angela wrote: > > This is not a split deploy (and not meant to be). > I forgot to mention that on my MacBook the same code runs without problems. > Both platforms use Java 8. > Any poin

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
> On 15 jan. 2016, at 11:46, Fabian Peters wrote: >>> >>> Hi Rudi, >>> >>> So you don't get a 404 response for the image URL? Have you looked at the >>> file on the webserver's file system? >>> >>> Fabian >>> &

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
image URL? Have you looked at the > file on the webserver's file system? > > Fabian > >> Am 15.01.2016 um 11:11 schrieb Rudi Angela : >> >> Hi there, >> I’m running a D2W (Modern Look) application standalone (no Apache), built >> with t

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
one > >> On 15 Jan 2016, at 11:11, Rudi Angela wrote: >> >> Hi there, >> I’m running a D2W (Modern Look) application standalone (no Apache), built >> with the latest stable Wonder7 frameworks. The Modern Look buttons have a >> background image they get fr

Static resource referenced from CSS not served properly

2016-01-15 Thread Rudi Angela
button image it refers to is served as an empty response (content length: 0 bytes). Any ideas anyone? Rudi Angela ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help

Re: What's new?

2016-01-13 Thread Rudi Angela
Wouldn’t it be exciting if we could run the Java Client as JavaScript in the browser? Seems there is a library that runs Java Swing apps as JavaScript, called AjaxSwing. http://www.creamtec.com/products/ajaxswing/ > On 13 jan. 2016, at 20:27, James

Running WO application standalone

2013-05-09 Thread Rudi Angela
Hi, I want to run a WO application without using a web server. The problem I currently encounter is serving the images (buttons etc.). Is there a way to do this without showing the real file paths of resources in the URL? Thanks, Rudi ___ Do not post a

Re: Ember ERRest integration

2013-04-28 Thread Rudi Angela
Hi. I'm very interested in this adapter. Couple of months ago I started developing my version of it, but decided to put it off, as the Ember Data API was still in flux. Now I understand it's been frozen, so I'd like to help. If you could set up a github repo then I can help you. On Sat, Apr 27, 2

Re: Generating HTML without WORequest

2007-12-15 Thread Rudi Angela
I tackled the same problem using a dummy context: public WOContext dummyContext() { WOApplication app = Application.application(); String dummyUrl = app.cgiAdaptorURL() + "/" + app.name() + ".woa/wa/dummy"; WORequest request = app.createRequest("GET", dummyUrl, "

Re: Anyone playing with Scala?

2007-06-13 Thread Rudi Angela
eting records. For the typical database applications there isn't much added value to using Scala IMHO. Rudi Angela On 13-jun-2007, at 0:41, Q wrote: I have been tinkering with Scala (http://www.scala-lang.org) lately, and the more I use it the better it gets. In fact at this rate I might have

Re: [OT] file encoding

2007-05-17 Thread Rudi Angela
The following seems to work for me: FileOutputStream fos = new FileOutputStream(file); BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos, charsetName)); out.write(myString); Rudi On 15-mei-2007, at 14:23, Ute Hoffmann wrote: Hallo, I need to save a s

Re: HTML to PDF?

2007-01-07 Thread Rudi Angela
ent. This demo app does exactly what you're asking for: http://www.macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa- web-server.html?page=1 Rudi Angela ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mai