numbers on web output
numbers on web output
- Subject: numbers on web output
- From: Wes James <email@hidden>
- Date: Tue, 10 Aug 2004 13:59:54 -0600
I have been working on one of the samples in the webobjects tutorial.
It is basically adding, editing, removing objects, which show up on a
web page. The items are output by a worepetition component.
It starts out with Add User then when I add a user it looks like....
----
Edit - Joe likes to eat fish - Delete
Add user
----
Then if I add another object....
----
Edit - Joe likes to eat fish - Delete
Edit - Marta likes to eat melons - Delete
Add user
----
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? then do
a lineCount++; somewhere and then in the WebObects builder link it to
the WOString, but where do I do the increment (lineCount must be
incremented as the WORep component is spitting the text out)?
The output would then look like....
----
1. Edit - Joe likes to eat fish - Delete
2. Edit - Marta likes to eat melons - Delete
Add user
----
thanks,
wj
_______________________________________________
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.