web
11 blocks in 3 groups. Open a block for its pins, an example and how it behaves.
web actions
- web update
flowv15.0.1Gives one element of the page new contents, keeping the element itself: a counter, a total, a message. - web remove
flowv15.0.1Removes one element from the page, e.g. the row of a deleted document. - web redirect
flowv15.0.1Sends the visitor to another page: a real redirect on a page request, a navigation after a web action. - web form errors
flowv15.0.1Shows validation messages next to the fields of the form that sent the action. The browser clears a message as soon as the field is edited. - web insert
flowv15.0.1Adds new HTML to the page: a new row at the end of a table, a new message at the top of a list. - web replace
flowv15.0.1Replaces one element of the page (a row, a card, a button) with new HTML, rendered on the server.
web pages
- new web page
httpconnectionv15.0.1A server-rendered web page on the given URL. Its flow ends inweb render; buttons and forms on the page call this blueprint'son web actionblocks and get back only the parts of the page that changed. - on web action
httpconnectionv15.0.1Runs when a button or form on a web page of this blueprint calls the action with this name (data-action="name"). Answer withweb replace,web remove,web insert,web update,web errorsorweb redirect: only those parts of the page change. - web render
httpconnectionv15.0.1Renders the page template on the server and answers the request with the finished HTML: title, description, canonical link, Open Graph and Twitter tags, hreflang links and JSON-LD are written for you. Custom pins become template variables.
web templates
- web for each
valuev15.0.1Repeats a row template for every item of a list, e.g. the rows of a table. Every row is keyed, so a web action can later replace or remove exactly that row. - web template
valuev15.0.1Renders a template to a piece of HTML: a section of a page, or the new version of one row forweb replace. Custom pins become template variables.