Re: Say Hello with 2 Problems^^
Hi and welcome Ken, On 16/11/2007, at 11:41 AM, Ken Ishimoto wrote: At first say Hi to all. My Name is Ken Ishimoto and I am a newbie in WO. I have now learned on Tiger WO for several months, now with Leopard it is hard to switch to Eclipse. Very confusing. I am also working on an Translation to Japanese for WebObjects 5.4 & Wonder. It is only for internal use now, because it so much translation, but after I get to a good point I will open it up for other of course. The Translation has start and there only 5-6 Classes now, but it will grow. I have setup Eclipse 3.3.1.1 with the nightly build of WOLips 4118. Also setup after a lot of problems now the JavaEOGenerator. 4118 is not the nightly build. That's the old 3.2.x stable build. Are you sure you've got the right update site? http://wiki.objectstyle.org/confluence/display/WOL/Install+WOLips+with +Eclipse+Update+Manager It should be. http://webobjects.mdimension.com/wolips/nightly With WOLips 4118 , the New->WebObjects Application won't work? Is that a Bug, or is there a Problem with my setup? Have you tried New->WOnderApplication? with regards, -- Lachlan Deck ___ 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 [EMAIL PROTECTED]
Re: Apache 2+ with WebObjects 5.2.4/ Apache 1.3.36 help
Hi Group, Can any one please help me in this regard. We have Apache 1.3.36 and WO 5.2.4 on Solaris SunOS, apache is getting freeze up very frequently and we need to restart the whole server to get things to normal. Also, any help for the below mail of configuring Apache 2.2+ on Solaris will be appreciated. Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the present to live better in the future." --William WordsWorth --- From: Shravan Kumar.M <[EMAIL PROTECTED]> Date: 13 November 2007 2:35:08 PM GMT+05:30 To: WebObjects-Dev Mailing List Subject: Apache 2+ with WebObjects 5.2.4 Hi Group, Currently we have Apache 1.3+ with WebObjects 5.2.4 running on our Solaris Server [SunOS Rabbit 5.8 Generic_117350-38 sun4u sparc SUNW,Sun-Fire-V890 Solaris] Could any one please advise me if I can install Apache 2.2+ retaining WebObjects 5.2.4 in our Solaris server ? Also, please advise me the steps to install Apache 2.2+ that is compatible with WebObjects 5.2.4, we also need SSL configured with Apache 2.2+, please advise if this has any issues ? I have read in some of lists discussions that Apache 2.2+ is available in Project Wonder 2.0, can I use this for Solaris Server ? Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the present to live better in the future." --William WordsWorth --- ___ 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 [EMAIL PROTECTED]
Re: Configuring & Extending D2WList
On 15.11.2007, at 18:21, Steve Sharman wrote: Firstly I want to be able to hide the standard "delete" and "edit" buttons on the list component under certain circumstances. I guess that might be something that I can configure with a particular set of D2W rules, but I'm not sure I can see what the rule should contain - something about making the entity read-only for this instance of the D2WList? At least in Wonder components, there are a couple of ways to do this: pagecConfiguration = 'ListMyEntity' => isEntityEditable = false [100] and pagecConfiguration = 'ListMyEntity' => isEntityDeletable = false [100] or, if you want to control the actions display (pretty sure, that works only with ERD*): pageConfiguration = 'ListMyEntity' => actions = {} [100] or: pageConfiguration = 'ListMyEntity' => actions = {"right" = ("editAction", "deleteAction");} [100] I'm guessing that the way to be going here is to create a custom subclass of D2WList (or ERD2WList, I guess) and override the edit/ delete action methods I'd use either a custom property level component or an ERDControllerButton. The BugTracker in Wonder is a somewhat complex but very useful example for this. cug -- http://www.event-s.net -- http://www.event-s.net ___ 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 [EMAIL PROTECTED]
JavaEOGenerator....
I just downloaded the beta I thought I read that there is a readme file somewhere that explains how to use it I am scouring the lists for instructions. can someone help. Ted Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs ___ 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 [EMAIL PROTECTED]
Say Hello with 2 Problems^^
Hello to all WO Developer. Greetings from a WO newbie. At first say Hi to all. My Name is Ken Ishimoto and I am a newbie in WO. I have now learned on Tiger WO for several months, now with Leopard it is hard to switch to Eclipse. Very confusing. I am also working on an Translation to Japanese for WebObjects 5.4 & Wonder. It is only for internal use now, because it so much translation, but after I get to a good point I will open it up for other of course. The Translation has start and there only 5-6 Classes now, but it will grow. I have setup Eclipse 3.3.1.1 with the nightly build of WOLips 4118. Also setup after a lot of problems now the JavaEOGenerator. After try a Sample for the Eclipse, I got 2 strange Problems? 1. With WOLips 4118 , the New->WebObjects Application won't work? Is that a Bug, or is there a Problem with my setup? 2. After my first successes with JavaEOGenerator, I get 2 Files. The one with starting _ and the Custom Entity class file. In every Entity Class file, I get follow Method from the Template. public static NSArray allObjects(EOEditingContext aContext) { return _DisplayBoard.objectsForFetchAll(aContext); <- ERROR } <> I am playing now 2 days with this error, and have no idea what's going on? Thank you K's ROOM (ISHIMOTO Ken) [E-Mail] <[EMAIL PROTECTED]> [iChat:] <[EMAIL PROTECTED]> [HP] http://www.ksroom.com/ _ This e-mail has not been scanned vor viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.com ___ 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 [EMAIL PROTECTED]
Re: Migrate from WO5.2 to Eclipse
Of course, I could rephrase all that more positively and say that 2007 has been a technically very exciting year. I think that now things are getting settled down, 2008 is shaping up to be an exciting year without the frustration. And thanks to those who have worked so hard in 2007 to get us to this point. Ian On 15/11/2007, at 3:28 PM, Ian Joyner wrote: I have to very much agree with what Robert says below. This year has been incredibly frustrating (apart from meeting Chuck and a whole lot of you other great people at WWDC) and part of it is the movement in the WO space. OK, we had a large JC project which we now have someone doing it in Cocoa (stuff the Windows users, we only sell Mac anyway), although I don't know how that is going to work with multi-threaded large-scale DB access, which EOF gives you for free. And heaps more. ___ 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 [EMAIL PROTECTED]
Wonder - Building Docs - out of memory
This morning, I got a new error message when building Wonder: [javadoc] javadoc: error - java.lang.OutOfMemoryError: Please increase memory. [javadoc] For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx [javadoc] such as -J-Xmx32m. [javadoc] Generating /Users/les/WonderLatest/Wonder/dist/wonder-4.0 /Documentation/api/serialized-form.html... [javadoc] 2 errors [javadoc] 641 warnings Any suggestions? -- Les Vogel 808 870-0418 ___ 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 [EMAIL PROTECTED]
WODisplayGroup with peer EOEditingContext
Hi List How can I get a displaygroup to use a peer editingcontext and still use fetches on load? I noticed that in the WOO file there is an entry for the editing context, but setting it to the page's local context results in a null pointer (and no, I didn't forget to instantiate the EC, and I've tried in the constructor and in the declaration). My guess is the WOO is read/executed before the component class, but I was wondering if anybody has done this successfully. I know I can do all this programatically, but since the WOO has an editingcontext entry it seems this would be a nice way of doing this. Jacob ___ 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 [EMAIL PROTECTED]
Re: JavaEOGenerator source posted by Apple
They also redirected the webobjects.com domain to http:// developer.apple.com/tools/webobjects/ instead of http://apple.com/ webobjects http://developer.apple.com/samplecode/JavaEOGenerator/index.html ___ 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 [EMAIL PROTECTED]
WOL'ed? May you live in interesting times...
In Leopard, I tried to update a project I have been working on for some time, and had adjusted some simple things, a form change here, and session.method there. I downloaded the last Wonder53, made a gowo53.sh and gowo54.sh, that symlinked and replaced the 54 frameworks with 53 and viceversa. Then I used the included EOGenerator to get my BusinessLogic framework running. And I ran my app against the framework. Suddenly, things were not so nice any more. The construction is simple: i have trainingdata and reservations for trainingdata. To check if there are places available, I check how many reservations have been made: nothing special: public Integer showNoOfReservations() { reservationsintTemp = 0; java.util.Enumeration e = reservations().objectEnumerator(); while (e.hasMoreElements()){ Reservation reservationTemp = (Reservation)e.nextElement(); reservationsintTemp= reservationsintTemp +reservationTemp.reservationNoOfReservationsTogether().intValue(); } return new Integer(reservationsintTemp); } I got a null exception at a place that had worked very nice just before. After some testing I found the error: a column in a postgresql table which which included a '1' or a '0', as an integer, seemed to give some null values. The interesting thing was that I could not see any null values just running psql from postgresql (8.2.5, from macports). So I did an if null test, and the strange thing was that after that, I found two null values, and apparently there were 236 records, while in psql there were only 204 records. So I made a workaround (testing on null in reservationNoOfReservationsTogether), and proceeded. The relevant reservationNoOfReservationsTogether method: public Integer reservationNoOfReservationsTogether() { if (reservationOneExtra()!=null){ if (reservationOneExtra().intValue()!=0){ System.out.println("extra"); return new Integer(reservationNoOfReservations().intValue() +1); } else { System.out.println("not extra"); return new Integer(reservationNoOfReservations().intValue()); } } else { System.out.println("null, not one extra"+this.toString()+" "); return new Integer(reservationNoOfReservations().intValue()); } } The app now started, but now, I got errors saving reservation data: before that time that had worked perfectly. The error I got was that I could not save the reservation, because the object was not in an Editing Context. I can not give you the complete error, because... I then updated to the latest Wonder53 and WOLips (3.3.4643), to see if that woud make a difference. Now I am getting the error, while trying to start up the application, I get a java heap space error. 0 [main] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties. 48 [main] DEBUG NSLog - WOMaxIOBufferSize=8196 48 [main] DEBUG NSLog - WOWorkerThreadCountMin=16 48 [main] DEBUG NSLog - WOSocketMonitorSleepTime=50 48 [main] DEBUG NSLog - WODirectConnectEnabled=true 48 [main] DEBUG NSLog - WOIncludeCommentsInResponse=false 48 [main] DEBUG NSLog - WOWorkerThreadCount=8 48 [main] DEBUG NSLog - WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects 48 [main] DEBUG NSLog - WOIDE=WOLips 48 [main] DEBUG NSLog - WODebuggingEnabled=true 48 [main] DEBUG NSLog - WOListenQueueSize=128 48 [main] DEBUG NSLog - WOMissingResourceSearchEnabled=true 48 [main] DEBUG NSLog - WOApplicationClassName=Application 48 [main] DEBUG NSLog - WOSessionStoreClassName=WOServerSessionStore 48 [main] DEBUG NSLog - WOContextClassName=WOContext 48 [main] DEBUG NSLog - WOCachingEnabled=false 49 [main] DEBUG NSLog - WOAcceptMalformedCookies=false 49 [main] DEBUG NSLog - NSProjectSearchPath=(..,../..) 49 [main] DEBUG NSLog - WOMonitorEnabled=false 49 [main] DEBUG NSLog - WOAllowRapidTurnaround=true 49 [main] DEBUG NSLog - WOGenerateWSDL=true 49 [main] DEBUG NSLog - WOWorkerThreadCountMax=256 49 [main] DEBUG NSLog - WOAllowsConcurrentRequestHandling=false 54 [main] DEBUG NSLog - WOAdaptor=WODefaultAdaptor 54 [main] DEBUG NSLog - WOSessionTimeOut=3600 54 [main] DEBUG NSLog - WOMaxSocketIdleTime=18 54 [main] DEBUG NSLog - WODefaultUndoStackLimit=10 54 [main] DEBUG NSLog - WOAutoOpenClientApplication=true 54 [main] DEBUG NSLog - WOAutoOpenInBrowser=true 55 [main] DEBUG NSLog - WOApplicationBaseURL=/WebObjects 55 [main] DEBUG NSLog - WOMaxHeaders=200 55 [main] DEBUG NSLog - WOLifebeatEnabled=true 55 [main] DEBUG NSLog - WOAllowsCacheControlHeader=true 55 [main] DEBUG NSLog - WOSMTPHost=smtp 55 [main] DEBUG NSLog - WOFrameworksBaseURL=/WebObjects/Frameworks 55 [main] DEBUG NSLog - WOStatisticsStoreSessionMax=50 55 [main] DEBUG NSLog - WOAdditionalAdaptors
Re: JavaEOGenerator source posted by Apple
On Nov 15, 2007, at 10:48 AM, Les Vogel wrote: http://developer.apple.com/samplecode/JavaEOGenerator/index.html -- Les Vogel 808 870-0418 Hey! Wow! Thanks for posting this. We should make sure that Apple's marketing people ... er, let people know ... um, about the tools that Hm. Oh well, never mind. :-) Now let us just see if there is doc. Hope springs eternal. And then there is always the WO community. thanx - ray - ray blogs: http://worldofwebobjects.blogspot.com (WebObjects), http://xoatlicue.blogspot.com (Mozilla technologies), http://taucentral.blogspot.com (personal/politics), http://necessarytesselation.blogspot.com (math) ___ 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 [EMAIL PROTECTED]
Re: Problem with GUID to HEX conversion
File a bug report with Radar so it can get fixed. On 16/11/2007, at 2:06 AM, Alexander Spohr wrote: Ok, I declare NSData 7-bit-only then. ;) atze Am 15.11.2007 um 15:54 schrieb Anjo Krank: Well... but testData.toString() also raises and this *is* in the docs (and can be expected to work). We fixed this in the Wonder Postgres plugin ourselves. Cheers, Anjo Am 15.11.2007 um 15:35 schrieb Alexander Spohr: Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test); String h = testData._hexString(); I guess this method has a leading _ because it is not meant for public use. And it is not in the documentation. atze ___ 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/krank% 40logicunited.com This email sent to [EMAIL PROTECTED] Freeport & Soliversum Alexander Spohr [EMAIL PROTECTED] www.freeport.de ___ 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/lachlan.deck% 40gmail.com This email sent to [EMAIL PROTECTED] with regards, -- Lachlan Deck ___ 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 [EMAIL PROTECTED]
JavaEOGenerator source posted by Apple
http://developer.apple.com/samplecode/JavaEOGenerator/index.html -- Les Vogel 808 870-0418 ___ 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 [EMAIL PROTECTED]
Re: ERRest question
Mike, First. Thanks for such a quick response; especially for some a dumb*ss question. (I could have at least looked at the good - sheeze!). Anyway, that obviously worked so I'm forging ahead. I'd like my next step to be something to support something like this. http://localhost/WebObjects/myApp.woa/rest/Site/custom_site_view.xml or http://localhost/WebObjects/myApp.woa/rest/Site/custom_site_view/ 100.xml Essentially, rather than having only one handler (extending IERXRestEntityDelegate, I'm presuming) per entity, I'd like to further refine the dispatch with a "view" name. Implementation-wise, I'm thinking of an array of keypaths and/or a dictionary mapping keys to keypaths would be used to select (and potentially) remap a subset of attributes. So my question is: Where and how might I most easily and elegantly implement such an idea? Would it make the most sense to use a custom Writer, perhaps passing it some additional parameters if needed? many thanks again for you help, Jason On Nov 14, 2007, at 10:31 AM, Mike Schrag wrote: /** * Creates an unsafe request handler for you to try out in development mode. THIS SHOULD NOT BE DEPLOYED (and in * fact it will throw an exception if development mode is false). * * @param readOnly if true, the unsafe read-only delegate will be used * @param displayToMany if true, to-many relationships will display by default * @return an unsafe request handler */ public static final ERXRestRequestHandler createUnsafeRequestHandler(boolean readOnly, boolean displayToMany) { docs may be slightly out of date ... On Nov 14, 2007, at 10:09 AM, Jason Jobe wrote: Hello, I'm looking for a easy way to deliver XML (to a flash frontend) and ERRest looks like it should foot the bill nicely. So I tried the minimal experiment of adding registerRequestHandler (ERXRestRequestHandler.createUnsafeRequestHandler(), "rest"); to the Application constructor but I'm getting the following error. "The method createUnsafeRequestHandler(boolean, boolean) in the type ERXRestRequestHandler is not applicable for the arguments ()" Any pointers would be most appreciated. thanks, Jason ___ 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/mschrag% 40mdimension.com This email sent to [EMAIL PROTECTED] ___ 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/jason02007% 40jasonjobe.com This email sent to [EMAIL PROTECTED] ___ 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 [EMAIL PROTECTED]
Re: WO5.4 and Java Client
Hi Jaroslav, I have finished to develop a first version of my framework and now I'm doing some test. It seems to work. Also I'm writing some examples with a little doc. Later on I will do it available and I will send you Regards Paolo Il giorno 14/nov/07, alle ore 19:05, Jaroslav Hanus ha scritto: Hello Paolo Could you please give me some more info concerning your data-GUI XML binding approach? It seems to fit perfectly into our idea where to move now with JC stuff. Although Florian's way is also nice and I have found interesting info in his tutorial, this GUI - data separation I would prefer. And if you have already made some progress in this field, I would prefer to collaborate than to reinvent the wheel ;) Regards Jaroslav On Nov 8, 2007, at 9:13 PM, [EMAIL PROTECTED] wrote: Hi Florijan, it's because the core jc stuff still stays that I think It's reasonable to continue to use in the jc application EODisplayGroup, EOAssociation, etc. I think the status is like as the web WO where the core stuff stays but WebObjects Builder is lacking. In the jc client development the core stuff largely stays but now Interface Builder is lacking. Doubtless in my xml binding approach, to edit by hands a xml file is'nt fun as to play with Interface Builder but it's much better that to hardcode in the gui java class all the EODisplayGroup, EOAssociation code. The gui java class remain a pure swing class, the needed EODisplayGroup, EOAssociation, etc. stuff are "automagically" added following the binding described in the xml file. One have to extends the gui class as EOApplication but this requiremet is just only to start the application, in order to do the applicationClassName binding in JavaClient.wo working, as you has described in your WebObjects Java Client tutorial. Furthermore, in the future one can creates a visually tool, an eclipse plugin or other, which can generate the xml file Regards Paolo -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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 [EMAIL PROTECTED]
Re: Problem with GUID to HEX conversion
Well... but testData.toString() also raises and this *is* in the docs (and can be expected to work). We fixed this in the Wonder Postgres plugin ourselves. Cheers, Anjo Am 15.11.2007 um 15:35 schrieb Alexander Spohr: Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test); String h = testData._hexString(); I guess this method has a leading _ because it is not meant for public use. And it is not in the documentation. atze ___ 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/krank%40logicunited.com This email sent to [EMAIL PROTECTED] ___ 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 [EMAIL PROTECTED]
Re: Eclipse Version to Download
I don't know yet ... I was under the impression that 3.3.2 was out, but it looks like it actually isn't, just a stream maintenance build of 3.3.2. On Nov 14, 2007, at 9:08 PM, Gaastra Dennis - WO Lists wrote: Hi Mike, So as of Friday, we can start with: eclipse-java-europa-fall2-macosx-carbon.tar.gz or eclipse-jee-europa-fall2-macosx-carbon.tar.gz With Kind Regards, Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca] Chief Technology Officer, WEBAPPZ Systems, Inc. HQ: (+1) 604.921.1333 Fax: (+1) 604.921.4313 On 14-Nov-07, at 12:13 PM, Mike Schrag wrote: The WOLips 3.3.2-based stable build is planned for Friday, so that day is very soon :) ms ___ 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 [EMAIL PROTECTED]
Re: Problem with GUID to HEX conversion
Ok, I declare NSData 7-bit-only then. ;) atze Am 15.11.2007 um 15:54 schrieb Anjo Krank: Well... but testData.toString() also raises and this *is* in the docs (and can be expected to work). We fixed this in the Wonder Postgres plugin ourselves. Cheers, Anjo Am 15.11.2007 um 15:35 schrieb Alexander Spohr: Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test); String h = testData._hexString(); I guess this method has a leading _ because it is not meant for public use. And it is not in the documentation. atze ___ 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/krank% 40logicunited.com This email sent to [EMAIL PROTECTED] Freeport & Soliversum Alexander Spohr [EMAIL PROTECTED] www.freeport.de ___ 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 [EMAIL PROTECTED]
Re: Problem with GUID to HEX conversion
Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test); String h = testData._hexString(); I guess this method has a leading _ because it is not meant for public use. And it is not in the documentation. atze ___ 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 [EMAIL PROTECTED]
Problem with GUID to HEX conversion
I am using byte(24) binary keys in my mySql database and therefore, using GUIDs for PK. At some point in my program I need to constrict a raw sql statement, so I need to convert EOGlobalID into String so that SQL can use it. So I used: primaryKeyForGlobalID to get the pkDict, then I extracted the pk value and casted it to NSData. Then I used EOSQLExpression to call sqlStringFromData. Problem: java.lang.ArrayIndexOutOfBoundsException: -4 at com.webobjects.foundation.NSData._hexString(NSData.java:805) so to check for sure I have extracted the sample data from debugger and constructed the following: byte[] test = {0, 0, 10, 0, 1, -59, 0, 0, -83, -100, 23, 0, 0, 0, 1, 22, 57, 83, 83, -68, 79, 46, 74, 74}; NSData testData = new NSData(test); String h = testData._hexString(); when I run this I get exactly the same error I would like to confirm with anyone that I am doing this correctly, since I think the problem is with _hexString(). I believe that it expects only positive values of byte. I have try replacing -59, -100 and -69 with positive numbers and this function works fine. Thanks -Vlad ___ 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 [EMAIL PROTECTED]
Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post
Please keep questions on the mailing list. In Apache 1.3 (and I suspect it's still the case, though I haven't tested in 2.2), if mod_WO isn't loaded before mod_rewrite, you cannot fully rewrite mod_WO requests. ms On Nov 15, 2007, at 4:29 AM, s. tunji turner wrote: hi mike, following your tdibits in this post you added: LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ Apache2.2/mod_WebObjects.so to the httpd.comf file after rewrite_module, why? In the /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf there is a line and comment to enable this module again/already! # WebObjects 5.4: Enable the WebObjects module. team firstsightmedia s. tunji turner ___ 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 [EMAIL PROTECTED]