So, just use reflection. OK. I thought there might have been some Wicket oriented utility. But I am OK with reflection.
-----Original Message----- From: Wilhelmsen Tor Iver [mailto:[email protected]] Sent: Wednesday, September 01, 2010 4:03 AM To: [email protected] Cc: Berlin Brown Subject: SV: Dynamically invoke a page object (Reflection?) > Page page = new Wicket.createPageSomeHow(pageStr); Try reflection, e.g. Class.forName(pageStr).newInstance() for using a parameterless constructor. - Tor Iver --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
