Pexeso Wiki
Status: Beta
Brought to you by:
javol
Binding expression is expression that evaluates to result. It can be defined as attribute value of the component's element where the attribute name matches property of that component or it can be plainly defined inside the text contents.
Example:
<!-- example of expression inside text contents -->
<h:p>Username: {$this->username->value}</h:p>
<!-- example of expression as attribute value -->
<px:TextField px:id="random" readOnly="true" value="{rand(0,10)}"/>
Rules that applies:
$target can be used in scope of the expression to refer the component whose property is being assigned - binding target