WebServerResources patternset

2010-04-14 Thread John Huss
I have another directory that I want to be included as web server resources so my wsresources.include.patternset looks like this: WebServerResources/**/* war/**/* When I build with ant the result looks like: App.woa/Contents/WebServerResources/app.css App.woa/Contents/WebServerResources/war/...

Re: Derived Attributes

2010-03-01 Thread John Huss
My model also has: columnName = ""; for my derived attributes - maybe that matters? John On Fri, Feb 26, 2010 at 1:51 PM, Kieran Kelleher wrote: > Hi all, > > I tried adding a simple derived attribute to a model, as shown here: > > > http://idisk.me.com/kelleherk/Public/Pictures/Skitch/de

Re: JSON/ dygraph / Ajax help

2010-02-20 Thread John Huss
I looked at the dygraph library - apparently it just needs a URL. So you don't need a helper JS library to fetch the data. Just add the WOString with the URL and you should be good to go. John On Fri, Feb 19, 2010 at 2:55 PM, John Huss wrote: > You should use something. Javascript w

Re: Eclipse - line number scrolling

2010-01-12 Thread John Huss
On Tue, Jan 12, 2010 at 9:44 AM, Calven Eggert wrote: > Couldn't find this on the list archives so I apologize if this has been > addressed... > > This problem with line numbers not scrolling in eclipse is a pain, > especially when trying to debug. > > Has anyone a resolution to this yet? a new

Re: Offline client CRUD app

2010-01-04 Thread John Huss
Unless you're building something that is IDE-like or you like the ability to organize views and perspectives like Eclipse you can just use standalone SWT/JFace for the UI and it will be much more simple. I have an app that does this. John ___ Do not po

Re: SQLite?

2009-12-21 Thread John Huss
Instead of a true DB, you could just serialize an NSDictionary and/or NSArray, which can be arbitrarily large and complex. And these data structures can be parsed and created by both the iPhone and WO. John On Mon, Dec 21, 2009 at 12:35 PM, James Cicenia wrote: > Well that was quite the mashup

Re: WSDD location

2009-12-02 Thread John Huss
Mine is in the Resources folder. 2009/12/2 Jarda Hanuš > Dear list, > > I'm developping a web service front end to a WO application and can not > find the location of server.wsdd file. > Does anybody have experiences with fine tuning the WO web services engine? > > Thanks a lot, > > Jarda __

Re: EOF in a Jar!

2009-11-24 Thread John Huss
Yeah, you don't need a bundle. You just have to load the model yourself with a path or url. John On Tue, Nov 24, 2009 at 8:08 PM, Andrew Lindesay wrote: > Hello; > > If I build a little stand-alone application in a jar file and want to use > EOF away from WebObjects, is the concept of a "bundl

Re: ERXInQualifier bug - repeating last element extra 5 times

2009-11-17 Thread John Huss
If your DB supports "bind variables" or parameterized queries you get SQL sort of like: WHERE key IN (?, ?, ?, ?, ?, ?, ?, ?, ?) and the values are supplied afterwards. The DB server may be able to prepare for this query and run it faster the next time even if the actual values change because th

Class loading problem - taking forever

2009-11-10 Thread John Huss
I have an app that is taking an extremely long time to startup and start responding to requests (5-10 minutes). It appears to be spending a huge amount of time in NSBundle.searchAllBundlesForClassWithName, which has the ominous logging message: "NSBundle.searchAllBundlesForClassWithName was invok

Re: Uses for D2JC (was: Gianduia and WO)

2009-11-07 Thread John Huss
You could argue that it doesn't matter much if a JavaClient looks awful on the Mac since 90% of your user will be running Windows - and probably more for a business application. Also, the Nimbuslook and fee

Re: Gianduia and WO

2009-11-05 Thread John Huss
Hey, Google just open-sourced a big new JS library - Closure. interesting. For demos go hereand click the Demos tab on the right. These are crazy ti

Re: Gianduia and WO

2009-11-04 Thread John Huss
Just a quick note on GWT - version 2.0 will be out shortly and includes UiBinder , which brings declarative interfaces to GWT so you can write your UI in XML/HTML like you are used to instead of using programmatic swing-like code.

Re: WebObjects on Snow Leopard - Status?

