> 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
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
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 :
>
>
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