I like the idea, and for smaller projects it could be good.

As an aside, you can already do the following:

mount("/main", PackageName.forClass(AlohaPage.class));

Whats the harm in extending this:

mount("/main", PackageScanner.forClass(AlohaPage.class, WicketPage.class));

which scans the package (and subpackages maybe) for classes with the
supplied annotation if we wanted flexibility.  Because we're scanning just a
known package, we can speed up the process and not scan -everything-.

How about something like that?



On 1/11/08, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>
wrote:
> +10 for exploring, you just never know what handy feature turns up:) I
> meant to say that to in my previous mail.
>

Reply via email to