2009-10-29 Thread John Huss
It's safe - just takes a few extra steps. You have to replace mod_WebObjects with the 64-bit version from Wonder and to run eclipse carbon you have to change your Java Preferences to use 32-bit java (or accomplish this another way). John On Thu, Oct 29, 2009 at 3:28 AM, Juergen Lorenz Simon wrot

Re: Can't run wo apps through JavaMonitor on dev machine

2009-10-26 Thread John Huss
Hmm. I replaced JavaMonitor and wotaskd with the Wonder versions and now it is working. John On Mon, Oct 26, 2009 at 3:21 PM, John Huss wrote: > I created a new WOnderApplication and installed it and ran it in > JavaMonitor. I get this in my SpawnOfWotaskd.log: > > Oct 26 15:07:1

Can't run wo apps through JavaMonitor on dev machine

2009-10-26 Thread John Huss
I created a new WOnderApplication and installed it and ran it in JavaMonitor. I get this in my SpawnOfWotaskd.log: Oct 26 15:07:19 TryApp[N/A] WARN NSLog - *Unable to establish a connection to port 2006 on this host. Perhaps this port is already in use by another WebObjects application instanc

Re: WebServerResources url for changed application nane

2009-10-26 Thread John Huss
t 26, 2009 at 1:50 PM, George Domurot wrote: > When we deploy our app under different names, the resources always get > linked up. Is something not working when you deploy? > > -G > > On Oct 26, 2009, at 11:31 AM, John Huss wrote: > > So is there no switch to flip

Re: WebServerResources url for changed application nane

2009-10-26 Thread John Huss
So is there no switch to flip to do this? Do I need to just use url rewriting? John On Mon, Oct 26, 2009 at 11:51 AM, George Domurot < geo...@boxofficetickets.com> wrote: > Oh, right, this is for embedded framework resources - d'oh. > > On Oct 26, 2009, at 9:39 AM, John

Re: WebServerResources url for changed application nane

2009-10-26 Thread John Huss
eURL("/WebObjects/" + resourceURL.substring(beginIndex+14, > endIndex) + ".woa/Frameworks"); > } > > } > > -George > > On Oct 26, 2009, at 8:06 AM, John Huss wrote: > > How do I change the WebServerResources urls to use a custom application > na

WebServerResources url for changed application nane

2009-10-26 Thread John Huss
How do I change the WebServerResources urls to use a custom application name instead of the project name? So if the project is named "MyProj" but application is named "MyProductionApp" in JavaMonitor - how do I get WSR urls that look like: /WebObjects/MyProductionApp.woa/Contents/WebServerResourc

Re: WOLips and html formatting

2009-10-01 Thread John Huss
Or hidden in the menus: Edit -> Refactor -> Format John On Thu, Oct 1, 2009 at 1:09 PM, David Avendasora wrote: > Cmd-Shift-F ? > > Dave > > > On Oct 1, 2009, at 2:04 PM, Lon Varscsak wrote: > > Is there a way to have WOLips format the html for me (on command). I get >> html from the designer

Re: how different are these urls working?

2009-09-30 Thread John Huss
We'll need more info than that. On Wed, Sep 30, 2009 at 1:08 PM, Shravan Kumar. M wrote: > Hi Group, > > This does NOT work, i.e., this does NOT invoke WOComponent action method, > but just invokes appendToResponse(resp, ctx), invokeAction(req, ctx). This > link is generated in a WORepitition: >

Re: Combining EXTJS with WebObjects.

2009-09-04 Thread John Huss
Be aware that Ext is licensed under the GPL and you need to purchase a license to use it for commercial development. John On Fri, Sep 4, 2009 at 8:49 AM, John Bruce wrote: > Yeah the Ext widgets are very nice for users but can be difficult to > develop with sometimes. > > JSON is definitely not

Re: Simple Question about bindings

2009-08-26 Thread John Huss
Also, using "double" for the price is a very bad idea. Use BigDecimal. John On Wed, Aug 26, 2009 at 2:13 PM, John Huss wrote: > Yeah, what you want is: > > value = order.ca...@sum.totalprice; > > John > > On Wed, Aug 26, 2009 at 1:48 PM, Michael Shkutkov wrote:

Re: Simple Question about bindings

