| Reid, Just so I understand what you want to do - you're trying to fetch Process records from the database for the client, right? My first question is, since you say you have a client object, why are you using the clientName instead of the client object? You should really have a relationship in Process called 'client', which is a relationship to the Client entity based on the name (or better, a unique integer primary key so the client's name can change without breaking the database). To address your specific question, are you sure that user.client.clientName is getting the result you want? Have you tried: System.out.println("Client name is "+session().valueForKey("user.client.clientName")); Otherwise, if Process has an attribute called 'clientName' that matches the clientName in the client object, this code should work. It would help if you gave more information about the model... Ken On May 21, 2006, at 5:06 AM, Reid Bundonis wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
