SV: wicket 1.4 : Link with no model

2009-11-17 Thread Wilhelmsen Tor Iver
> or a shorter > > Link foo = new Link ... or wait for JDK 1.7 where you can do Link foo = new Link<> Which is more useful in cases like Map> fie = new HashMap<>(); - Tor Iver

Re: wicket 1.4 : Link with no model

2009-11-17 Thread Marcelo Morales
On Mon, Nov 16, 2009 at 6:23 PM, Jeremy Thomerson wrote: > Two things: > > 1 - use Link foo = new Link or a shorter Link foo = new Link -- Marcelo Morales - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For add

Re: wicket 1.4 : Link with no model

2009-11-16 Thread Jeremy Thomerson
Two things: 1 - use Link foo = new Link 2 - for simply redirecting, use bookmarkablepagelink(PersonPage.class). -- Jeremy Thomerson http://www.wickettraining.com On Mon, Nov 16, 2009 at 4:14 PM, smallufo wrote: > Hi > I am migrating my wicket 1.3 project to 1.4. > One problem is this : > >

wicket 1.4 : Link with no model

2009-11-16 Thread smallufo
Hi I am migrating my wicket 1.3 project to 1.4. One problem is this : Link personPageLink = new Link("personPageLink") { @Override public void onClick() { setResponsePage(PersonPage.class); } }; add(personPageLink); Because Link is generized , eclip