Thank you this is great....

So $message isn't set until the form is submitted?

I don't know if it's overkill but I wrapped it in an AjaxObserveField and it 
works great....

Couldn't have been easier.... thanks for the nudge in the right direction.


Ted

--- On Sun, 5/30/10, Paul Hoadley <[email protected]> wrote:

From: Paul Hoadley <[email protected]>
Subject: Re: ERXRadioButtonMatrix  example???
To: "Theodore Petrosky" <[email protected]>
Cc: [email protected]
Date: Sunday, May 30, 2010, 1:56 AM

On 30/05/2010, at 1:37 AM, Theodore Petrosky wrote:
Before I start hacking to figure this out... does anyone have an example of 
this:

ERXRadioButtonMatrix 

Here's an example:
<wo:ERXRadioButtonMatrix list="$allMessages" item="$messageIter" 
selection="$message">  <wo:string value="$messageIter" 
/></wo:ERXRadioButtonMatrix>
In this case, I'm providing a list of Strings for selection.  allMessages() 
returns an NSArray<String>, 'messageIter' and 'message' are both String ivars.  
It's much like a WOPopUpButton, except instead of binding 'displayString', just 
put the display string as the content of the element.


-- 
Paul.

http://logicsquad.net/








 _______________________________________________
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]

Reply via email to