|mustache.js templates [message #1237605]
||Thu, 30 January 2014 05:12
| Paul Ericson
Registered: January 2014
I have an odd use case...|
I have to produce HTML code with mustache.js templates in it. This looks ugly in the JSF Web Page Editor. I'd like either the Preview tab or the Design tab to render the mustache.js templates so I can see what the final HTML code will look like.
To see an example of what I'm talking about Google for "mustache demo".
Top box is the kind of code I have to write. The second box is a JSON data payload and if you click "Render Template", you'll see the final HTML in the third box.
I don't know where I can put the JSON payload and I don't know how to get mustache.js to render the template.
Powered by FUDForum
. Page generated in 0.01736 seconds