2009-08-26 Thread John Huss
Yeah, what you want is: value = order.ca...@sum.totalprice; John On Wed, Aug 26, 2009 at 1:48 PM, Michael Shkutkov wrote: > I guess, the cause of this problem is the fact that NSArray implements > NSKeyValueCoding interface and has valueForKey method. > > Obviously extending NSMutableArray is r

Re: Detecting Javascript enabled (browser side)

2009-08-10 Thread John Huss
To detect if javascript is enabled, I do it when the user logs in. So in the login page I have: This is inside a WOForm. The form submits to a direct action that logs the user in and has this code: session().isJSEnabled = "true".equals( request().stringFormVal

MapQuest integration

2009-07-06 Thread John Huss
Has anyone integrated the MapQuest API into a WO app? The Javascript API requires some server support to do geocoding; it comes with J2EE code for this and I'm wondering if anyone has ported it to work directly with WO? Thanks, John ___ Do not post adm

Re: What is the difference between these webobjects URLs?

2009-06-30 Thread John Huss
The number at the end are the contextID and elementID, which uniquely identify it in the application. Each "dot" represents a level of component nesting. Scroll down the "Component Action URL" section of this page

Re: WOLips - Eclipse compatibility?

2009-06-24 Thread John Huss
A releted question: Galileo (3.5) is final now - does WOLips support it yet? Thanks, John On Wed, Jun 24, 2009 at 7:55 AM, Ramsey Lee Gurley wrote: > Hi all, > > I'm wondering what versions of Eclipse are currently compatible with > WOLips. I ask because I just started looking at the Android S

Fwd: Turning off EO debugging

2009-06-19 Thread John Huss
Turn off debug logging for your eos. In Properties: log4j.logger.your.app.model=INFO with the name of your eo package of course On Fri, Jun 19, 2009 at 9:06 AM, Miguel Arroz wrote: > Hi! > > Sorry, this is driving me crazy. When I create a new Wonder App, by > default, it logs all the change

Re: wolips bug or my stupidity: deployment doesn't add my resource jars

2009-06-18 Thread John Huss
Jars need to be in the Libraries folder of your project. John On Thu, Jun 18, 2009 at 11:50 AM, Joe Little wrote: > I was using the built-in ant install task in wolips to make my > project-Application.tar.gz file. In my project, I added the mysql > driver jar into Resources, and in the build pa

Re: Snow Leopard / iPhone SDK 3.0 / WebObjects Install / Labs

2009-06-09 Thread John Huss
There's no good reason to install WO from the iPhone SDK that I can think so. It's not a new version as far as I know and even if it was it probably wouldn't be a good idea to upgrade to it immediately. John On Tue, Jun 9, 2009 at 2:31 PM, George Domurot wrote: > Maybe so... and the Lab session

Re: Rich Clients and WO

2009-06-09 Thread John Huss
id Avendasora wrote: > > On Jun 9, 2009, at 12:18 PM, John Huss wrote: > > >> Also, you would have to rewrite EOEditingContext and related classes in >>> Javascript, which is a fairly large task. >>> >> >> But I thought that was part of what Giandui

Re: Rich Clients and WO

2009-06-09 Thread John Huss
> Also, you would have to rewrite EOEditingContext and related classes in > Javascript, which is a fairly large task. > > > But I thought that was part of what Gianduia did and what made it so much > cooler than last years rich-client-of-the-moment Sprout Core. > Yes, but CoreData != EOF. They ar

Re: Rich Clients and WO

2009-06-09 Thread John Huss
I believe JavaClient uses the standard Java serialization, which is a binary format. Generating the format in Javascript is probably not feasible; if it was I'm sure the GWT folks would have used it, but they didn't. Also, JavaClient's serialization is HEAVY since the whole EC is transferred (I t

Re: Form Values updated before Action Called

2009-05-18 Thread John Huss
takeValuesFromRequest happens before the action and pushes the form values into the WOComponent instance variables; I would look there and check context().request().formValues() John On Mon, May 18, 2009 at 1:22 PM, David Avendasora wrote: > Hi all, > > I'm sure this is an aspect of the Request

Re: Wonder Validity or Custom Validation

2009-05-14 Thread John Huss
I've used Validity before, but I'm not using it anymore. My impression is that very few people are using it (no one maybe?). Last time I checked the ValidityModeler app wouldn't start due do some build issues. I like the idea of the Validity and it simplifies things, but at this point it's proba

Re: WOTextField readonly feature

2009-05-06 Thread John Huss
You can just use the binding MyText : WOTextField { value = someString; readonly="readonly"; } John On Wed, May 6, 2009 at 3:50 AM, Rukmal Dias wrote: > hi, > > There are two options in text field namely readonly="true", > disabled="disabled". > The disabled is option is available in WO,

Re: [Wonder-disc] Wonder Frameworks & Java Client with WebStart

2009-04-29 Thread John Huss
+1 However, packaging up a small collection of the classes that are actually useful would be even better. The ones that spring to my mind are: ERXGenericRecord ERXKey ERXArrayUtilities ... other utilities On Wed, Apr 29, 2009 at 8:42 AM, David Avendasora wrote: > Hi all, > > I'm trying to wo

Re: Session IDs in Cookies

2009-04-27 Thread John Huss
So which do you guys typically use? John On Mon, Apr 27, 2009 at 1:43 PM, Chuck Hill wrote: > > On Apr 27, 2009, at 11:39 AM, Mike Schrag wrote: > > Pros of Cookies >> 1) stateful DA urls are bookmarkable without junk in them >> 2) people love to send eachother URLs and nothing sucks worse than

