The most common method expression/binding like closure you will use in Gracelets is most likely going
to be action closures. These can replace the 'action' attribute of most of the UICommand based components, like
the JSF Html CommandLink and CommandButton components.

These work just like normal method expressions/bindings. For instance, in regards
to navigation, if you return a string from inside the closure, it will be used
to do noraml JSF navigation. So if there is a navigation rule or case matching the
outcome you return expect the navigation system to kick in.

Here we use an action closure to assign (or "outject") the selected record to the 'selectedEntity'
context variable. Then we return a string that will be used to navigate to the page where the
user could then edit the selected record.