Fwd: handling multivalues attributes
Fwd: handling multivalues attributes
- Subject: Fwd: handling multivalues attributes
- From: Gustavo Pizano <email@hidden>
- Date: Thu, 14 May 2009 12:38:45 +0200
---------- Forwarded message ----------
From:
Gustavo Pizano <email@hidden>
Date: Thu, May 14, 2009 at 12:35 PM
Subject: Re: handling multivalues attributes
To: sharpy <
email@hidden>
mm
Value Class:?/ where is that one?
On Thu, May 14, 2009 at 12:33 PM, Gustavo Pizano
<email@hidden> wrote:
WOW thanks a lot.. so far I think this will be read only.... but I must be prepared for write also... :S .... freaking out...
Gus
On Thu, May 14, 2009 at 12:31 PM, sharpy
<email@hidden> wrote:
Hi Gus,
A quick look at one of our models shows the following for a multi value attribute:
External Type: Directory String
Class: com.webobjects.foundation.NSArray
Data Type: Custom - Custom
Value Class: com.webobjects.foundation.NSArray
Note: I've used this for reading only, no idea if the above works for writes..
Sharpy.
(forgot to include the list first time around)
On 14/05/2009, at 7:53 PM, Gustavo Pizano wrote:
Hello well, I didn't get this one.. my LDAP schema has a multi value attribute in one of its classes., I was told that the LDAP returns an array with those values... but the EOModel when imported just sets as external type of those attributes as IA5 String.
I was reading a LONG post about LDAP, and found out that they were talking about a EOModel that has some multivalues... but I never saw the model on the emails.. maybe if I can get that model also, or if someone could explain me how to handle those multy value attributes.
I also read in and old post also that if I change the external type to be NSArray the problem is gone. But I tried, and well what should I change the external type, the class, or the Data Type... I thought it was the class.. so I put NSArray.. or com.webobjects.foundation.NSArray; but then what to put in the other fields?
thanks
Gustavo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden