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(false));
  }
}

-igor

On Tue, Dec 1, 2009 at 2:54 PM, Alec Swan <[email protected]> wrote:
> 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 
> this<http://markmail.org/message/sleaiygl3buwgqcn#query:AutoComponentPanel+page:1+mid:sleaiygl3buwgqcn+state:results>and
> am wondering if there is a way to do this without creating a lot of
> custom code?
>
> Thanks,
>
> Alec
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to