Skip to main content

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 EricsonFriend
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: Tue Nov 13 19:51:24 GMT 2018

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

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

Back to the top