• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Direct action question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Direct action question (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Direct action question
  • Next by Date: Re: JDBC problem with sql 2005
  • Previous by thread: Re: Direct action question
  • Next by thread: Strange problem with database, relationship and editingContext
  • Index(es):
    • Date
    • Thread