Edit Button


An Edit Button is an Action Button configured to enable the interactive editing mode of a Structr Page when clicked. The edit button must be connected to a set of Dynamic Output Elements which will be replaced by corresponding input fields when the edit action is triggered.


The following fields can be used to configure an edit button.

Element ID Refers to the element that is supposed to be edited.
Example: ${feed.id}
Action The button action, must be edit:<type> for the edit action
Example: edit:DataFeed
Attributes A comma-separated list of names of Active Input Elements that will be written to the given element.
Example: name,url,updateInterval,maxItems,maxAge
Reload Whether to reload the page upon successful creation
Confirm Whether to ask the user for confirmation before executing the action
Return URI The return URI base if reload above is enabled
Append ID Whether to append the ID of the newly created object to the return URI above



About this article
Last change 2017-05-04
Topics Structr 2.0