Re: D2W Timestamp attribute component
Op 19 jan 2011, om 18:46 heeft Dan Beatty het volgende geschreven: Greetings Wizards named David, and other geniuses of WO, Is there such a thing as a timestamp attribute level component for D2W that includes a clock as well as a calendar? Any kind of clock will do. Obviously, the worst case is that I build the darn thing myself. Although, the beauty of D2W is incredible capability of reuse of code and components that D2W has. Thank you, There is the ERDirectToWeb ERDEditDatePopup componennt, which requires a editTime rule set to 1 to get date and time. I have actually a TimeStamp Component along the lines of ERMDDatePicker working (conveniently named ERDDateTimePicker) based on the DatePicker of Jeremy Jongsma (http://home.jongsma.org/software/js/datepicker). I got stuck in the localization of the timestampformat, as I could not derive the locale from the browser info. I noticed that there was some locale preparations in ERXSession, but is that working already? (It would have been nice if someone came up with an IP-based locale, which I saw some time ago at a WWDC. Was it 2008 that 5.5 was announced?). I'll clean it up tomorrow to only work with iso8601 formatiing, and send it off to jira. Daniel Beatty Computer Scientist, Detonation Sciences Branch Code 474300D 2400 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555 daniel.bea...@navy.mil (760)939-7097 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl This email sent to jo...@netsense.nl Johan Henselmans jo...@netsense.nl ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: troubleshooting help
On Jan 19, 2011, at 1:46 PM, Tim Worman wrote: Thanks Chuck. It's really disconcerting since I have had times where I checked on the server and it has 12 hung httpd threads consuming 100% processor. I am running the built-in version on Snow Leopard. It reports that it is 2.2.14. If it is WO specific, the same app did not exhibit this behavior on another server. I'm considering whether I could log every request the app generates and see if I can match up the request (or even the method that was run) with the time that the hung process was spawned? Or maybe httpd has some advanced logging that could tell me something. Love to hear if anyone else has seen anything similar and how it got addressed. Take a look at the min. spare servers, max spare servers, and num. servers to start. I keep these numbers low (10/10/10) to avoid old httpd processes. Theory is that a new connection gets a new, or not as old of an httpd server. My servers are not normal so YMMV. There is a lot of voodoo in deployments settings... I can second Chuck's experience with Apache 1.3. kib The era of procrastination, of half-measures, of soothing and baffling expedients, of delays, is coming to its close. In its place we are entering a period of consequences. Winston Churchill Klaus Berkling Web Application Dev. Systems Administrator DynEd International, Inc. www.dyned.com | blog ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERAttachment + ERRest -
Shouldn't I be able to upload a file attachment via errest? A curl test I tried doesn't work: curl -F fileupload=@/Users/jtayler/Pictures/jesseheadshot.jpg http://10.0.1.7:5999/cgi-bin/WebObjects/WOMan.woa/attachments/ And of course, I want to set that to the 'photo' property of 'User' which is a relationship to ERAttachment so I thought I should be talking to the /ra/User.json somehow? Do I need to create routes or controllers? thanks for advice - ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com