Re: Direct action question
Re: Direct action question
- Subject: Re: Direct action question
- From: David LeBer <email@hidden>
- Date: Fri, 17 Nov 2006 09:58:13 -0500
On 17-Nov-06, at 9:52 AM, Mike Schrag wrote:
important typo :) put a question mark in front of the "name"
binding, and you can pass multiple ?key bindings.
Hyperlink1: WOHyperlink {
?name = "david";
actionClass = "DirectAction";
directActionName = "hyper";
}
Oops. :-)
Also if you build an NSDictionary in your component and feed a whole
whack of values in one shot:
.java
----------
public NSDictionary hyperDictionary() {
NSMutableDictionary dict = new NSMutableDictionary();
dict.takeValueForKey("david", "name");
dict.takeValueForKey("10", "age");
return dict;
}
.wod
-------
Hyperlink1: WOHyperlink {
actionClass = "DirectAction";
directActionName = "hyper";
queryDictionary = hyperDictionary;
}
On Nov 17, 2006, at 9:48 AM, David LeBer wrote:
Hyperlink1: WOHyperlink {
name = "david";
actionClass = "DirectAction";
directActionName = "hyper";
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40codeferous.com
This email sent to email@hidden
--
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://www.codeferous.com
blog: http://david.codeferous.com
--
Toronto Area Cocoa / WebObjects developers group:
http://www.tacow.org
_______________________________________________
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