25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

235 lines
11 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Page Structure and Navigation &mdash; Documentation</title>
  7. <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/doctools.js"></script>
  20. <link rel="top" title="Documentation" href="index.html" />
  21. <link rel="up" title="4. Client Side API" href="client_side_widgets.html" />
  22. <link rel="next" title="5. Generating Sitemaps" href="sitemap.html" />
  23. <link rel="prev" title="Javascript Utilities" href="javascript_utils.html" />
  24. </head>
  25. <body>
  26. <div style="background-color: #FFF; text-align: left; padding: 8px 0px"><img src="_static/banner300910.gif"></div>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="modindex.html" title="Global Module Index"
  35. accesskey="M">modules</a> |</li>
  36. <li class="right" >
  37. <a href="sitemap.html" title="5. Generating Sitemaps"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="javascript_utils.html" title="Javascript Utilities"
  41. accesskey="P">previous</a> |</li>
  42. <li><a href="index.html">Documentation</a> &raquo;</li>
  43. <li><a href="client_side_widgets.html" accesskey="U">4. Client Side API</a> &raquo;</li>
  44. </ul>
  45. </div>
  46. <div class="sphinxsidebar">
  47. <div class="sphinxsidebarwrapper">
  48. <h3><a href="index.html">Table Of Contents</a></h3>
  49. <ul>
  50. <li><a class="reference external" href="">Page Structure and Navigation</a><ul>
  51. <li><a class="reference external" href="#page-structure">Page Structure</a></li>
  52. <li><a class="reference external" href="#opening-existing-resources-pages-forms-etc">Opening existing resources (Pages, Forms etc)</a></li>
  53. <li><a class="reference external" href="#history">History</a></li>
  54. </ul>
  55. </li>
  56. </ul>
  57. <h4>Previous topic</h4>
  58. <p class="topless"><a href="javascript_utils.html"
  59. title="previous chapter">Javascript Utilities</a></p>
  60. <h4>Next topic</h4>
  61. <p class="topless"><a href="sitemap.html"
  62. title="next chapter">5. Generating Sitemaps</a></p>
  63. <h3>This Page</h3>
  64. <ul class="this-page-menu">
  65. <li><a href="_sources/navigation.txt"
  66. rel="nofollow">Show Source</a></li>
  67. </ul>
  68. <div id="searchbox" style="display: none">
  69. <h3>Quick search</h3>
  70. <form class="search" action="search.html" method="get">
  71. <input type="text" name="q" size="18" />
  72. <input type="submit" value="Go" />
  73. <input type="hidden" name="check_keywords" value="yes" />
  74. <input type="hidden" name="area" value="default" />
  75. </form>
  76. <p class="searchtip" style="font-size: 90%">
  77. Enter search terms or a module, class or function name.
  78. </p>
  79. </div>
  80. <script type="text/javascript">$('#searchbox').show(0);</script>
  81. </div>
  82. </div>
  83. <div class="document">
  84. <div class="documentwrapper">
  85. <div class="bodywrapper">
  86. <div class="body">
  87. <div class="section" id="page-structure-and-navigation">
  88. <h1>Page Structure and Navigation<a class="headerlink" href="#page-structure-and-navigation" title="Permalink to this headline">¶</a></h1>
  89. <div class="section" id="page-structure">
  90. <h2>Page Structure<a class="headerlink" href="#page-structure" title="Permalink to this headline">¶</a></h2>
  91. <dl class="data">
  92. <dt id="page_body">
  93. <tt class="descname">page_body</tt><a class="headerlink" href="#page_body" title="Permalink to this definition">¶</a></dt>
  94. <dd>global reference to the <a title="Body" class="reference internal" href="#Body"><tt class="xref docutils literal"><span class="pre">Body</span></tt></a></dd></dl>
  95. <dl class="class">
  96. <dt id="Body">
  97. <em class="property">class </em><tt class="descname">Body</tt><a class="headerlink" href="#Body" title="Permalink to this definition">¶</a></dt>
  98. <dd><p>Created by app.js</p>
  99. <dl class="attribute">
  100. <dt id="Body.header">
  101. <tt class="descname">header</tt><a class="headerlink" href="#Body.header" title="Permalink to this definition">¶</a></dt>
  102. <dd>Head element</dd></dl>
  103. <dl class="attribute">
  104. <dt id="Body.footer">
  105. <tt class="descname">footer</tt><a class="headerlink" href="#Body.footer" title="Permalink to this definition">¶</a></dt>
  106. <dd>Footer element</dd></dl>
  107. <dl class="attribute">
  108. <dt id="Body.left_side_bar">
  109. <tt class="descname">left_side_bar</tt><a class="headerlink" href="#Body.left_side_bar" title="Permalink to this definition">¶</a></dt>
  110. <dd>Left Sidebar Element</dd></dl>
  111. <dl class="attribute">
  112. <dt id="Body.right_side_bar">
  113. <tt class="descname">right_side_bar</tt><a class="headerlink" href="#Body.right_side_bar" title="Permalink to this definition">¶</a></dt>
  114. <dd>Right Sidebar Element</dd></dl>
  115. <dl class="attribute">
  116. <dt id="Body.center">
  117. <tt class="descname">center</tt><a class="headerlink" href="#Body.center" title="Permalink to this definition">¶</a></dt>
  118. <dd>Center content Element</dd></dl>
  119. <dl class="attribute">
  120. <dt id="Body.pages">
  121. <tt class="descname">pages</tt><a class="headerlink" href="#Body.pages" title="Permalink to this definition">¶</a></dt>
  122. <dd>Dictionary of pages by label</dd></dl>
  123. <dl class="attribute">
  124. <dt id="Body.cur_page">
  125. <tt class="descname">cur_page</tt><a class="headerlink" href="#Body.cur_page" title="Permalink to this definition">¶</a></dt>
  126. <dd>Current page</dd></dl>
  127. <dl class="method">
  128. <dt id="Body.add_page">
  129. <tt class="descname">add_page</tt><big>(</big><em>label</em>, <em>onshow</em><big>)</big><a class="headerlink" href="#Body.add_page" title="Permalink to this definition">¶</a></dt>
  130. <dd>Returns a new page (DIV) with label. Optionally <cite>onshow</cite> function will be called when the page is shown</dd></dl>
  131. <dl class="method">
  132. <dt id="Body.change_to">
  133. <tt class="descname">change_to</tt><big>(</big><em>page_name</em><big>)</big><a class="headerlink" href="#Body.change_to" title="Permalink to this definition">¶</a></dt>
  134. <dd>Switch to the given page</dd></dl>
  135. </dd></dl>
  136. </div>
  137. <div class="section" id="opening-existing-resources-pages-forms-etc">
  138. <h2>Opening existing resources (Pages, Forms etc)<a class="headerlink" href="#opening-existing-resources-pages-forms-etc" title="Permalink to this headline">¶</a></h2>
  139. <dl class="function">
  140. <dt id="loaddoc">
  141. <tt class="descname">loaddoc</tt><big>(</big><em>doctype</em>, <em>name</em>, <em>onload</em>, <em>menuitem</em><big>)</big><a class="headerlink" href="#loaddoc" title="Permalink to this definition">¶</a></dt>
  142. <dd><p>Open an exiting record (<cite>doctype</cite>, <cite>name</cite>) from the server or <a class="reference external" href="glossary.html#term-locals"><em class="xref">Locals</em></a></p>
  143. <p>Optionally you can specify onload method and menuitem. If menuitem is specified, it will show the menuitem
  144. as selected whenever the record is reloaded.</p>
  145. </dd></dl>
  146. <dl class="function">
  147. <dt id="new_doc">
  148. <tt class="descname">new_doc</tt><big>(</big><em>doctype</em>, <em>onload</em><big>)</big><a class="headerlink" href="#new_doc" title="Permalink to this definition">¶</a></dt>
  149. <dd>Open a new record of type <cite>doctype</cite></dd></dl>
  150. <dl class="function">
  151. <dt id="loadpage">
  152. <tt class="descname">loadpage</tt><big>(</big><em>page_name</em>, <em>call_back</em>, <em>menuitem</em><big>)</big><a class="headerlink" href="#loadpage" title="Permalink to this definition">¶</a></dt>
  153. <dd>Open the page specified by <cite>page_name</cite>. If menuitem is specified, it will show the menuitem
  154. as selected whenever the page is reloaded.</dd></dl>
  155. <dl class="function">
  156. <dt id="loadreport">
  157. <tt class="descname">loadreport</tt><big>(</big><em>doctype</em>, <em>rep_name</em>, <em>onload</em>, <em>menuitem</em>, <em>reset_report</em><big>)</big><a class="headerlink" href="#loadreport" title="Permalink to this definition">¶</a></dt>
  158. <dd>Open the report builder of the given <cite>doctype</cite>. Optionally if <cite>rep_name</cite> is specified, it will
  159. open the corresponding <a class="reference external" href="glossary.html#term-search-criteria"><em class="xref">Search Criteria</em></a> identified by <cite>criteria_name</cite></dd></dl>
  160. </div>
  161. <div class="section" id="history">
  162. <h2>History<a class="headerlink" href="#history" title="Permalink to this headline">¶</a></h2>
  163. <p>History is maintained by framgments using the Really Simple History (rsh) library</p>
  164. <dl class="data">
  165. <dt id="nav_obj">
  166. <tt class="descname">nav_obj</tt><a class="headerlink" href="#nav_obj" title="Permalink to this definition">¶</a></dt>
  167. <dd>global reference to the history object</dd></dl>
  168. <dl class="function">
  169. <dt id="nav_obj.open_notify">
  170. <tt class="descclassname">nav_obj.</tt><tt class="descname">open_notify</tt><big>(</big><em>type</em>, <em>p1</em>, <em>p2</em><big>)</big><a class="headerlink" href="#nav_obj.open_notify" title="Permalink to this definition">¶</a></dt>
  171. <dd>Notify of a new page opening. Add to history
  172. * <cite>type</cite> is either - Form, Report or Page
  173. * <cite>p1</cite> is DocType in case of Form or Report and page name in case of Page
  174. * <cite>p2</cite> is record name in case of DocType, criteria_name in case of Report</dd></dl>
  175. <dl class="function">
  176. <dt id="nav_obj.show_last_open">
  177. <tt class="descclassname">nav_obj.</tt><tt class="descname">show_last_open</tt><big>(</big><big>)</big><a class="headerlink" href="#nav_obj.show_last_open" title="Permalink to this definition">¶</a></dt>
  178. <dd>Execute <cite>Back</cite> button</dd></dl>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. </div>
  184. <div class="clearer"></div>
  185. </div>
  186. <div class="related">
  187. <h3>Navigation</h3>
  188. <ul>
  189. <li class="right" style="margin-right: 10px">
  190. <a href="genindex.html" title="General Index"
  191. >index</a></li>
  192. <li class="right" >
  193. <a href="modindex.html" title="Global Module Index"
  194. >modules</a> |</li>
  195. <li class="right" >
  196. <a href="sitemap.html" title="5. Generating Sitemaps"
  197. >next</a> |</li>
  198. <li class="right" >
  199. <a href="javascript_utils.html" title="Javascript Utilities"
  200. >previous</a> |</li>
  201. <li><a href="index.html">Documentation</a> &raquo;</li>
  202. <li><a href="client_side_widgets.html" >4. Client Side API</a> &raquo;</li>
  203. </ul>
  204. </div>
  205. <div class="footer">
  206. &copy; Copyright 2010, Rushabh Mehta.
  207. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
  208. </div>
  209. </body>
  210. </html>