Changeset 30379

Show
Ignore:
Timestamp:
02/20/08 18:42:45 (9 months ago)
Author:
ogrisel
Message:

update nuxeo book on live edit technical reference to take care of nxedit:http:// and nxedit:https// URIs (NXP-2101)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/nuxeo-book/trunk/pom.xml

    r30237 r30379  
    2525 
    2626        <executions> 
    27           <execution> 
     27          <!--execution> 
    2828            <id>build-pdf-doc</id> 
    2929            <phase>pre-site</phase> 
     
    4141              <foCustomization>${docbook.source}/resources/xsl/nuxeo-docbook-fopdf.xsl</foCustomization> 
    4242            </configuration> 
    43           </execution
     43          </execution--
    4444 
    4545          <execution> 
  • doc/nuxeo-book/trunk/src/docbook/desktop-integration/index.xml

    r30267 r30379  
    277277              Before and after editing the document, the editor plugin 
    278278              can fetches a list of configurable actions to call on the 
    279               server through SOAP (lock/unlock, check in/ check out, 
    280               validate, ...). 
     279              server through SOAP or REST GET (lock/unlock, check in/ 
     280              check out, validate, ...). 
    281281            </listitem> 
    282282            <listitem> 
     
    303303        <para> 
    304304          <literal> 
    305             nxedit://localhost:8080/nuxeo/nxliveedit.faces?action=edit&amp;repoID=[repoID]&amp;docRef=[docRef]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;conversationId=[SEAM_CONVERSATION_ID] 
     305            nxedit:http://localhost:8080/nuxeo/nxliveedit.faces?action=edit&amp;repoID=[repoID]&amp;docRef=[docRef]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;conversationId=[SEAM_CONVERSATION_ID] 
    306306          </literal> 
    307307        </para> 
     
    323323                <listitem> 
    324324                  <literal> 
    325                     nxedit://localhost:8080/nuxeo/nxliveedit.faces?action=create&amp;repoID=[repoID]&amp;mimetype=[mimetype]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;docType=[docType]&amp;conversationId=[SEAM_CONVERSATION_ID] 
     325                    nxedit:http://localhost:8080/nuxeo/nxliveedit.faces?action=create&amp;repoID=[repoID]&amp;mimetype=[mimetype]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;docType=[docType]&amp;conversationId=[SEAM_CONVERSATION_ID] 
    326326                  </literal> 
    327327                </listitem> 
    328328              </itemizedlist> 
    329329            </listitem> 
     330 
    330331            <listitem> 
    331332              user case#3: docid and field path of the original blob AND 
     
    336337                <listitem> 
    337338                  <literal> 
    338                     nxedit://localhost:8080/nuxeo/nxliveedit.faces?action=createFromTemplate&amp;templateRepoID=[templateRepoID]&amp;templateDocRef=[templateDocRef]&amp;templateSchema=[templateSchema]&amp;templateBlobField=[templateBlobField]&amp;repoID=[repoID]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;docType=[docType]&amp;conversationId=[SEAM_CONVERSATION_ID] 
     339                    nxedit:http://localhost:8080/nuxeo/nxliveedit.faces?action=createFromTemplate&amp;templateRepoID=[templateRepoID]&amp;templateDocRef=[templateDocRef]&amp;templateSchema=[templateSchema]&amp;templateBlobField=[templateBlobField]&amp;repoID=[repoID]&amp;schema=[schema]&amp;blobField=[blobField]&amp;filenameField=[filenameField]&amp;docType=[docType]&amp;conversationId=[SEAM_CONVERSATION_ID] 
    339340                  </literal> 
    340341                </listitem> 
     
    358359 
    359360        <para> 
    360           The Bootstrap client protocol handler should also be able to 
    361           interpret variant of the previous URIs that specify the 
    362           protocol (http or https), eg
     361          The Bootstrap client protocol must strip the "nxedit:" prefix 
     362          of the URI to get the HTTP URL and thus work either with SSL 
     363          or not
    363364 
    364365          <itemizedlist> 
     
    409410        <para> 
    410411          In order to generate valid 
    411           <literal>nxedit://</literal> 
    412           URLs it is strongly advised to use the JSF functions defined 
     412          <literal>nxedit:</literal> 
     413          URIs it is strongly advised to use the JSF functions defined 
    413414          in the 
    414415          <literal> 
     
    429430              <literal>liveEditUrl(DocumentModel)</literal> 
    430431              : get the 
    431               <literal>nxedit://</literal> 
    432               URL to edit a document file attachement (default File-like 
     432              <literal>nxedit:</literal> 
     433              URL to edit a document file attachment (default File-like 
    433434              types) 
    434435            </listitem> 
     
    438439                liveEditUrl(DocumentModel, String, String, String) 
    439440              </literal> 
    440               : get the nxedit:// URL to edit a document proviging 
    441               schema, blob field and filename field names 
     441              : get the nxedit: URI to edit a document providing schema, 
     442              blob field and filename field names 
    442443            </listitem> 
    443444 
    444445            <listitem> 
    445446              <literal>liveCreateUrl(String)</literal> 
    446               : get the nxedit:// url to create a new document of type 
     447              : get the nxedit: URI to create a new document of type 
    447448              File providing the mimetype as argument 
    448449            </listitem> 
     
    452453                liveCreateUrl(String, String, String, String, String) 
    453454              </literal> 
    454               : get the nxedit:// url to create a new document with 
     455              : get the nxedit: URI to create a new document with 
    455456              parameters: mimetype, doctype, schema, blob and filename 
    456457              field names 
     
    461462                liveCreateFromTemplateUrl(DocumentModel) 
    462463              </literal> 
    463               : get the nxedit:// URL to create a new document of type 
     464              : get the nxedit: URI to create a new document of type 
    464465              File reusing the content of the blob of the provided 
    465466              template DocumentModel (assumed to have the "file" 
     
    472473                String, String, String, String, String) 
    473474              </literal> 
    474               : get the nxedit:// URL to create a new document from 
     475              : get the nxedit: URI to create a new document from 
    475476              template. Parameters are: template DocumentModel, template 
    476477              schema, template blob field, target document type, target