Tomcat & WROX

2007-03-27 Thread Jeremy Matthews
..just wanted to thank for soul who put up the WROX sample code on the wocode site, since we couldn't find it on wrox.com. Do the authors mind if that data ends up on the WO wiki? Also, let me know if there are any requests for Tomcat By SW...we're finishing up the last bit of dev work on the

WO and linux

2007-03-27 Thread rene marxis
Hello i'm trying to get WO running on a 64 bit linux (suse 9.x) and can't get the apache-adaptor running at all. i build/installed apache 2.2.4 like described under http://www.tetlabors.de/wo/setup_webobjects_on_linux.html#compile_adaptor with --enable-module=so --enable-module=rewrite --enable

Re: Reusable component

2007-03-27 Thread Robert Walker
One additional FYI. Be careful not to place your reusable component inside a form on the parent component or you'll end up with nested forms, which may produce some really strange behavior. On Mar 27, 2007, at 10:12 AM, WIESEN Bruno wrote: Re all, Thank you, it works with performParentAc

Re: Session and Array Filtering Problem (Fixed)

2007-03-27 Thread David Avendasora
Fixed. Thanks Ken and Robert. I simply changed the the second line of the first code block to: NSMutableArray allBillsOfMaterial = ((NSArray) aBillOfMaterialComponent.valueForKeyPath ("part.billsOfMaterial")).mutableClone(); Dave On Mar 27, 2007, at 9:10 AM, Ken Anderson wrote: You definit

Re: WOTable

2007-03-27 Thread Ray Kiddy
On Mar 27, 2007, at 7:34 AM, WIESEN Bruno wrote: Hi all, I use WOTable in order to generate excel files but it seems impossible to put headers for WOTable??!! Is there a way to put headers?? Thank you. Bruno. There is no way to do this dynamically, via a binding. I am not sure if one of

Re: How to tell what WO version is installed?

2007-03-27 Thread Tanmoy Roy
Hi Janine, Just type in the following command in your terminal: defaults read /System/Library/Frameworks/JavaWebObjects.framework/Resources/Info CFBundleShortVersionString I hope this will resolve your problem Cheers Tanmoy On 3/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I'

Re: How to tell what WO version is installed?

2007-03-27 Thread Guido Neitzer
On 27.03.2007, at 12:35, [EMAIL PROTECTED] wrote: I'm trying to figure out how to figure out what version of WO has been installed on a system. cat /System/Library/Frameworks/JavaWebObjects.framework/Resources/ version.plist cug ___ Do not post a

How to tell what WO version is installed?

2007-03-27 Thread womail
Hi all, I'm trying to figure out how to figure out what version of WO has been installed on a system. I tried looking in /Library/Reciepts, where I have the following packages: WebObjects5.3.3Update.pkg WebObjectsDevelopment.pkg WebObjectsDocumentation.pkg WebObjectsExamples.pkg WebObjects

WOTable

2007-03-27 Thread WIESEN Bruno
Hi all, I use WOTable in order to generate excel files but it seems impossible to put headers for WOTable??!! Is there a way to put headers?? Thank you. Bruno. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing li

Re: Reusable component

2007-03-27 Thread WIESEN Bruno
Re all, Thank you, it works with performParentAction method ! Bruno Bruno Le 27 mars 07 à 16:00, Robert Walker a écrit : Bruno, Your subject line and your description seem to be a bit unclear. From your subject line it sounds like you are trying to build a reusable component containing a

Re: Session and Array Filtering Problem

2007-03-27 Thread Ken Anderson
You definitely have a problem, because you're filtering a mutable array that's the relationship stored in the EO. You should get a mutableClone of the relationship array before filtering it (or use filtereDArrayForQualifier which returns a new array). Ken On Mar 27, 2007, at 9:41 AM, Davi

Re: Session and Array Filtering Problem

2007-03-27 Thread Robert Walker
David, Compare: NSMutableArray allBillsOfMaterial = (NSMutableArray) aBillOfMaterialComponent.valueForKeyPath("part.billsOfMaterial"); NSArray scheduledRoutingBillsOfMaterial = (NSArray)((BillOfMaterial) aScheduledRouting.valueForKey("routing")).valueForKeyPath ("part.billsOfMaterial"); I

Re: Reusable component

2007-03-27 Thread Robert Walker
Bruno, Your subject line and your description seem to be a bit unclear. From your subject line it sounds like you are trying to build a reusable component containing a form with submit button for use inside other components (a parent component). And you wish to call an action of the paren

Re: Session and Array Filtering Problem

2007-03-27 Thread David Avendasora
They are in two separate classes. Each are defined from scratch. Both are defined using key-value coding. The code that retrieves that filters the array is: (it is located in one of my core entity classes) NSMutableArray allBillsOfMaterial = (NSMutableArray) aBillOfMaterialComponent.val

Re: Session and Array Filtering Problem

2007-03-27 Thread David LeBer
On 27-Mar-07, at 8:40 AM, David Avendasora wrote: Okay, I have a odd behavior happening. When I create and insert an object into my default editing context, and set all the various fields and relationships everything works just fine, but if I try to retrieve a list of all the possible ob

Re: Session and Array Filtering Problem

2007-03-27 Thread Robert Walker
And you are absolutely sure you have two separate instances of NSArray and not two references to the same instance? arr2 = arr1; vs arr2 = arr1.immutableClone(); or arr2 = new NSArray(arr1); I'm sure it's not as simple as what is shown here, but within whatever complexity you have in your

Session and Array Filtering Problem

2007-03-27 Thread David Avendasora
Okay, I have a odd behavior happening. When I create and insert an object into my default editing context, and set all the various fields and relationships everything works just fine, but if I try to retrieve a list of all the possible objects for one of the relationships (to populate a pop

RE: Reusable component

2007-03-27 Thread R Babu-in1472c
Hi Bruno, You can create a method in the component's corresponding java class and can assign that method to the action attribute of your submit button. For ex, you can write a method "myAction" in the corresponding java class and assign this method name "myAction" to the action attribute. -Babu

Reusable component

2007-03-27 Thread WIESEN Bruno
Hello, I've created a component which contents a WOForm and a WOSubmitButton. I want to add a binding to my custom component which is a method (in order to give it to the "action" binding of WOSubmitButton). Can someone help me with this? Is there a tip to do this? Thank you. Bruno