Terrific ideas guys - thanks so much!

on 4/8/06 16:07, Miguel Arroz at [EMAIL PROTECTED] wrote:

> Hi!
> 
>    That's easy. Just do a WOConditional that allows the <br> to
> appear when you want. If you want a table with 6 columns, for
> example, just check if the repetition counter is divisible by 6 or not.
> 
>    Yours
> 
> Miguel Arroz
> 
> On 2006/04/08, at 23:29, WebObjects wrote:
> 
>> 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 PROTECTED] 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 PROTECTED]
>>> 
>>> 
>>> 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 protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/george%
>>>> 40boxofficetickets.com
>>>> 
>>>> This email sent to [EMAIL PROTECTED]
>>>> 
>>> 
>>> 
>> 
>>  _______________________________________________
>> 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/arroz%
>> 40guiamac.com
>> 
>> This email sent to [EMAIL PROTECTED]
> 
> "The world lies in the hands of evil
>   And we pray it would last" -- Apocalyptica, Life Burns!
> 
> Miguel Arroz
> http://www.ipragma.com
> 


 _______________________________________________
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