Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Mike Schrag
OK Mike, I've now spent 1/2 hour looking for documentation on how you added the "key" to your .java file in your video from the wod editor. I'm a newbie to Eclipse and for the life of me I can't find a command or keyboard shortcut that does that. But my question above and your use of someth

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Daniel Brajkovic
OK Mike, I've now spent 1/2 hour looking for documentation on how you added the "key" to your .java file in your video from the wod editor. I'm a newbie to Eclipse and for the life of me I can't find a command or keyboard shortcut that does that. This question goes back to the thread about

Re: drawImage() really slow on Leopard

2008-02-26 Thread Galen Rhodes
You're welcome. -- Galen Rhodes [EMAIL PROTECTED] http://www.photoyoda.com http://www.myspace.com/woexpert On Feb 26, 2008, at 8:54 PM, Miguel Arroz wrote: Hi! OK, that's better! :) Thanks for the info. Yours Miguel Arroz On 2008/02/27, at 01:47, Galen Rhodes wrote: Yes, it's a bug i

Re: drawImage() really slow on Leopard

2008-02-26 Thread Miguel Arroz
Hi! OK, that's better! :) Thanks for the info. Yours Miguel Arroz On 2008/02/27, at 01:47, Galen Rhodes wrote: Yes, it's a bug in the Leopard implementation of the Sun Rendering Pipeline. If you were to test this in Windows you would see that it works as fast as under Quartz. -- Ga

Re: drawImage() really slow on Leopard

2008-02-26 Thread Galen Rhodes
Yes, it's a bug in the Leopard implementation of the Sun Rendering Pipeline. If you were to test this in Windows you would see that it works as fast as under Quartz. -- Galen Rhodes [EMAIL PROTECTED] http://www.photoyoda.com http://www.myspace.com/woexpert On Feb 26, 2008, at 8:44 PM, Mi

Re: drawImage() really slow on Leopard

2008-02-26 Thread Miguel Arroz
Hi! But is it normal that it takes 1000x times more? This worries me because the server where I'll deploy will run FreeBSD, so it does NOT have Quartz below to do this kind of work... I know Quartz is amazing, but it's a little hard to accept that Sun2D is this bad. There must be a bug

Perfect Web App IDE=Eclipse+Netbeans+Others?

2008-02-26 Thread tkaczuke
First forgive my ignorance as I am very new to this list as well as the technology that drives it. I am a electrical engineer with some 28 years of experience who has always strived to apply the most applicable, effective and best-fit technologies to solve problems. The thread on "bringing back t

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Ken Anderson
Mike, Thanks so much - this is awesome! Ken On Feb 26, 2008, at 3:32 PM, Mike Schrag wrote: I made a quicky screencast of going from zero (where zero is defined as "I have WOLips and WO installed") to a super lame hello-world-ish Ajax.framework app. This is mostly because I wanted to play

Re: drawImage() really slow on Leopard

2008-02-26 Thread Galen Rhodes
Yes, they switched from the Quartz rendering pipeline to the Sun rendering pipeline and the performance sucks. I've already posted a bug report to Apple about it. In the meantime switch to the Quartz rendereing pipeline with the following command line switch: -Dapple.awt.graphics

drawImage() really slow on Leopard

2008-02-26 Thread Miguel Arroz
Hi! I have the following code to downscale images: // Do the scaling BufferedImage reducedImage = new BufferedImage(newX, newY, BufferedImage.TYPE_INT_RGB); Graphics2D g = reducedImage.createGraphics(); g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTE

Re: WO 5.4 / Axis 1.4 / Deserialization

2008-02-26 Thread David den Boer
A slightly better way to use webservices (especially if you expect them to be consumed by non-WO applications) is to use primitive types. For instance, if you need to return an array of Foo, the return type for the service method would be Foo[]. We never expose our EO's via webservices, we usua

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Mike Schrag
I made a quicky screencast of going from zero (where zero is defined as "I have WOLips and WO installed") to a super lame hello-world-ish Ajax.framework app. This is mostly because I wanted to play with ScreenFlow (which is one of the coolest apps ever made, btw). Caveats: This is complet

Re: WO 5.4 / Axis 1.4 / Deserialization

2008-02-26 Thread Michael DeMan
Okay, This workaround seems to work. On the server side I put my array elements in as keys for a WOStringKeyMap and modified the client to get the result array back out via allKeys(). This is a huge problem however as every service, including EOs that contain arrays, would need methods c

