add (new Link<Person>("edit", person) { public void onClick () { setResponsePage (new EditPersonPage (getModel())); } });
This code makes a lot more sense if it is inside a repeater... Rodolfo Hansen-2 wrote: > > I too like this compromise alot > > Although I don't see a good use case for generifying Link ? > Am I missing something? > > > On Fri, Jun 27, 2008 at 2:49 PM, Timo Rantalaiho <[EMAIL PROTECTED]> > wrote: > >> On Fri, 27 Jun 2008, Igor Vaynberg wrote: >> > since no one complained, should we apply this change over the weekend? >> > and soon thereafter release m3? >> >> I prefer this over M2. Even though: >> >> > > user). so far these are link,form,formcomponent >> >> Link might be better without the type parameter. It's no big >> deal though. >> >> And yes, it would be good if for example Johan and Gerolf >> who have invested a lot of effort on the generification >> could have a closer look and tell what they think before >> proceeding. >> >> Best wishes, >> Timo >> >> -- >> Timo Rantalaiho >> Reaktor Innovations Oy <URL: http://www.ri.fi/ > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/generics-tp18083910p18222901.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]