Re: why

2009-10-23 Thread Mike Schrag
please keep messages on the lists ... i don't know what the context of that message is from just one println, but you really shouldn't be installing jar farmeworks into / Lib/WO/Extensions. It's going to cause problems. I would remove any frameworks you have in that folder. On Oct 23, 2009

Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Lachlan Deck
Are you sure it's being included in the build? (Assuming you're using ant) check your patterset files. On 23/10/2009, at 6:10 PM, Gustavo Pizano wrote: I used the String res = WOApplication.application().resourceManager().urlForResourceNamed ("patterns.txt", null, null, null); FileInputStrea

Re: Intercepting (ERX/WO)DirectActionRequestHandler

2009-10-23 Thread Lon Varscsak
Look at the "reason" variable, you can do something conditionally based on that. I compare the reason to WOActionRequestHandler.CLASS_NOT_FOUND and WOActionRequestHandler.INVOCATION and then redirect to the default DA. -Lon On Fri, Oct 23, 2009 at 1:54 PM, Johnny Miller wrote: > I get these err

Re: Intercepting (ERX/WO)DirectActionRequestHandler

2009-10-23 Thread Johnny Miller
I get these errors all day long and it drives me nuts. java.lang.IllegalStateException: Couldn't locate action class named 'google-analytics.com'. at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest (WOActionRequestHandler.java:286) at com.webobjects.appserver._

Re: 2009 surveys results

2009-10-23 Thread Pascal Robert
The problem with this is time... I was thinking of a online book where you can ask O'Reilly or other publisher to print it and sell it to give back to writers, like Thinking in Java or the MySQL manual are. And frankly, based on the number of people who wanted to attend WOWODC East for the

Re: 2009 surveys results

2009-10-23 Thread Ken Foust
IMHO You gurus need to put out a few really in-depth tutorials. Maybe each could do a little piece. It is hard to sell something like WO without a good way for people to get in the loop. You may want to review Joshua' Marker's book on WO which I thought was the absolute best for attract

Re: java.lang.IllegalStateException: CookieParser?

2009-10-23 Thread Anjo Krank
there's a override for that: WOApp.handleMalformedCookieValue() or whatever the name is Cheers, Anjo Am 23.10.2009 um 20:03 schrieb Mike Nowak: I went to check one of our apps and I got an Internal Server Error. Thinking the site might be down, I checked the app log and saw this: Ca

wocommunity.org status

2009-10-23 Thread Pascal Robert
FYI, yes I'm still working on the new stuff for wocommunity.org. I'm sorry that the current state of the site is pathetic, but with the new job and two WOWODC, I'm way behind schedule. What's coming : - Community Store (to buy the WOWODC sessions) - Assets. All of WOWODC sessions that yo

Re: 2009 surveys results

2009-10-23 Thread Alan Ward
...and you also don't know how many people within Apple would buy it if Chuck was to write another book. Alan On Oct 23, 2009, at 12:00 PM, Pascal Robert wrote: BTW, the 400 devs count is from the total number of devs as told by the results of the org survey, good chance that the communit

Re: 2009 surveys results

2009-10-23 Thread Miguel Arroz
Hi! Usually between 5 and 10% of any group of people answer surveys. So I guess we are much more. :) Yours Miguel Arroz On 2009/10/23, at 19:00, Pascal Robert wrote: BTW, the 400 devs count is from the total number of devs as told by the results of the org survey, good chance that th

RE: 2009 surveys results

2009-10-23 Thread Beatty, Daniel D CIV NAVAIR, 474300D
Greetings Chuck, Yeah, you could have stranger titles. Of course, those of us were learning WO for the first time and getting to know and love WOLips certainly appreciated the book. I should probably join you on that effort. It is simply a matter of learning from the success and failure

java.lang.IllegalStateException: CookieParser?

2009-10-23 Thread Mike Nowak
I went to check one of our apps and I got an Internal Server Error. Thinking the site might be down, I checked the app log and saw this: Caused by: java.lang.IllegalStateException: CookieParser: Expected a ";" or a "," instead of ""v":1,"rid":"1256313755420_838442","ru":"http://www2.med.umich

Re: 2009 surveys results

2009-10-23 Thread Pascal Robert
BTW, the 400 devs count is from the total number of devs as told by the results of the org survey, good chance that the community is bigger, but for now the survey is the only way to have a count. I don't access to the number of subscribers to the lists or other counts that can give a bette

Re: 2009 surveys results

2009-10-23 Thread Chuck Hill
On Oct 22, 2009, at 10:07 PM, Daniel Beatty wrote: Greetings Jeremy, Well you are right. It has been difficult to make a curriculum that "shows off" WO. It can be used some in most DBMS, Web Software Engineering, and Design Patterns courses. In each case, it is more or less used as

Re: 2009 surveys results

2009-10-23 Thread Chuck Hill
On Oct 23, 2009, at 10:27 AM, John Larson wrote: I'm kind of goading Chuck on to write a sequel to "Practical WebObjects." How about "Absurdly Cool WebObjects"? The Book of Chuck? WebObjects: Getting Chunky Wid It? I won't say never, but right now I am having a hard time getting the tim

Re: 2009 surveys results

2009-10-23 Thread Chuck Hill
It was really, really, very not profitable the first time either. :-| That is not why we wrote it. Chuck On Oct 23, 2009, at 10:49 AM, Pascal Robert wrote: If we are really only have +- 400 developers outside of Apple, I don't think writing a book is "profitable". I'm kind of goading