Dragging clickable things

2008-02-26 Thread John Larson
For all the community has done for me and my coding, I thought I should share this. I use Ajax draggables all over the place. A lot of times I wanted to be able to click on a draggable and have it do an action (like a hyperlink), but when I'd drop the thing it would fire the hyperlink. S

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread John Larson
Ken, Additional to Mike's comments, check out AjaxObserveField. There is an example of dependent popups in their. I use Ajax EVERYWHERE and it is great. I made a little component for each of the different field types like this: ScriptUpdateContainer: AjaxUpdateContainer {

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Mike Schrag
Using Ajax framework should be relatively painless ... 1) Add Ajax, ERExtensions, and ERJars framework to your app 2) make your app extend ERXAjaxApplication 3) make your session extend ERXAjaxSession 4) if you want partial form submission, in your Application setContextClassName(ERXAjaxContext

Re: A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Patrick Middleton
On 26 Feb 2008, at 15:18, Ken Anderson wrote: Everyone, I have a 5.3 app using stable WOLips that has hundreds of components and does not currently use Wonder. I have a few sub- components that have multiple dependent pop-ups, and I do a submit (); onChange on those pop-ups to refresh the

A little bit of Ajax in a 5.3 app?

2008-02-26 Thread Ken Anderson
Everyone, I have a 5.3 app using stable WOLips that has hundreds of components and does not currently use Wonder. I have a few sub-components that have multiple dependent pop-ups, and I do a submit(); onChange on those pop-ups to refresh the page. Unfortunately, the pages have gotten pre

Re: Can't obtain rules because of protected access!

2008-02-26 Thread Sergio Sánchez Maffet
Does anybody have a clue on that? I have now the same problem. On 20.12.2007, at 09:48, Jan Philip Porschke wrote: Hi there, using the Webservice Asistant along with WOLips throws the following error: : Exception in performActionNamed() on the action "loadD2WModel" with the message: j

Re: JavaEOGenerator, Eclipse, WOLips, WO 5.4, Mac OS X 10.5.2

2008-02-26 Thread Cheong Hee
Sorry, missing "/" in url. The right one is : www.anzteam.com/wotemplate/ Any way, added into wiki: http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=2655245 Message: 1 Date: Tue, 26 Feb 2008 11:27:50 +0800 From: "Cheong Hee (Datasonic)" <[EMAIL PROTECTED]> Subject: Re:

Re: Strange Deployment Error

2008-02-26 Thread Chris Hoyt
Awesome! Nice and simple. On Tue, Feb 26, 2008 at 3:22 AM, Simon McLean <[EMAIL PROTECTED]> wrote: > if your default response handler is direct action check your default > action - if you are returning pageWithName("Main") you might try changing it > to pageWithName(full.package.name.of.your.Mai

Re: Strange Deployment Error

2008-02-26 Thread Andrew Lindesay
Hello Simon; No, cheating would be pulling the log4j jars. :) cheers. I just renamed mine to "FooMain" to avoid this (where Foo is replaced with my class prefix!). But that's just cheating :-) ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silvereye.co.nz ___

Re: Strange Deployment Error

2008-02-26 Thread Simon McLean
On 26 Feb 2008, at 08:17, Andrew Lindesay wrote: Hello Chris; I just renamed mine to "FooMain" to avoid this (where Foo is replaced with my class prefix!). But that's just cheating :-) Simon ___ Do not post admin requests to the list. They will

Re: Strange Deployment Error

2008-02-26 Thread Simon McLean
if your default response handler is direct action check your default action - if you are returning pageWithName("Main") you might try changing it to pageWithName(full.package.name.of.your.Main.component). Simon On 26 Feb 2008, at 08:14, Chris Hoyt wrote: On deployment of a otherwise workin

Re: Strange Deployment Error

2008-02-26 Thread Andrew Lindesay
Hello Chris; I just renamed mine to "FooMain" to avoid this (where Foo is replaced with my class prefix!). cheers. java.lang.IllegalArgumentException: com.webobjects.appserver._private.WOComponentDefinition > Class 'Main' exists but is not a subclass of WOComponent. ___ Andrew Lindesay

Strange Deployment Error

2008-02-26 Thread Chris Hoyt
On deployment of a otherwise working project I get this error: java.lang.IllegalArgumentException: com.webobjects.appserver._private.WOComponentDefinition > Class 'Main' exists but is not a subclass of WOComponent. I investigated the error by logging the location of Main and found this: "Main cl