New SVN Snapshot: 20080909

Bugfixes, new toys, and all-round happyosity. Pronto for the win.

If you're upgrading an existing app, take special note of the bold item below. You may be required to alter your templates to use the new url() function within grids and $html->link() calls.

  • See the relevant manual section for details.
  • Template::set() now accepts arrays of varibles to set
  • cosmetic improvements in CRUD generator
  • added ability to specify subform column widths in build_form
  • bugfixes for CRUD hooks, some getting called twice
  • added ability to pass a 2-d array to tpForm::select() and have it use <optgroup> tags
  • added tpForm::dom_id() though we're not enforcing it yet
    added tpAJAX::autocomplete_multisel() and the requisite CSS/JS support files
  • added thickbox (no support functions yet)
  • added a module generator alongside the CRUD generator
  • store URL routes in Registry so we don't access it via globals
  • Changed the URL generation, it's now usually required that all urls get passed through url() or absolute_url() first, even when going through tpHTML::link or tpHTML::link_button()
  • added Page::set_ajax()
  • fixed http status code setting via Web::status()
  • changed on-demand (ajax) loading of JS files. Now all 'load' files must complete before all 'run' snippets are executed.
    added backtrace info to error output

Download


Add Your Comment