Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Actions · mod_wires
  • Reference
  • Frontend developer
  • Routing and redirects
  • Wire action
  • JavaScript

reload

Module

mod_wires

Reload the current page.

Example:

{% button text="refresh" action={reload} %}

Clicking on the button will reload the page.

Edit on GitHub

Related documentation

Actions

redirect

This action redirects the browser to another page or back to the previous page.

Cotonic models

model/wires Cotonic

model/wires Connects Cotonic messages to named Zotonic events through the wires script.

Actions

enable

Resets the “disabled” attribute of a HTML tag and removes the CSS class “disabled”.

Actions

alert

Show an alert dialog.

Scomp

wire_args

Add extra arguments to wired actions.

Actions

mask

Places a mask over an element, useful for blocking user interaction during lengthy postbacks.

Scomp

sortable

Mark an element as sortable.

Actions

disable

Sets the “disabled” attribute of a HTML tag and adds the CSS class “disabled”.

Actions

overlay_close

Closes the currently open overlay. When there is no overlay open then nothing happens.

GitHub © 2026 Zotonic