+1 to introduce IFallback I don't understand how Optional could help for this use case
On Wed, May 6, 2015 at 12:03 PM, Martijn Dashorst < martijn.dasho...@gmail.com> wrote: > The WicketTester has a click method that doesn't detect all AJAX > capable links (e.g. the Ajax links in the AjaxPagingNavigator are not > testable). > > When trying to fix this by adding support for IAjaxLink, I noticed > that we also don't support AjaxFallbackButton, and probably a lot more > components. > > Should we introduce a marker interface for fallback components? > > (or should we wait until Optional support arrives with Java 8 in Wicket 8) > > Martijn >