270 | | to have this automated. This will render all sub-items in the order they are defined, and return the result as a list of web2py HTML helper instances. |
271 | | |
272 | | Note that the layout method should never just render sub-items - because they could be of different classes. Always run the sub-item's render() method in order to have it status-checked and rendered properly, or even better use render_components() of the current item. |
| 270 | This will status-check and render all sub-items in the correct order, and return the result as a list of web2py HTML helper instances. |
| 271 | |
| 272 | '''Note''' that the layout method should never just render sub-items - because they could be of different classes. Always run the sub-item's render() method in order to have it status-checked and rendered properly, or even better use render_components() of the current item. |