Re: handling multivalues attributes
Re: handling multivalues attributes
- Subject: Re: handling multivalues attributes
- From: sharpy <email@hidden>
- Date: Thu, 14 May 2009 20:31:26 +1000
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