Neat. Since I'm throwing out questions... What is a good component to look at when I want to display a table with d2w context defined property keys for a to many relationship?
i.e. I have a tab inspect page and one of the tabs let's the user inspect a to many relationship. And I want to be able to define the destination entity's properties the user sees through the rule editor. I looked at ERD2WDisplayToManyTable but that really only lets use define a single attribute. Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Sep 5, 2013, at 12:10 PM, Ramsey Gurley <[email protected]> wrote: > Little known secret about EOQualifiers... you can use them to call methods > with a signature like > > public boolean methodName(Object obj) > > So you should also be able to do something like > > entity.userInfo containsKey "wiggly wompus" > > or some such :) The EOQualifier documentation puts a colon after the selector > name, but that failed when I tried it. > > I would not suggest putting selector methods on your session or EOs though, > since anything you put on either side of the qualifier selector is cached > automatically by the rule system. > > Ramsey > > On Sep 5, 2013, at 12:48 PM, Johnny Miller wrote: > >> Cool that works too. >> >> On Sep 5, 2013, at 9:42 AM, David LeBer <[email protected]> wrote: >> >>> 'entity' is an EOEntity. It has a parentEntity method. I've never tried, >>> but that may give you what you want. >>> >>> http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/com/webobjects/eoaccess/EOEntity.html >>> >>> D >>> >>> -- >>> David LeBer >>> Codeferous Software >>> >>> On 2013-09-05, at 3:27 PM, Johnny Miller <[email protected]> wrote: >>> >>>> One more thing... >>>> >>>> How about writing rules for entities that extend an abstract entity? Is >>>> there an entity.parent.name rule? >>>> >>>> On Sep 5, 2013, at 9:26 AM, Johnny Miller <[email protected]> wrote: >>>> >>>>> It works. Sununvagun I thought I had tried it and it did not. Now I can >>>>> go delete some of the longest rules written in the history of D2W. >>>>> >>>>> >>>>> On Sep 5, 2013, at 8:02 AM, David Holt <[email protected]> wrote: >>>>> >>>>>> No special assignment. >>>>>> >>>>>> Have you tried it?? >>>>>> >>>>>> David >>>>>> >>>>>> >>>>>> On 2013-09-05, at 9:24 AM, Ramsey Gurley <[email protected]> wrote: >>>>>> >>>>>>> 100: entity.name like 'XYZ*' => ... >>>>>>> >>>>>>> should work. >>>>>>> >>>>>>> On Sep 4, 2013, at 8:22 PM, Johnny Miller wrote: >>>>>>> >>>>>>>> Hi David, >>>>>>>> >>>>>>>> Do you think you can't do that or that you don't need a special >>>>>>>> assignment? >>>>>>>> >>>>>>>> Johnny Miller >>>>>>>> Kahalawai Media Co. >>>>>>>> >>>>>>>> On Sep 4, 2013, at 2:37 PM, David Holt <[email protected]> wrote: >>>>>>>> >>>>>>>>> I don't think so. >>>>>>>>> >>>>>>>>> David >>>>>>>>> >>>>>>>>> Sent from my iPad >>>>>>>>> >>>>>>>>> On 2013-09-04, at 5:23 PM, Johnny Miller <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I would like to use an entity qualifier that treats all entities >>>>>>>>>> with a prefix the same way i.e. entity.name like 'XYZ*' >>>>>>>>>> >>>>>>>>>> Is there a special assignment I need to use to make that work? >>>>>>>>>> >>>>>>>>>> Aloha, >>>>>>>>>> Mr. Johnny Miller >>>>>>>>>> Web Development Manager >>>>>>>>>> Kahalawai Media Company >>>>>>>>>> Lahaina, HI 96761 >>>>>>>>>> tel: (808) 661-7962 | mobile: (808) 283-0791 >>>>>>>>>> website | e-mail >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Do not post admin requests to the list. They will be ignored. >>>>>>>>>> Webobjects-dev mailing list ([email protected]) >>>>>>>>>> Help/Unsubscribe/Update your Subscription: >>>>>>>>>> https://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: >>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.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: >>>> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.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: >> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
