Some of the Blapy features used in this demo:
- definition of the html template in blapy blocks
- Use of the "xmp" tag to escape the html definition of our template in firtname
- Use of the "updateBlock" blapy message to update the results block
- Data input is a pure json object. (Blapy accepts data to be a string containing a json structure...)
- Use of different templates to display data in the "Blapy Block 5" section
- Use of the "updateBlock" event message to update the tables
Blapy demos using json data and Mustache Templating engine (3)
The Form updates the "results" block using "updateBlock" blapy event called from a javascript script.
Other demos:
Select values with the json feature of Blapy
Fill the following form:
Blapy Block results in a Table
Blapy Block 2 results in a second Table
Blapy Block 3 results in a third Table
Blapy Block 4 results in a forth Table
Blapy Block 5 results with different output templates
firstTPL
2ndTPL
My firstname is {{firstname}}!
My lastname is {{lastname}}!