2009/dap/contacts Overview.html,1.7,1.8

Update of /sources/public/2009/dap/contacts
In directory hutz:/tmp/cvs-serv9311

Modified Files:
	Overview.html 
Log Message:
minor attribute type corrections to ContactFilterOptions

Intro examples reviewed and updated

Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/contacts/Overview.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Overview.html	22 Oct 2009 10:42:41 -0000	1.7
+++ Overview.html	22 Oct 2009 13:35:06 -0000	1.8
@@ -71,9 +71,9 @@
 	   <p>Adding a new contact to the Address Book.</p>
 
 	   <pre>		// Add a new contact to the Address Book
-		navigator.device.addressbook.add( {givenName:    'Bob',
+		navigator.device.addressbook.add( {givenNames:    ['Bob'],
                                                    familyName:   'Smith',
-                                                   phone:        '+440000000000'} );</pre>
+                                                   phones:        ['+440000000000', '+440000000001']} );</pre>
 
 		<p class='issue'>
 		 Should we specify mandatory required attributes when adding a new contact?
@@ -556,15 +556,15 @@
     <section>
       <h2><a>ContactFilterOptions</a> interface</h2>
       <p>
-        The <a>ContactFilterOptions</a> interface describes the options that can be applied to sorted, limit, group and order the resulting output of contact searching.
+        The <a>ContactFilterOptions</a> interface describes the options that can be applied to contact searching.
       </p>
       <dl title='[NoInterfaceObject] interface ContactFilterOptions' class='idl'>
-        <dt>attribute int limit</dt>
+        <dt>attribute unsigned short limit</dt>
         <dd>
           <p>The maximum number of results to return from the contacts search.</p>
 		  <p>DEFAULT = 200</p>
         </dd>
-        <dt>attribute int page</dt>
+        <dt>attribute unsigned short page</dt>
         <dd>
           <p>The page number of the contacts search to return. If the requested page index does not exist, this parameter MUST be assigned the default value.</p>
 		  <p>DEFAULT = 1</p>

Received on Thursday, 22 October 2009 13:35:09 UTC