Returns a document for submission.
PODSDocumentSrc
PODSDocument documentForSubmission( PODSSubmission submission, out PODSBoolean handled );
Not applicable
PODSDocument* PODSdocumentForSubmission( PODSDocumentSrc* docsrc, PODSSubmission* submission, PODSBoolean* handled );
docsrc The PODSDocumentSrc object.
submission [in] The PODSSubmission object.
handled [out] Indicates whether the request was handled successfully: PODS_TRUE on success; PODS_FALSE otherwise. You may return handled as PODS_TRUE while returning a null PODSDocument. For example, you might want to have a link with a URL that does not return a page, but toggles the device backlighting;
the URL would be something like "PODS://togglebacklight".
PODSDocument object for specified submission. May be NULL.
Your document source should implement this method or documentForUrl( ).
The PODSDocumentSrc implementation of documentForSubmission( ) only checks the specified document source, while the PODSDocumentMgr implementation walks through all the registered document sources until a document with a matching submission object is found.
documentForUrl( ), PODSDocumentMgr object's documentForSubmission( )
| Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |