Re: NSArray inside a WORepetition

Paul Hertz <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <p06100500c2552a5179e0@[10.0.1.8]>
Cristina,

Is each paragraph or block of paragraphs a separate record in the 
database and a separate item in the NSArray?

If that's the case, you just need to iterate over the NSArray with 
the WORepetition and pop the current item into the iteration 
variable, typecasting the Object from the NSArray as necessary.

-- Paul


At 10:14 AM +0200 4/25/07, Cristina Algoni wrote:
>Hello.
>
>In my application I have a WORepetition and inside of it I have to show a
>picture and some paragraphs from the database. The paragraphs are stored in
>a NSArray and they are retrieved at the beginning, in my java code, for the
>first picture. I don`t how to update the NSArray with paragraphs for every
>step in the WORepetition. Is this possibile? Or what is the alternative?
>
>Cristina.
>
>_______________________________________________
>WebObjects-dev mailing list
>[email protected]
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev


-- 
Paul Hertz <[email protected]> 
|(*,+,#,=)(#,=,*,+)(=,#,+,*)(+,*,=,#)|
                 <http://collaboratory.nunet.net/phertz>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.