{
try
{
InvocationTarget target = invocation.getTarget();
ActionLinkTarget actionLinkTarget = Defense.cast(target, ActionLinkTarget.class, "target");
ComponentEventRequestParameters parameters = new ComponentEventRequestParameters(
actionLinkTarget.getPageName(),
actionLinkTarget.getPageName(),
actionLinkTarget.getComponentNestedId(),
actionLinkTarget.getEventType(),
new URLEventContext(contextValueEncoder, invocation.getActivationContext()),
new URLEventContext(contextValueEncoder, invocation.getContext()));