controller_test_helloworld
Example controller used by the Zotonic test sandbox.
It renders test_helloworld.tpl and demonstrates handling postbacks, form
submissions, drag-and-drop events, sorting, updates, dialogs, alerts, and growl
messages.
Handled events
show_confirm,show_alert, andconfirm_okdemonstrate confirmation and alert actions.show_growlandshow_growl_staydemonstrate transient and persistent growl messages.fill_content,insert_top, andinsert_bottomdemonstrate updating and inserting rendered content.#drop{}and#drag{}report drag-and-drop interactions.#sort{}reports the resulting item order.#submit{}reads a validated email field and displays its value.