Re: 2009 surveys results

2009-10-23 Thread Pascal Robert
If we are really only have +- 400 developers outside of Apple, I don't think writing a book is "profitable". I'm kind of goading Chuck on to write a sequel to "Practical WebObjects." How about "Absurdly Cool WebObjects"? On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote: Hi! On 2009/10/2

Re: 2009 surveys results

2009-10-23 Thread John Larson
I'm kind of goading Chuck on to write a sequel to "Practical WebObjects." How about "Absurdly Cool WebObjects"? On Oct 23, 2009, at 12:07 PM, Miguel Arroz wrote: Hi! On 2009/10/23, at 17:46, John & Kim Larson wrote: without having the patience to read the manual, Is there a manual? Y

Re: 2009 surveys results

2009-10-23 Thread Joe Little
Ah.. found them.. http://developer.apple.com/legacy/mac/library/navigation/index.html Ignore the WebObjects Reference Library links on webobjects.com / http://developer.apple.com/tools/webobjects/ On Fri, Oct 23, 2009 at 10:16 AM, Joe Little wrote: > Not any more.. :) > > I also noticed that th

Re: 2009 surveys results

2009-10-23 Thread Joe Little
Not any more.. :) I also noticed that the docs are disappearing off the Apple site. Not sure if one is allowed to repost those somewhere else without drawing the wrath of Apple lawyers. If the docs are on the apple site, they sure as hell are hard to find, as most URLs redirect to the MacOSX docum

Re: 2009 surveys results

2009-10-23 Thread Miguel Arroz
Hi! On 2009/10/23, at 17:46, John & Kim Larson wrote: without having the patience to read the manual, Is there a manual? Yours Miguel Arroz smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. The

Re: WOFileUpload component of WO 5.4.3 version

2009-10-23 Thread Ricardo J. Parada
I remember having issues with uploading files and getting them fixed after setting the encoding everywhere to UTF-8. If you are using Wonder then add this to your Properties file: er.extensions.ERXApplication.DefaultEncoding=UTF-8 Then make sure the components are all using UTF-8. You can ch

Re: 2009 surveys results

2009-10-23 Thread John & Kim Larson
The only thing that I've studied as much as WebObjects is the Bible, and that is sometimes easier to explain than WO! Seriously, the concepts are so deep that I think we (WO developers) kind of take many of the core concepts for granted and sort of treat them like riding a bike. Working wit

Re: Entity naming

2009-10-23 Thread Jean-Francois Veillette
If you have a table named "sites" what do you name your entity and the corresponding class? Sites or Site? Keep table / entity name singular Few of my own « best practice », mainly due to the fact that most of these share their namespace in their domain: - prefix table-name with their doma

Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Travis Britt
I usually do something like: URL pathURL = ERXFileUtilities.pathURLForResourceNamed("patterns.txt", null, null); String fileContent = ERXFileUtilities.stringFromURL(pathURL); tb On Oct 23, 2009, at 3:10 AM, Gustavo Pizano wrote: I have this structure: XWSLocalizer.woa>contents>Resources>pa

Re: War deploy; maven archetypes problems; web.xml filtering

2009-10-23 Thread Henrique Prange
Hi Greg, Mr. G Brown wrote: I put version 2.1-beta-1 into the archetype created pom and now filtering works! (Maven downloaded many things like maven-filtering/1.0-beta-2, etc. ) I had version 2.1-alpha-1 ; and that didn't work, that appears to be the problem here. Should the archetype cr

Re: Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Gustavo Pizano
Daniele: Thanks that made it!! I thought. NSBundle was cocoa-only. G. On Fri, Oct 23, 2009 at 9:58 AM, Daniele Corti wrote: > Hi Gustavo, > I know you can use NSBundle to manage file in resources: > > String path = > NSBundle.mainBundle().pathURLForResourcePath("test.txt").getPat

Re: Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Daniele Corti
Hi Gustavo, I know you can use NSBundle to manage file in resources: String path = NSBundle.mainBundle().pathURLForResourcePath("test.txt").getPath(); NSLog.out.appendln(path); or you can simply read the file using: byte[] b = NSBundle.mainBundle().bytesForResourceP

Re: Snow Leopard and TimeZones

2009-10-23 Thread Mark Ritchie
On 22Oct2009, at 6:48 PM, David LeBer wrote: Yes, they appear identical for me. Yup, identical for me too... It must be how they are being referenced/looked up. Time is such a fun thing! ;-) M. ___ Do not post admin requests to the list. They will be

Can't access a Resource file (was:reading a file form a component NoSuchFileException)

2009-10-23 Thread Gustavo Pizano
I renamed the subject.. its more appropiate . /// I used the String res = WOApplication.application().resourceManager().urlForResourceNamed("patterns.txt", null, null, null); FileInputStream fstream = new FileInputStream(res); and still giving me FileNotFoundException. :( / Im sorry

Re: reading a file form a component NoSuchFileException

2009-10-23 Thread Gustavo Pizano
I used the String res = WOApplication.application().resourceManager().urlForResourceNamed("patterns.txt", null, null, null); FileInputStream fstream = new FileInputStream(res); and still giving me FileNotFoundException. :( On Fri, Oct 23, 2009 at 8:51 AM, Gustavo Pizano wrote: > Im sorry this