• 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: numbers on web output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: numbers on web output


  • Subject: Re: numbers on web output
  • From: Art Isbell <email@hidden>
  • Date: Tue, 10 Aug 2004 10:38:17 -1000

On Aug 10, 2004, at 9:59 AM, Wes James wrote:

The items are output by a worepetition component.

How can I add the output of a variable "lineCount" at the beginning of
each line.  I would have to put a lineCount variable in Main?

No need for you to increment a lineCount variable; let WO do it for you. Bind Main's "lineCount" key (better if this is a set of public accessor methods rather than a public instance variable) to your WORepetition's "index" key and to the "value" key of a WOString at the beginning of each line . Be sure to bind an appropriate integer format string to WOString's "numberformat" key.


Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: numbers on web output
      • From: Wes James <email@hidden>
References: 
 >numbers on web output (From: Wes James <email@hidden>)

  • Prev by Date: Re: New EOGenerator Error
  • Next by Date: Re: numbers on web output
  • Previous by thread: numbers on web output
  • Next by thread: Re: numbers on web output
  • Index(es):
    • Date
    • Thread