JavaClient: does the eomodel file need to be included with the client app?

2009-04-17 Thread John Huss
In JavaClient does the eomodel file need to be included with the client app? Or just on the server as usual? John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/U

Re: JavaClient offline storage / replication

2009-04-16 Thread John Huss
While googling this, I found a couple interesting projects that may be useful, just in case anyone is interested. I just looked at them briefly. http://symmetricds.codehaus.org/index.html http://opensource.replicator.daffodilsw.com/index.html John On Thu, Apr 16, 2009 at 6:50 AM, Anjo Krank w

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
Ok, fair enough. So would you recommend using a different persistence framework on the client, or just avoid doing offline storage at all? John On Wed, Apr 15, 2009 at 2:55 PM, Mike Schrag wrote: > On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill >>> wrote: >>> Hmmm, a separate EOModelGroup, and

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
On Wed, Apr 15, 2009 at 12:27 PM, Chuck Hill wrote: > Hmmm, a separate EOModelGroup, and EOF stack might be a good start. But I > think you are going to need to create the objects in the local database and > then copy the data over. > How would I get started with that? Can I use the same model?

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
Well, let's say it was read-only. What would the process look like? 1) Fetch an EO from the server 2) Get an editing context that is connected to the client database 3) Local instance the EO into the client EC 4) Save the client EC But would this work? I haven't done any work with multiple DBs

Re: JavaClient offline storage / replication

2009-04-15 Thread John Huss
On Wed, Apr 15, 2009 at 11:25 AM, David Avendasora < webobje...@avendasora.com> wrote: > > On Apr 15, 2009, at 11:51 AM, Stamenkovic Florijan wrote: > > On Apr 15, 2009, at 11:24, John Huss wrote: >> >> We're considering using JavaClient for some new projects

JavaClient offline storage / replication

2009-04-15 Thread John Huss
We're considering using JavaClient for some new projects and one of the big features we want is the ability to run offline by caching database from the server's DB and storing any modifications locally until the server is online again. How would you approach this? Is it possible to use the same E

Re: csv report download -> Safari adding .html to filename?

