RE: How to render raw HTML

2009-12-01 Thread Alex Rass
g -Original Message- From: Alec Swan [mailto:alecs...@gmail.com] Sent: Tuesday, December 01, 2009 5:55 PM To: users@wicket.apache.org Subject: How to render raw HTML I am using Wicket 1.4.2 and would like to be able to render raw HTML pages which are stored in an existing database. I saw th

Re: How to render raw HTML

2009-12-01 Thread Igor Vaynberg
afaik all you need is a page that looks like this class rawpage extends webpage { public rawpage(final pageparameters p) { add(new label("content", new loadabledetachablemodel() { public object load() { return database.getmarkup(p.get("pageid")); } }.setescapemodelstrings(fa

How to render raw HTML

2009-12-01 Thread Alec Swan
I am using Wicket 1.4.2 and would like to be able to render raw HTML pages which are stored in an existing database. I saw that other people attempted doing thisand am wondering if ther