The edit snippet
The list snippet
The instance of ModelView that wraps the currently loaded entity
An "edit" BindParam
create an anchor tag around a body
create an anchor tag around a body
- the target
- the function to invoke when the link is clicked
- the NodeSeq to wrap in the anchor tag
- the (optional) attributes for the HTML element
Action when save is successful.
Action when save is successful. Defaults to using the ModelView's redirectOnSave
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
A "remove" BindParam
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
A snippet that can list and edit items of a particular Mapper class This trait can help reduce boilerplate in the common scenario where you want a snippet class to provide list and edit snippets for a specific Mapper class.