2009-04-06 Thread John Huss
I do the same thing without any problems. Are you sure reportFilenameactually ends with ".csv"? John On Mon, Apr 6, 2009 at 3:11 PM, Leif Harrison wrote: > Hey guys, > Has anyone run into issues with Safari tacking on ".html" to filenames when > attempting to do attachment downloads? (CSV data,

Re: Getters without the "get" part

2009-03-31 Thread John Huss
I don't really care strongly either way about "get" or "no-get", but the downside is it makes it harder to integrate with libraries that expect the "beans" convention, like commons-collections for example. John ___ Do not post admin requests to the list

Re: Getters without the "get" part

2009-03-31 Thread John Huss
I read Anjo's post as sarcasm, but I could be wrong. The last round of api changes weren't especially pleasing. John On Tue, Mar 31, 2009 at 1:47 PM, Pascal Robert wrote: > > Le 09-03-31 à 14:38, Mike Schrag a écrit : > > I mostly agree (without really understanding idempotent, homonym, mutat

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 ignore

Re: WOLips Windows / WebServerReources

2009-03-27 Thread John Huss
Last time I checked the adaptors wouldn't compile for Windows (either the standard WO ones or the Wonder ones). I did manage to compile the cgi adaptor I think using cygwin but it wouldn't run. John On Fri, Mar 27, 2009 at 10:38 AM, Chuck Hill wrote: > Hi Miguel, > > On Mar 27, 2009, at 8:18 AM

Re: SQLITE: anybody using it? Any experiences?

2009-03-25 Thread John Huss
I think Derby has essentially the same features, and a plugin for it is shipped with Project Wonder. John On Wed, Mar 25, 2009 at 4:25 PM, Mr. G Brown wrote: > Hi, > > SQLite is a software library that implements a > *self-contained*, > *serverless*

Re: JavaClient Common classes

2009-03-25 Thread John Huss
On Wed, Mar 25, 2009 at 12:36 PM, David Avendasora < webobje...@avendasora.com> wrote: > I've tried several times to use common classes with one class that both > server and client inherit from, but I've never been able to get it to work > correctly. Mike was kind enough to add some features to En

Re: JavaClient Common classes

2009-03-25 Thread John Huss
On Wed, Mar 25, 2009 at 12:36 PM, David Avendasora < webobje...@avendasora.com> wrote: > I've tried several times to use common classes with one class that both > server and client inherit from, but I've never been able to get it to work > correctly. Mike was kind enough to add some features to En

JavaClient Common classes

2009-03-25 Thread John Huss
This is mainly aimed at David, but anyone is welcome to share. How are you using the common class functionality in WOLips? From what I gather there is a common class for the each Entity and then two subclasses (parallel), one for the Server and one for the Client. Do you have three sets of templ

Re: Jad?

2009-03-12 Thread John Huss
That's easy with Wonder - NSArray goats = Animal.SPECIES.eq("goat").filtered(animals) :-) On Thu, Mar 12, 2009 at 4:28 PM, Chuck Hill wrote: > > On Mar 12, 2009, at 2:23 PM, Don Lindsay wrote: > > I take it no boolean searches for goatz? >> > > Only if the goat and sheep flocks get combined. >

Re: Using Ant to Minify Javascript and CSS

2009-03-09 Thread John Huss
> > On 9-Mar-09, at 3:51 PM, John Huss wrote: > > Ask and you shall receive, seek and you shall find, knock and it will be > opened to you. > > I use YUICompressor <http://developer.yahoo.com/yui/compressor/>. This > will minify the js and css files in the ${dest.dir}

Re: Using Ant to Minify Javascript and CSS

2009-03-09 Thread John Huss
Ask and you shall receive, seek and you shall find, knock and it will be opened to you. I use YUICompressor . This will minify the js and css files in the ${dest.dir} location after the ant build (not the original files obviously). The mapper here does

Re: escaping in HTML

2009-03-06 Thread John Huss
How about using string.replace("\n", "") John On Fri, Mar 6, 2009 at 10:09 AM, Theodore Petrosky wrote: > > I know I saw an example somewhere... I just can't seem to find it again. > > I have text from my database that has returns (line feeds). If I just bind > the text to a WOText area, the CRs

Re: Current EOGenerator Templates

2009-03-02 Thread John Huss
The current templates can be found here: http://svn.objectstyle.org/repos/woproject/trunk/woproject/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/ templates/ John On Mon, Mar 2, 2009 at 2:35 PM, George Domurot wrote: > I noticed several inks are broken for both the Velocity EOGene

Re: Hibernate

2009-02-25 Thread John Huss
Wonder, for instance, could easily add nice default validators without > requiring any changes to EOF (and actually HAS a bunch of this with Validity > framework, but I'm not sure if anyone actually uses it or what the state of > it is) I was using Validity in a project started a couple years ago

Re: Eclipse 3.4.1 and WOLIPS 3.4.5XXX

2009-02-19 Thread John Huss
What are the errors? On Thu, Feb 19, 2009 at 3:24 PM, Kervella Thierry-Alain wrote: > Hi, > > i'm trying to learn WOLIPS. i've installed Eclipse on OSX (ver 3.4.1) plus > WOLIPS (vers 3.4.5XXX) and test the classical HelloWord program. > > Helas, when I compile the program, I've build path errors

Re: EOGenericRecord -> ERXGenericRecord

2009-02-18 Thread John Huss
You add a "Define" to your .eogen file. The "Define" is named "EOGenericRecord" and you set the value to "er.extensions.eof.ERXGenericRecord". Or you could change your template. John On Wed, Feb 18, 2009 at 10:06 AM, Amedeo Mantica wrote: > Hello, > > There is a way to tell Velocity Generator

Re: Parsing XML

2009-02-11 Thread John Huss
I just used castoron a project to parse an XML document and it worked very easily. John On Tue, Feb 10, 2009 at 5:28 PM, Josh Paul wrote: > What libraries/methods do you use for parsing incoming XML (i.e. via a REST >

Re: plain jar utility app, with wonder?

2009-02-05 Thread John Huss
You can also use ERXExtensions.initApp or ERXExtensions.initEOF John On Thu, Feb 5, 2009 at 12:30 AM, Anjo Krank wrote: > The easiest thing is to use ERXMainRunner. > > Cheers, Anjo > > Am 04.02.2009 um 23:05 schrieb William Hatch: > > I'd like to create a really simple app that has no UI requ

Re: Changing eogenerator templates

2009-01-20 Thread John Huss
The current templates can be found here: http://svn.objectstyle.org/repos/woproject/trunk/woproject/wolips/core/plugins/org.objectstyle.wolips.eogenerator.core/templates/ Alternatively, you could upgrade WOLips and you will get updated templates. John On Tue, Jan 20, 2009 at 5:38 AM, Kamal D Sh

Re: WebObjects Installer CD for Windows

2009-01-16 Thread John Huss
I believe the installer also installs Eclipse and WOLips, along with WO. John ___ 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 Subscription:

Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread John Huss
Doesn't matter which project, because both leverage the EXT library. LGPL means that you can't use it for commerical development, unless you want to give away your source code. There has been a lot of arguing over the license, but the opinion of the EXT developers is that you need to pay them if

Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread John Huss
I haven't used GWT-Ext myself. It's not a native GWT library, meaning it's not written in Java; it's just a thin Java wrapper around Javascript and CSS, etc. That makes it a little less attractive. Plus the Ext license is not free for commercal development I think. You should check out SmartGWT

Re: [OT] New WO Years Resolutions.

2008-12-21 Thread John Huss
There are lots of great conference videos about GWT. There are links to them on the wogwt page. Highly recommended. On Dec 21, 2008, at 8:30 AM, Oliver Scheel wrote: * Some stuff I can't talk about yet :) That sounds interesting ;-) For me it's: - GWT (btw: any recommendations for bo

Re: Huge file long response prep and download

2008-12-20 Thread John Huss
Be careful, i think this pops up a warning in IE. On Dec 20, 2008, at 10:19 AM, Kieran Kelleher wrote: Susanne, that is brilliant! What a simple solution that is very elegant from the user's point of view . the thought never crossed my mind to use the Refresh header to trigger a si

Re: [ANN] WOGWT framework for integrating GWT with WebObjects

2008-12-17 Thread John Huss
No, it's just a regular deployment. No servlets. It uses an embedded tomcat during development to run "hosted mode" though. On Wed, Dec 17, 2008 at 2:37 PM, Anjo Krank wrote: > This is neat! Is the tomcat deployment mandatory? > > Cheers, Anjo > ___

Re: [ANN] WOGWT framework for integrating GWT with WebObjects

2008-12-17 Thread John Huss
ds this error: > > javax.naming.NameNotFoundException: Name jdbc is not bound in this Context > at org.apache.naming.NamingContext.list(NamingContext.java:343) > > On Dec 17, 2008, at 12:10 PM, John Huss wrote: > > Thanks to Pascal Robert, the demo application is now available online. >> There are links in it

Re: [ANN] WOGWT framework for integrating GWT with WebObjects

2008-12-17 Thread John Huss
Thanks to Pascal Robert, the demo applicationis now available online. There are links in it to easily view the source for each page so you can see some examples of what GWT code looks like. Check it out! John

[ANN] WOGWT framework for integrating GWT with WebObjects

2008-12-17 Thread John Huss
I've started a WOGWT project to integrate GWT (Google Web Toolkit) with WebObjects. It's still very young, but if you are interested in getting AJAXy behavior and hate Javascript, then this is for you. GWT is basically a Java-

Re: PDF generator/converter

2008-12-09 Thread John Huss
We use pd4ml to convert html to pdf and it works well. John On Tue, Dec 9, 2008 at 9:31 AM, Sherry Tirko <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm wondering if anyone knows if there is a pdf generator out there for WO > sites or even a converter for WO Components. I'd li

Re: Display Group: sort in memory

2008-11-18 Thread John Huss
I wasn't sure a derived attribute would work because I didn't think expressions were allowed in the order by clause, but sure enough, it works with Postgres. Thanks, John On Tue, Nov 18, 2008 at 9:24 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Your only real option is to compute your value in t

Display Group: sort in memory

2008-11-18 Thread John Huss
I have a (batched) display group of EOs and I need to sort it using a key that only available in memory, not in the model. What is the best way to do that? Using setSortOrderings seems to require that all the keys are defined in the model. Thanks, John __

Re: Spell Check with WebObjects

2008-11-11 Thread John Huss
Jazzy is a dead project, but it does work. It takes just a simple word list (a file with one word per line) as it's dictionary. You have to handle contractions and possessive words manually. John On Tue, Nov 11, 2008 at 5:28 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Given the limitation of

Re: Caching CSS and .js files

2008-11-06 Thread John Huss
The expires header can be set with mod_expires in apache to control the caching of css and js files. setPageRefreshOnBacktrackEnabled(true) mainly sets the Expires header to expire the html page immediately. John On Thu, Nov 6, 2008 at 2:41 PM, Gino Pacitti <[EMAIL PROTECTED]> wrote: > Hi All >

Re: WebService and HTTPS

2008-10-29 Thread John Huss
That worked for me! And saved lots of time. Thanks Hugi On Mon, Aug 11, 2008 at 9:31 AM, Hugi Thordarson <[EMAIL PROTECTED]> wrote: > Did my suggestions not work? > > - h faultString: The AXIS engine could not find a target service to invoke! targetService is null Locate the "transport" tag

Re: Development with a Servlet container

2008-10-21 Thread John Huss
or whatever container with remote debugging enabled and then configure > Eclipse to connect. I can't remember the sytax off hand, but googling > eclipse jetty remote debug should turn it up :-) > > Regards, > > Jake > > > On 22/10/2008, at 4:58 AM, Henrique Prange <[EM

Development with a Servlet container

2008-10-21 Thread John Huss
I know you can deploy a WO app into a Servlet container, but can you develop with it too? I mean, can I run and debug my WO app through a local instance of Tomcat (or something else)? John ___ Do not post admin requests to the list. They will be ignore

Re: upload via drag and drop

2008-10-09 Thread John Huss
Google gears may have that capability. On Oct 8, 2008, at 2:22 PM, Gino Pacitti <[EMAIL PROTECTED]> wrote: Hi All I have a client request for a drag and drop style upload of QT Movies via desktop to Browser window as part of a web page Can this be done without any sort of Swing etc..

Re: Rapid Turnaround mode not working

2008-10-06 Thread John Huss
Yes, turning on PB.project building in the WOLips preference pane fixed this. Maybe this file should be put back into the New Project Wizard until it's really not needed anymore. Alternatively, maybe Wonder could add this to ERXApplication? public boolean _rapidTurnaroundActiveForAnyProject(

Rapid Turnaround mode not working

2008-10-05 Thread John Huss
I created a new Wonder Application and for some reason rapid turn-around isn't working. It works for all my other projects but not this one. I run them all in web mode, not direct connect. The startup log shows this line: "WOAllowRapidTurnaround = true" But in Application _rapidTurnarou

Binary AND Qualifier

2008-09-26 Thread John Huss
How can I test an Integer attribute to see if it has a bit set, like (myAttribute & 1 != 0)? I'd like to do this with a qualifier, only in memory right now, although having DB support would be cool (since FrontBase does allow this). I tried messing around with an EOKeyValueQualifier with a custom

Re: Slightly OT: Command line Java tool with EOF?

2008-09-10 Thread John Huss
There are a couple of ways to do this that Wonder offers - ERXMainRunner and something else I don't remember. But anyway, are you starting from the same working directory in both cases? That can affect the process. John On Wed, Sep 10, 2008 at 6:55 AM, Will Scheidegger <[EMAIL PROTECTED]>wrote:

Display and editing percentages (decimals)

2008-08-20 Thread John Huss
What is the best way to multiple a number by 100 for display and divide by 100 after editing? Probably a formatter? Anyone have code to do this already? John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: Generics Frustrations

2008-08-14 Thread John Huss
Personally, I think generics are a waste of time except as a means of documenting method parameters and return values in library code. And in cases where want Object anyway, just skip the generics. But that's just me. John On Thu, Aug 14, 2008 at 9:26 AM, Roger Perryman <[EMAIL PROTECTED]>wrote

Re: WOLips Nightly + Eclipse 3.3

2008-08-07 Thread John Huss
Yup. On Thu, Aug 7, 2008 at 9:23 AM, Glenn Sequeira <[EMAIL PROTECTED]> wrote: > I'm trying to install WOLips from a local repository and have > downloaded the wolips-latest-site.tar.gz from the WOLips Nightly Build > Server as per the instructions outlined on the wiki > (http://wiki.objectstyle.

Re: History on WO query: Is there a special name for the design pattern describes EO itself?

2008-08-04 Thread John Huss
ORM (object relational modeling) Code Generation (sql and java) That's what I would say. John On Mon, Aug 4, 2008 at 10:40 AM, Daniel Beatty <[EMAIL PROTECTED]> wrote: > Greetings Chuck, Mike, and all of the WOWO gang, > Question for any one who can answer it. I can easily cite the MVC paradig

Re: Safari default, but Firefox for development tip....

2008-07-30 Thread John Huss
Have you seen the new developer tools in the WebKit nightly builds? They are at least on par with Firebug or, I daresay, even better. http://nightly.webkit.org/ John On Tue, Jul 29, 2008 at 11:55 PM, Kieran Kelleher <[EMAIL PROTECTED]>wrote: > I like Safari as default for general web-surfing,

Re: WO 5.4.2 is out

2008-07-01 Thread John Huss
You know, if you want to test the prerelease builds you can use Apple's new nightly Maven repository and get new nightly builds every night. John On Tue, Jul 1, 2008 at 12:31 PM, Michael DeMan <[EMAIL PROTECTED]> wrote: > I would be more than happy to move one of my development machines over to

Change to HTTP instead of HTTPS for WebServerResources

2008-07-01 Thread John Huss
Is there an easy way to generate full URLS for WebServerResources that use HTTP instead of HTTPS while the page itself still is transmitted using HTTPS? Do you have to handle this case by case or is there maybe a global switch? John ___ Do not post adm

Re: mod_gzip + WO problems

2008-06-25 Thread John Huss
em_includeuri ^.*$ mod_gzip_item_includemime^.*$ along with the appropriate exclude lines. This will make it compress everything except what you explicitly exclude. John On Wed, Jun 25, 2008 at 8:50 AM, John Huss <[EMAIL PROTECTED]> wrote

Re: mod_gzip + WO problems

2008-06-25 Thread John Huss
nt. I can't remember what it was exactly. > > If you fix that, mod_gzip works fine. > > atze > > > Am 24.06.2008 um 22:43 schrieb John Huss: > > > I'm trying to get mod_gzip running on one of my WO apps. It works for >> static pages (index.html)

mod_gzip + WO problems

2008-06-24 Thread John Huss
I'm trying to get mod_gzip running on one of my WO apps. It works for static pages (index.html) and static resources (like css) in my WO app, but not on the html returned from the WO app. I'm guessing this has something to do with the fact that the content is being dynamically generated. Any tip

More efficient web service choice

2008-06-17 Thread John Huss
I'm going to be implementing a web service with WO and was wondering if there was a way to do this using something other than the extremely verbose SOAP messages. It's a private service, so I can do whatever I want, but ideally it would be easy to setup both the client and server. And the clients

<    1   2   3   4   5   6   >