Make the Freemarker template for generating proxies more generic

This commit is contained in:
jendave
2011-10-12 18:51:11 +00:00
parent a36d3d2c44
commit 8750c6df2d
4 changed files with 10 additions and 3 deletions

View File

@@ -636,6 +636,9 @@ public class DeckManager {
*/
private static void writeDeckHtml(final Deck d, final BufferedWriter out) throws IOException {
Template temp = null;
int cardBorder = 0;
int height = 319;
int width = 222;
/* Create and adjust the configuration */
Configuration cfg = new Configuration();
@@ -659,6 +662,9 @@ public class DeckManager {
list.add(card.getSets().get(0).URL);
}
root.put("urls", list);
root.put("cardBorder", cardBorder);
root.put("height", height);
root.put("width", width);
/* Merge data-model with template */
//StringWriter sw = new StringWriter();