First off, I am just starting out in both Java development, and wicket, so I'm probably doing this way wrong. So, if anyone wants to correct my methodologies, please do.
Here is the scenario. I have a bookmarkable page, that I want users to be able to bookmark with page parameters. Those page parameters will essentially point to dozens of potential "Panels". Those parameters also will reference the name of the panels as stored in a properties file. For example: URL: http://domain/app/page/m/up The "m" parameter contains the reference to module "up". The page component will lookup "up" within the properties file, or multiple to pull: -up=UserPanel Now at this point, I want to add that value as an actual UserPanel to the page. For example: add(new UserPanel("contentPanel")); That is where I am getting stuck. I know the value of "UserPanel" as a string, but now sure how to then actually convert that so that I can actually create a new UserPanel object, without having to hardcode just that. This is probably more of a general Java understanding, than it is a wicket problem. But, I was hoping anyone could point me in the right direction, or explain to me how much easier this is to do using some wicket feature I haven't figure out yet. -- View this message in context: http://www.nabble.com/Calling-Methods-based-on-page-parameters-tf4448115.html#a12691428 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]