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:toriv...@arrive.no]
Sent: Wednesday, September 01, 2010 4:03 AM
To: users@wicket.apache.org
Cc: Berlin Brown
Use setResponsePage(newPageClassName(params));
params depends on the Constructor of the WebPage class extension.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamically-invoke-a-page-object-Reflection-tp2402302p2403066.html
Sent from the Wicket - User mailing
What are you trying to do exactly?
On Tue, Aug 31, 2010 at 4:52 PM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
What is the best approach to invoke a page object through the name of
the Page class.
E.g.
String pageStr = com.test.Page;
Page page = new