Gerald, You have to use Java version 5. Earlier versions don't support generics. I believe Wicket 1.4 requires Java 5.
cheers Marcin Gerald Fernando wrote: > > Hi marchin, > in your code > > > HashMap<String, Panel> tabMap = new HashMap<String, Panel>(); - this is a > line which shows error > > there is is error such as > > Parameterized types are only avilable if source level is 5. > what is this error how can i solve it? > > Thanks&Regards, > Gerald A > > > > On Tue, Jul 21, 2009 at 3:30 PM, Marcin Palka > <[email protected]>wrote: > >> >> See an example in the attached file. It should be quite easy to >> understand. >> The example consists of two pages. First of them contains a tabbed panel >> with three tabs. Each of them contains a panel (an instance of the same >> panel class). The the same panel is embedded outside the tabbed panel >> into >> a >> page contents directly. Another page contains the same panel embedded >> once >> again. >> >> http://www.nabble.com/file/p24584839/TabsExample.zip TabsExample.zip >> >> cheers, >> Marcin >> -- >> View this message in context: >> http://www.nabble.com/Tab-panel-child-tp24564353p24584839.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > Thanks®ards, > Gerald A > > -- View this message in context: http://www.nabble.com/Tab-panel-child-tp24564353p24586058.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
