use of org.apache.wicket.core.request.handler.IPageAndComponentProvider in project wicket by apache.
the class BehaviorRequestTest method urlForBehavior.
private String urlForBehavior(Behavior behaviorUnderTest) {
final int index = page.container.getBehaviorId(behaviorUnderTest);
final IPageAndComponentProvider provider = new PageAndComponentProvider(page, page.container);
final IRequestHandler handler = new ListenerRequestHandler(provider, index);
return tester.urlFor(handler).toString();
}
Aggregations