Re: Class of a wicket page

2010-01-27 Thread Chris Kent
I think the problem is that cwicket.HomePage resolves to a class object (like cwicket.HomePage.class in Java).  So (class cwicket.HomePage) returns the class of the class object which is java.lang.Class.  And that's not a subclass of Wicket's WebPage.  Try this:   (defn -getHomePage [this] cwicket.

Class of a wicket page

2010-01-26 Thread idevai
Hi! I've created the following sources: HomePage.clj: (ns cwicket.HomePage (:gen-class :extends org.apache.wicket.markup.html.WebPage) ) WicketApplication.clj: (ns cwicket.WicketApplication <-->(:gen-class :extends org.apache.wicket.protocol.http.WebApplication) ) (defn -getHomePage [