• 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: ERXRadioButtonMatrix example???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXRadioButtonMatrix example???


  • Subject: Re: ERXRadioButtonMatrix example???
  • From: Theodore Petrosky <email@hidden>
  • Date: Sun, 30 May 2010 03:45:18 -0700 (PDT)

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@hidden> wrote:

From: Paul Hoadley <email@hidden>
Subject: Re: ERXRadioButtonMatrix  example???
To: "Theodore Petrosky" <email@hidden>
Cc: email@hidden
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERXRadioButtonMatrix example???
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: "LEWOStuff" --> "lestuff"
  • Next by Date: Re: ERXRadioButtonMatrix example???
  • Previous by thread: Re: ERXRadioButtonMatrix example???
  • Next by thread: Re: ERXRadioButtonMatrix example???
  • Index(es):
    • Date
    • Thread