*/
public void executeListener(Component component, RequestListenerInterface listener)
{
// there are two ways to do this. RequestCycle could be forced to call the handler
// directly but constructing and parsing the URL increases the chance of triggering bugs
IRequestHandler handler = new ListenerInterfaceRequestHandler(new PageAndComponentProvider(
component.getPage(), component), listener);
Url url = urlFor(handler);
MockHttpServletRequest request = new MockHttpServletRequest(application, hsession,
servletContext);