@Override
	public void serviceRequest(final Request request) {
		// Check if this is a targeted request
		targetId = request.getParameter(Environment.TARGET_ID);
		if (targetId == null) {
			throw new SystemException("No target id request parameter");
		}

		ComponentWithContext target = WebUtilities.getComponentById(targetId, true);
		if (target == null) {
			throw new SystemException("No target component found for id " + targetId);
		}

		// go straight to the target component.
		attachUI(target.getComponent());

		UIContextHolder.pushContext(target.getContext());
		try {
			super.serviceRequest(request);
		} finally {
			UIContextHolder.popContext();
		}
	}
@ Override public void serviceRequest ( final Request request ) { targetId = request . getParameter ( Environment . TARGET_ID ) ; if ( targetId == null ) { throw new SystemException ( "No target id request parameter" ) ; } ComponentWithContext target = WebUtilities . getComponentById ( targetId , true ) ; if ( target == null ) { throw new SystemException ( "No target component found for id " + targetId ) ; } attachUI ( target . getComponent ( ) ) ; UIContextHolder . pushContext ( target . getContext ( ) ) ; try { super . serviceRequest ( request ) ; } finally { UIContextHolder . popContext ( ) ; } }
{@inheritDoc}