Hello!

Rook <[email protected]>
Newsgroups gmane.comp.web.webobjects.newbies
Organization uinC
Message-ID <[email protected]>
Hello,

      I have questions about NSDictionary (NSMutableDictionary).
      1. How to get all values from NSDictionary?
         Sample: NSDictionary {site = {name = "a"; host = "b"; text =
         {description = "site"; comments = "none";}}}
         I need:
           siteName = site ["name"]
           host = site ["name"]["host"]
           etc.
         Before I work with Python and it's wasn't a problem, but in
         WO I don't know how to solve it.


      2. How to use WORepetion with NSDictionary for output infromation?
         Sample:
         [table]
                [tr]
                    [td]site[/td]             [td]a[/td]
                [/tr]
                [tr]
                    [td]&nbsp host[/td]       [td]b[/td]
                [/tr]
                etc.

         I tries to use NSDictionary.allKeys() and use NSArray as a
         first argument and a String as a second argument, but
         WORepetition shows next:
                      ("site1", "site2", "site3")
                      ("site1", "site2", "site3")
                      ("site1", "site2", "site3")
                      
         I understand, that WORepetition gets a length of NSArray
         right (3 elements), but I don't understand why i see string
         ("site1", "site2", "site3"), and not
                      ("site1")
                      ("site2")
                      ("site3")


Sorry for my terrible english :(

-- 
Best regards,
 Rook  [uinC Group] http://www.uinc.ru
 mailto:[email protected]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webobjects-newbies/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
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.