Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » mustache.js templates(How to expand mustache.js templates in Web Page Editor)
mustache.js templates [message #1237605] Thu, 30 January 2014 05:12
Paul Ericson is currently offline Paul Ericson
Messages: 4
Registered: January 2014
Junior Member
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.

Any thoughts?
Previous Topic:JSF content assist freezes Eclipse while downloading xhtml DTDs
Next Topic:JSF Web Page Editor Preview Problem
Goto Forum:
  


Current Time: Thu Oct 23 09:32:31 GMT 2014

Powered by FUDForum. Page generated in 0.06636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software