Nevermind...

the key is displayPropertyKeys 


On Mar 4, 2013, at 6:19 PM, Johnny Miller <jlmil...@kahalawai.com> wrote:

> With embedded components you can pass in the displayKeys as a binding.  Can 
> you also specify it with rules and what would be the key in the rules system?
> 
> On Mar 4, 2013, at 3:47 PM, Johnny Miller <jlmil...@kahalawai.com> wrote:
> 
>> Cool.  Thank you.
>> 
>> On Mar 4, 2013, at 3:12 PM, Ramsey Gurley <rgur...@smarthealth.com> wrote:
>> 
>>> 
>>> On Mar 4, 2013, at 6:02 PM, Johnny Miller wrote:
>>> 
>>>> So I'm not sure how much a hack it is but you can do the following: 
>>>> 
>>>>    public WOActionResults inspectObject(WOComponent value) {
>>>> 
>>>>            setSender(value);
>>>>            WOComponent target = 
>>>> (WOComponent)D2WEmbeddedComponent.findTarget(sender());            
>>>>            WOComponent targetParent = target.parent();
>>>>            ...
>>>> 
>>>> Can you create a rule like 
>>>> 
>>>> task = 'edit' and entity.name = 'MyEntity' and object != null ?
>>> 
>>> A rule like that would be an Bad Idea™. You're gonna cache your eo's in the 
>>> rule system if you do that. If you want to know if an object isn't null, 
>>> then use object.isNonNull = 1. This assumes you're using ERXGenericRecord 
>>> or you implement the ERXNonNullObjectInterface.
>>> 
>>> Ramsey
>>> 
>>>> 
>>>> 
>>>>    
>>>> 
>>>> 
>>>> On Mar 4, 2013, at 12:59 PM, Johnny Miller <jlmil...@kahalawai.com> wrote:
>>>> 
>>>>> Hi Ramsey,
>>>>> 
>>>>>> Did you look at this yet?
>>>>>> 
>>>>>> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
>>>>> 
>>>>> Do you know if there is a way to communicate to the component that is 
>>>>> embedding the D2W components in the branch delegate?
>>>>> 
>>>>> Since I'm using embedding the top level component is responsible for 
>>>>> telling the embedded d2w subcomponents things like what is the selected 
>>>>> object.
>>>>> 
>>>>> 
>>>>> i.e. 
>>>>> 
>>>>> public class MyController extends ERDBranchDelegate {
>>>>> 
>>>>> public WOActionResults addObject(WOComponent sender) {
>>>>>   WOComponent topLevelComponent = ?
>>>>>   MyObject newObject = ....
>>>>>   topLevelComponent.setSelectedObject(newObject);
>>>>>   return null;
>>>>> }
>>>>> 
>>>>> }
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Johnny
>>>>> 
>>>>>> Ramsey
>>>>>> 
>>>>>> 
>>>>>>> 
>>>>>>> Thank you,
>>>>>>> 
>>>>>>> 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      (Webobjects-dev@lists.apple.com)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>>>>>>> 
>>>>>>> This email sent to ramseygur...@gmail.com
>>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>>> 
>>>> This email sent to rgur...@smarthealth.com
>>> 
>> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to