Last page update: November 23, 2011
Classes:
Complete reference:
Usually in GenroPy the pages are built on the client side: the page structure is transfered as a Bag; after that, the Genro’s javascript tools take care to build the DOM and all the necessary (webpage elements). So, you have the complete control of the page, and you can modify the page itself simply modifying the Bag that constructs the page.
You can build the page completely server side. It is useful to index pages for search engines and, above all, to make the :ref:`ref_for_the_print` <-- TODO
In a server side page you can use all the Dojo widgets, but without Genro additions and without Genro extensions (e.g. the dbSelect doesn’t work)
TODO
TODO
| Parameters: |
|
|---|
TODO
| Parameters: | src – TODO |
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
Create a new page
Prepare the layout template
| Parameters: | tpl – the template |
|---|
TODO
| Parameters: |
|
|---|
TODO
TODO
| Parameters: | attr – TODO |
|---|
TODO
| Parameters: | filepath – TODO |
|---|
TODO
| Parameters: | filename – TODO |
|---|
Structure used to build server-side HTML pages. Prints are based on this class
Build a cell() and return it
| Parameters: |
|
|---|
TODO
Creates an HTML comment tag (<!-- -->)
Shortcut to create a <link rel="stylesheet" type="text/css""> tag
Build a layout element and return it
| Parameters: |
|
|---|
Creates a <link> tag
Creates a <meta> tag
Build a row and return it
| Parameters: |
|
|---|
Creates a <script> tag
Creates a <style> tag