• 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: is WOHyperlink the right answer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is WOHyperlink the right answer?


  • Subject: Re: is WOHyperlink the right answer?
  • From: WebObjects <email@hidden>
  • Date: Sat, 08 Apr 2006 15:29:23 -0700
  • Thread-topic: is WOHyperlink the right answer?

Title: Re: is WOHyperlink the right answer?
George,

A static array is fine with me, but what’s the easiest way to add a <br> every Nth repetition?

(thanks again)

-Bill


on 4/8/06 15:08, George Domurot at email@hidden wrote:

Bill:

You are on the right track with an array of choices and a repetition. When a letter's hyperlink is selected, the value of the String bound to the item attribute of the repetition will contain the letter selected.

You can have several arrays to produce the multi-row effect your looking for. Even better, you may want to consider an array of arrays with a double repetition. Further, you may want to consider using static values for the array(s) and a reusable component for efficiently and functionality.

-George

 

--


George Domurot


email@hidden
 

On Apr 8, 2006, at 10:19 AM, WebObjects wrote:

I’m working on an app for use via cell phone, so the screen display is very small.  The UI I’m building requires an “A-Z” selection (literally all 26 letters, listed on screen in 5 rows).  I want to hyperlink each letter to an action to perform the appropriate lookup.  A pull-down list for this it to hard to manipulate with some phones, so WOHyperlinks seem like the logical choice.  However, making 26 separate methods seems like such bad practice.  Is there a way to use the hyperlink element, much like WORepetition, to pass in the item that was selected/clicked?  Is there a binding that can satisfy this?
 
 I’ve considered an array and a repetition to remedy this – but I really need to maintain formatting in a couple of rows so that the UI doesn’t become a mess.
 
 I appreciate any advice, thanks
 
 -Bill
 _______________________________________________
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
 



 _______________________________________________
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: is WOHyperlink the right answer?
      • From: Miguel Arroz <email@hidden>
    • Re: is WOHyperlink the right answer?
      • From: George Domurot <email@hidden>
References: 
 >Re: is WOHyperlink the right answer? (From: George Domurot <email@hidden>)

  • Prev by Date: Re: is WOHyperlink the right answer?
  • Next by Date: Re: is WOHyperlink the right answer?
  • Previous by thread: Re: is WOHyperlink the right answer?
  • Next by thread: Re: is WOHyperlink the right answer?
  • Index(es):
    • Date
    • Thread