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.
I would prefer the interface because Wicket 6 / 7 users should also see that
components are not supported.
kind regards
Tobias
Am 06.05.2015 um 11:03 schrieb Martijn Dashorst martijn.dasho...@gmail.com:
The WicketTester has a click method that doesn't detect all AJAX
capable links (e.g.
On May 6, 2015 3:10 PM, Martijn Dashorst martijn.dasho...@gmail.com
wrote:
On Wed, May 6, 2015 at 1:35 PM, Martin Grigorov mgrigo...@apache.org
wrote:
+1 to introduce IFallback
I don't understand how Optional could help for this use case
Change the onClick signature (perhaps only for
Hi,
On Wed, May 6, 2015 at 12:25 PM, dasho...@apache.org wrote:
Repository: wicket
Updated Branches:
refs/heads/wicket-6.x e4c1d939f - 0199bfab7
Added WicketTester support for IAjaxLink
WicketTester didn't click direct IAjaxLink implementations using an
Ajax request but a normal
On Wed, May 6, 2015 at 1:35 PM, Martin Grigorov mgrigo...@apache.org wrote:
+1 to introduce IFallback
I don't understand how Optional could help for this use case
Change the onClick signature (perhaps only for Ajax fallback components):
public void onClick(OptionalAjaxRequestTarget target) {
On Mon, May 4, 2015 at 9:26 PM, Martin Grigorov mgrigo...@apache.org
wrote:
What's wrong with 'instanceof'+casting?
Nothing, except it's more verbose. I'll go do that.
I was wondering if it might be worth it to add a way to define the error
keys with a setter of PatternValidator. We usually
+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
Hi,
As I already mentioned the other day I was porting some changes from
master branch to the wicket-6.x branch
(http://apache-wicket.1842946.n4.nabble.com/wicketstuff-Need-help-with-cherry-picking-td4670615.html)
and had some trouble doing so, since Git was not able to cherry-pick my
changes