Yeah, check out this page:
http://wiki.objectstyle.org/confluence/display/WO/D2W+Rules+Reference+-+Cookbook+-+FAQ
I think item 3 applies...
David
On 2010-04-19, at 1:44 PM, David Avendasora wrote:
> Okay, I was missing something simple. A rule.
>
> {
> rules = (
> {
> author = 100;
> class = "com.webobjects.directtoweb.Rule";
> lhs = {
> class = "com.webobjects.eocontrol.EOAndQualifier";
> qualifiers = (
> {
> class =
> "com.webobjects.eocontrol.EOKeyValueQualifier";
> key = task;
> selectorName = isEqualTo;
> value = inspect;
> },
> {
> class =
> "com.webobjects.eocontrol.EOKeyValueQualifier";
> key = "smartRelationship.isToMany";
> selectorName = isEqualTo;
> value = {
> class = "java.lang.Number";
> value = 1;
> };
> }
> );
> };
> rhs = {
> class = "com.webobjects.directtoweb.Assignment";
> keyPath = componentName;
> value = ERDList;
> };
> }
> );
> }
>
>
> Dave
>
>
> On Apr 19, 2010, at 4:36 PM, David Avendasora wrote:
>
>> Hi all,
>>
>> I am working on my first real D2W project after many years of D2JC, and I'm
>> running into something that has me stumped.
>>
>> I have a toMany relationship on an entity that just shows:
>>
>> com.webobjects.eocontrol._EOCheapCopyMutableArray[14b485a9]
>>
>> Instead of the related objects.
>>
>> Am I missing something really simple?
>>
>> Dave
>> _______________________________________________
>> 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/webobjects%40avendasora.com
>>
>> This email sent to [email protected]
>
> _______________________________________________
> 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/programmingosx%40mac.com
>
> This email sent to [email protected]
_______________________________________________
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]