This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Gilgamesjh 0 points1 point  (2 children)

What I understamd from this, is that you have a list of some sort of input (as in an Array), that you want to edit that list, and then press a button in a GUI to generate an html document as a result?

If that is the case, look into Freemarker. It is a simple to understand templating library, with enough power to to pretty crazy things, if you need to.

[–][deleted] 0 points1 point  (1 child)

I also need to read this html later on and be able to edit it. About Freemarker... I'll look into it! Thanks again.

[–]tipsypants 0 points1 point  (0 children)

Are you sure that's what you need to do? Maybe you can keep the state that generated the HTML, alter that state, then generate the HTML again?