Java Code Examples for org.apache.wicket.Component

The following are top voted examples for showing how to use org.apache.wicket.Component. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: karate   File: VarsRefreshingView.java   View source code 6 votes vote down vote up
@Override
protected void populateItem(Item<Var> item) {
    String name = item.getModel().getObject().getName();
    item.add(new AjaxLink("show") {
        @Override
        public void onClick(AjaxRequestTarget target) {
            selectedName = name;
            Component headerPanel = getPage().get(BasePage.STICKY_HEADER_ID);
            VarModel varModel = new VarModel(model.getSessionId(), name);
            VarPanel varPanel = new VarPanel(BasePage.STICKY_HEADER_ID, varModel, VarsRefreshingView.this);                
            headerPanel = headerPanel.replaceWith(varPanel);
            target.add(headerPanel);
            Component varsPanel = getPage().get(BasePage.LEFT_NAV_ID);
            target.add(varsPanel);
        }
    }.add(new Label("name", name)));
    String type = item.getModel().getObject().getValue().getTypeAsShortString();
    item.add(new Label("type", type));
    if (name.equals(selectedName)) {
        item.add(new AttributeModifier("class", "success"));
    }
}
 
Example 2
Project: gitplex-mit   File: UserListPage.java   View source code 6 votes vote down vote up
@Override
protected List<ComponentRenderer> getBreadcrumbs() {
	List<ComponentRenderer> breadcrumbs = super.getBreadcrumbs();
	
	breadcrumbs.add(new ComponentRenderer() {

		@Override
		public Component render(String componentId) {
			return new ViewStateAwarePageLink<Void>(componentId, UserListPage.class) {

				@Override
				public IModel<?> getBody() {
					return Model.of("Users");
				}
				
			};
		}
		
	});

	return breadcrumbs;
}
 
Example 3
Project: gitplex-mit   File: LayoutPage.java   View source code 6 votes vote down vote up
protected List<ComponentRenderer> getBreadcrumbs() {
	List<ComponentRenderer> breadcrumbs = new ArrayList<>();
	
	breadcrumbs.add(new ComponentRenderer() {
		
		@Override
		public Component render(String componentId) {
			return new ViewStateAwarePageLink<Void>(componentId, DashboardPage.class) {

				@Override
				public IModel<?> getBody() {
					return Model.of("Home");
				}
				
			};
		}
	});
	
	return breadcrumbs;
}
 
Example 4
Project: gitplex-mit   File: FailsafeRendererProvider.java   View source code 6 votes vote down vote up
@Override
public PrioritizedComponentRenderer getRenderer(BlobRenderContext context) {
	return new PrioritizedComponentRenderer() {

		private static final long serialVersionUID = 1L;

		@Override
		public Component render(String componentId) {
			return new FailsafeViewPanel(componentId, context);
		}

		@Override
		public int getPriority() {
			return Integer.MAX_VALUE;
		}
		
	};
}
 
Example 5
Project: gitplex-mit   File: ProjectBlobPage.java   View source code 6 votes vote down vote up
private void newBlobContent(@Nullable AjaxRequestTarget target) {
	PrioritizedComponentRenderer mostPrioritizedRenderer = null;
	for (BlobRendererContribution contribution: GitPlex.getExtensions(BlobRendererContribution.class)) {
		PrioritizedComponentRenderer renderer = contribution.getRenderer(this);
		if (renderer != null) {
			if (mostPrioritizedRenderer == null || mostPrioritizedRenderer.getPriority() > renderer.getPriority())
				mostPrioritizedRenderer = renderer;
		}
	}
	Component blobContent = Preconditions.checkNotNull(mostPrioritizedRenderer).render(BLOB_CONTENT_ID);
	if (target != null) {
		replace(blobContent);
		target.add(blobContent);
	} else {
		add(blobContent);
	}
}
 
Example 6
Project: gitplex-mit   File: GroupListPage.java   View source code 6 votes vote down vote up
@Override
protected List<ComponentRenderer> getBreadcrumbs() {
	List<ComponentRenderer> breadcrumbs = super.getBreadcrumbs();
	
	breadcrumbs.add(new ComponentRenderer() {

		@Override
		public Component render(String componentId) {
			return new ViewStateAwarePageLink<Void>(componentId, GroupListPage.class) {

				@Override
				public IModel<?> getBody() {
					return Model.of("Groups");
				}
				
			};
		}
		
	});

	return breadcrumbs;
}
 
Example 7
Project: gitplex-mit   File: ConcreteListPropertyEditor.java   View source code 6 votes vote down vote up
@SuppressWarnings("unchecked")
private List<PropertyEditor<Serializable>> getPropertyEditorsAtRow(int index) {
	WebMarkupContainer table = (WebMarkupContainer) get("listEditor");
	RepeatingView rows = (RepeatingView) table.get("elements");

	int currentIndex = 0;
	Iterator<Component> it = rows.iterator();
	Component row = it.next();
	while (currentIndex++ < index) {
		row = it.next();
	}
	
	List<PropertyEditor<Serializable>> propertyEditors = new ArrayList<>();
	RepeatingView columns = (RepeatingView) row.get("properties");
	for (Component column: columns) {
		propertyEditors.add((PropertyEditor<Serializable>) column.get("propertyEditor"));
	}
	
	return propertyEditors;
}
 
Example 8
Project: gitplex-mit   File: NoNameRendererProvider.java   View source code 6 votes vote down vote up
@Override
public PrioritizedComponentRenderer getRenderer(BlobRenderContext context) {
	if (context.getMode() == Mode.ADD && context.getNewPath() == null) {
		return new PrioritizedComponentRenderer() {
			
			private static final long serialVersionUID = 1L;

			@Override
			public Component render(String componentId) {
				return new NoNameEditPanel(componentId, context);
			}
			
			@Override
			public int getPriority() {
				return 0;
			}
		};
	} else {
		return null;
	}		
}
 
Example 9
Project: gitplex-mit   File: RevisionDiffPanel.java   View source code 6 votes vote down vote up
@Nullable
private SourceAware getSourceAware(String path) {
	return diffsView.visitChildren(new IVisitor<Component, SourceAware>() {

		@SuppressWarnings("unchecked")
		@Override
		public void component(Component object, IVisit<SourceAware> visit) {
			if (object instanceof ListItem) {
				ListItem<BlobChange> item = (ListItem<BlobChange>) object;
				if (item.getModelObject().getPaths().contains(path)) {
					visit.stop((SourceAware) item.get(DIFF_ID));
				} else {
					visit.dontGoDeeper();
				}
			} 
		}

	});
}
 
Example 10
Project: gitplex-mit   File: ModalLink.java   View source code 6 votes vote down vote up
@Override
public void onClick(AjaxRequestTarget target) {
	// if modal has not been created, or has been removed from page 
	// when the same page instance is refreshed 
	if (modal == null || modal.getParent() == null) {
		modal = new ModalPanel(target) {

			@Override
			protected Component newContent(String id) {
				return ModalLink.this.newContent(id, this);
			}

			@Override
			protected void onClosed() {
				super.onClosed();
				modal = null;
			}
			
		};
	}
}
 
Example 11
Project: gitplex-mit   File: VerificationStatusPanel.java   View source code 5 votes vote down vote up
@Override
protected void onInitialize() {
	super.onInitialize();
	
	add(new DropdownLink("status") {

		@Override
		protected Component newContent(String id, FloatingPanel floating) {
			return new VerificationDetailPanel(id, VerificationStatusPanel.this.getModel());
		}

		@Override
		protected void onComponentTag(ComponentTag tag) {
			super.onComponentTag(tag);

			Collection<Verification> verifications = VerificationStatusPanel.this.getModelObject().values();
			if (hasStatus(verifications, Status.ERROR)) {
				tag.put("class", "verification-status error fa fa-warning");
				tag.put("title", "Some verifications are in error, click for details");
			} else if (hasStatus(verifications, Status.FAILURE)) {
				tag.put("class", "verification-status failure fa fa-times");
				tag.put("title", "Some verifications are failed, click for details");
			} else if (hasStatus(verifications, Status.RUNNING)) {
				tag.put("class", "verification-status running fa fa-circle");
				tag.put("title", "Some verifications are running, click for details");
			} else if (hasStatus(verifications, Status.SUCCESS)) {
				tag.put("class", "verification-status success fa fa-check");
				tag.put("title", "Verifications are successful, click for details");
			}
		}
		
	});
	
	setOutputMarkupPlaceholderTag(true);
}
 
Example 12
Project: karate   File: VarPanel.java   View source code 5 votes vote down vote up
public VarPanel(String id, VarModel model, VarsRefreshingView varsView) {
	super(id);
       IModel<String> txtModel = new IModel<String>() {
           @Override
           public String getObject() {
               return model.getObject().getValue().getAsString();
           }            
           @Override
           public void setObject(String object) {
              
           }
           @Override
           public void detach() {}
       };
       add(new TextArea("value", txtModel));
       String title = model.getObject().getName() + " - " + model.getObject().getValue().getType();
       add(new Label("title", title));
       add(new AjaxLink("close") {
           @Override
           public void onClick(AjaxRequestTarget target) {
               varsView.setSelectedName(null);
               Component headerPanel = VarPanel.this;
               headerPanel = headerPanel.replaceWith(new Label(BasePage.STICKY_HEADER_ID, ""));
               target.add(headerPanel);
               Component varsPanel = varsView.getParent();
               target.add(varsPanel);                        
           }
       });
}
 
Example 13
Project: gitplex-mit   File: DropdownHover.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);
	
	response.render(JavaScriptHeaderItem.forReference(new DropdownHoverResourceReference()));
	String script = String.format("gitplex.server.dropdownhover.init('%s', %s, %s);", 
			getComponent().getMarkupId(true), hoverDelay, getCallbackFunction());
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 14
Project: gitplex-mit   File: TooltipBehavior.java   View source code 5 votes vote down vote up
@Override
public void onComponentTag(Component component, ComponentTag tag) {
	String original = tag.getAttribute("title");
	
	super.onComponentTag(component, tag);
	
	// hack here
	String current = tag.getAttribute("title");
	if (!Strings.isNullOrEmpty(original) && Strings.isNullOrEmpty(current)) {
		tag.put("title", original);
	}
}
 
Example 15
Project: gitplex-mit   File: CollapseBehavior.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);

	String script = String.format("gitplex.server.setupCollapse('%s', '%s')", component.getMarkupId(), target.getMarkupId());
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 16
Project: gitplex-mit   File: SortBehavior.java   View source code 5 votes vote down vote up
@Override
protected void respond(AjaxRequestTarget target) {
	int fromList = RequestCycle.get().getRequest().getPostParameters()
			.getParameterValue("fromList").toInt();
	int fromItem = RequestCycle.get().getRequest().getPostParameters()
			.getParameterValue("fromItem").toInt();
	int toList = RequestCycle.get().getRequest().getPostParameters()
			.getParameterValue("toList").toInt();
	int toItem = RequestCycle.get().getRequest().getPostParameters()
			.getParameterValue("toItem").toInt();
	if (fromList != toList || fromItem != toItem) {
		onSort(target, new SortPosition(fromList, fromItem), new SortPosition(toList, toItem));
		String script = String.format("gitplex.server.form.markDirty($('#%s').closest('form.leave-confirm'));", 
				getComponent().getMarkupId(true));
		target.appendJavaScript(script);
		
		for (Component each: target.getComponents()) {
			if (each == getComponent()) {
				target.appendJavaScript(getSortScript());
				break;
			}
			MarkupContainer container = (MarkupContainer) each;
			if (container.contains(getComponent(), true)) {
				target.appendJavaScript(getSortScript());
				break;
			}
		}
	}
}
 
Example 17
Project: gitplex-mit   File: InfiniteScrollBehavior.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);
	response.render(JavaScriptReferenceHeaderItem.forReference(new InfiniteScrollResourceReference()));
	
	CharSequence url = RequestCycle.get().urlFor(new PackageResourceReference(
			InfiniteScrollBehavior.class, "ajax-indicator.gif"), new PageParameters());
	String script = String.format("gitplex.infiniteScroll.init('%s', %s, '%s', %s);", 
			component.getMarkupId(true), getCallbackFunction(explicit("page")), url, pageSize);
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 18
Project: gitplex-mit   File: AssistPanel.java   View source code 5 votes vote down vote up
public AssistPanel(String id, Component input, InputStatus inputStatus, List<InputCompletion> suggestions, 
		List<String> hints) {
	super(id);
	this.input = input;
	this.inputStatus = inputStatus;
	this.hints = hints;
	this.suggestions = suggestions;
}
 
Example 19
Project: gitplex-mit   File: InputAssistBehavior.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);

	response.render(JavaScriptHeaderItem.forReference(new InputAssistResourceReference()));
	
	String script = String.format("gitplex.server.inputassist.init('%s', %s);", 
			getComponent().getMarkupId(true), 
			getCallbackFunction(explicit("type"), explicit("input"), explicit("caret")));
	
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 20
Project: gitplex-mit   File: BlobDiffPanel.java   View source code 5 votes vote down vote up
@Override
public void onCommentAdded(AjaxRequestTarget target, CodeComment comment) {
	Component content = get(CONTENT_ID);
	if (content instanceof SourceAware) {
		SourceAware sourceAware = (SourceAware) content;
		sourceAware.onCommentAdded(target, comment);
	}
}
 
Example 21
Project: gitplex-mit   File: BlobDiffPanel.java   View source code 5 votes vote down vote up
@Override
public void onUnblame(AjaxRequestTarget target) {
	Component content = get(CONTENT_ID);
	if (content instanceof SourceAware) {
		SourceAware sourceAware = (SourceAware) content;
		sourceAware.onUnblame(target);
	}
}
 
Example 22
Project: gitplex-mit   File: AutoHeightBehavior.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);

	String script = String.format("gitplex.server.autoHeight('#%s', %d);", 
				component.getMarkupId(), bottomOffset);
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 23
Project: gitplex-mit   File: OnTypingDoneBehavior.java   View source code 5 votes vote down vote up
@Override
public void renderHead(Component component, IHeaderResponse response) {
	super.renderHead(component, response);

	response.render(JavaScriptHeaderItem.forReference(new DoneEventsResourceReference()));
	String script = String.format(""
			+ "$('#%s').doneEvents('input', function() {"
			+ "  $(this).trigger('donetyping');"
			+ "}, %s);",
			component.getMarkupId(true), timeout);
	response.render(OnDomReadyHeaderItem.forScript(script));
}
 
Example 24
Project: gitplex-mit   File: BlobDiffPanel.java   View source code 5 votes vote down vote up
@Override
public void onCommentClosed(AjaxRequestTarget target, CodeComment comment) {
	Component content = get(CONTENT_ID);
	if (content instanceof SourceAware) {
		SourceAware sourceAware = (SourceAware) content;
		sourceAware.onCommentClosed(target, comment);
	}
}
 
Example 25
Project: gitplex-mit   File: BlobDiffPanel.java   View source code 5 votes vote down vote up
@Override
public void onCommentDeleted(AjaxRequestTarget target, CodeComment comment) {
	Component content = get(CONTENT_ID);
	if (content instanceof SourceAware) {
		SourceAware sourceAware = (SourceAware) content;
		sourceAware.onCommentDeleted(target, comment);
	}
}
 
Example 26
Project: gitplex-mit   File: ProjectCommitsPage.java   View source code 5 votes vote down vote up
private RepeatingView newCommitsView() {
	RepeatingView commitsView = new RepeatingView("commits");
	commitsView.setOutputMarkupId(true);
	
	int commitIndex = 0;
	List<RevCommit> commits = commitsModel.getObject().current;
	for (int i=0; i<commits.size(); i++) {
		Component item = newCommitItem(commitsView.newChildId(), i);
		if (commits.get(i) != null)
			addCommitClass(item, commitIndex++);
		commitsView.add(item);
	}
	
	return commitsView;
}
 
Example 27
Project: gitplex-mit   File: PropertyContext.java   View source code 5 votes vote down vote up
public static Component viewModel(String componentId, final IModel<Serializable> beanModel, String propertyName) {
	final PropertyContext<Serializable> editContext = of(beanModel.getObject().getClass(), propertyName);
	return editContext.renderForView(componentId, new LoadableDetachableModel<Serializable>() {

		@Override
		protected Serializable load() {
			return (Serializable) editContext.getPropertyValue(beanModel.getObject());
		}
		
	});
}
 
Example 28
Project: gitplex-mit   File: PolymorphicListPropertyEditor.java   View source code 5 votes vote down vote up
private Component newElementEditor(Serializable element) {
	Component elementEditor;
	if (element != null) {
		elementEditor = BeanContext.editBean("elementEditor", element);
	} else {
		elementEditor = new WebMarkupContainer("elementEditor").setVisible(false);
	}
	elementEditor.setOutputMarkupId(true);
	elementEditor.setOutputMarkupPlaceholderTag(true);
	return elementEditor;
}
 
Example 29
Project: gitplex-mit   File: ProjectPicker.java   View source code 5 votes vote down vote up
@Override
protected Component newContent(String id, FloatingPanel dropdown) {
	return new ProjectSelector(id, projectsModel, currentProjectId) {

		@Override
		protected void onSelect(AjaxRequestTarget target, Project project) {
			dropdown.close();
			target.add(ProjectPicker.this);
			ProjectPicker.this.onSelect(target, project);
		}

	};
}
 
Example 30
Project: gitplex-mit   File: PolymorphicListPropertyEditor.java   View source code 5 votes vote down vote up
@Override
protected List<Serializable> convertInputToValue() throws ConversionException {
	if (get("listEditor").isVisible()) {
		List<Serializable> newList = newList();
		RepeatingView rows = (RepeatingView) get("listEditor").get("elements");
		for (Component row: rows) {
			@SuppressWarnings("unchecked")
			BeanEditor<Serializable> elementEditor = (BeanEditor<Serializable>) row.get("elementEditor");
			newList.add(elementEditor.getConvertedInput());
		}
		return newList;
	} else {
		return null;
	}
}
 
Example 31
Project: gitplex-mit   File: ProjectBlobPage.java   View source code 5 votes vote down vote up
private void newBlobNavigator(@Nullable AjaxRequestTarget target) {
	Component blobNavigator = new BlobNavigator(BLOB_NAVIGATOR_ID, this);
	if (target != null) {
		replace(blobNavigator);
		target.add(blobNavigator);
	} else {
		add(blobNavigator);
	}
}
 
Example 32
Project: gitplex-mit   File: WicketUtils.java   View source code 5 votes vote down vote up
public static void markLastVisibleChild(WebMarkupContainer container) {
	Component lastVisible = null;
	for (Component child: container) {
		for (Behavior behavior: child.getBehaviors()) {
			if (behavior instanceof LastVisibleAppender) {
				child.remove(behavior);
			}
		}
		child.configure();
		if (child.isVisible())
			lastVisible = child;
	}
	if (lastVisible != null)
		lastVisible.add(new LastVisibleAppender("class", "last-visible").setSeparator(" "));
}
 
Example 33
Project: gitplex-mit   File: TrackViewStateListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getBeforeHandler(Component component) {
	String script = "gitplex.server.viewState.getFromViewAndSetToHistory();";
	if (carryOver) {
		script += "gitplex.server.viewState.carryOver = gitplex.server.viewState.getFromHistory();";
	} else {
		script += "gitplex.server.viewState.carryOver = undefined;";
	}
	return script;
}
 
Example 34
Project: gitplex-mit   File: ConfirmSwitchFileListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getPrecondition(Component component) {
	if (path != null) {
		return String.format("return gitplex.server.searchResult.confirmSwitchFileByPath('%s');", 
				StringEscapeUtils.escapeEcmaScript(path));
	} else {
		return String.format("return gitplex.server.searchResult.confirmSwitchFileByLink('%s');", 
				component.getMarkupId(true));
	}
}
 
Example 35
Project: gitplex-mit   File: CompositeAjaxCallListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getPrecondition(Component component) {
	StringBuffer mergedPrecondition = new StringBuffer();
	for (IAjaxCallListener listener: listeners) {
		CharSequence precondition = listener.getPrecondition(component);
		if (precondition != null)
			mergedPrecondition.append(precondition);
	}
	if (mergedPrecondition.length() != 0)
		return mergedPrecondition;
	else
		return null;
}
 
Example 36
Project: gitplex-mit   File: ModalPanel.java   View source code 5 votes vote down vote up
@Override
protected void onInitialize() {
	super.onInitialize();
	
	WebMarkupContainer dialog = new WebMarkupContainer("dialog");
	add(dialog);
	
	dialog.add(newContent(CONTENT_ID));
	
	if (size == Size.LARGE)
		dialog.add(AttributeAppender.append("class", "modal-lg"));
	else if (size == Size.SMALL)
		dialog.add(AttributeAppender.append("class", "modal-sm"));
	
	add(new AbstractPostAjaxBehavior() {
		
		@Override
		protected void respond(AjaxRequestTarget target) {
			ModalPanel.this.remove();
			onClosed();
		}
		
		@Override
		public void renderHead(Component component, IHeaderResponse response) {
			super.renderHead(component, response);

			response.render(JavaScriptHeaderItem.forReference(new ModalResourceReference()));
			
			String script = String.format("gitplex.server.modal.onDomReady('%s', %s);", 
					getMarkupId(true), getCallbackFunction());
			response.render(OnDomReadyHeaderItem.forScript(script));
		}

	});
	
	setOutputMarkupId(true);
}
 
Example 37
Project: gitplex-mit   File: CompositeAjaxCallListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getAfterHandler(Component component) {
	StringBuffer mergedAfterHandler = new StringBuffer();
	for (IAjaxCallListener listener: listeners) {
		CharSequence afterHandler = listener.getAfterHandler(component);
		if (afterHandler != null)
			mergedAfterHandler.append(afterHandler);
	}
	if (mergedAfterHandler.length() != 0)
		return mergedAfterHandler;
	else
		return null;
}
 
Example 38
Project: gitplex-mit   File: CompositeAjaxCallListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getSuccessHandler(Component component) {
	StringBuffer mergedSuccessHandler = new StringBuffer();
	for (IAjaxCallListener listener: listeners) {
		CharSequence successHandler = listener.getSuccessHandler(component);
		if (successHandler != null)
			mergedSuccessHandler.append(successHandler);
	}
	if (mergedSuccessHandler.length() != 0)
		return mergedSuccessHandler;
	else
		return null;
}
 
Example 39
Project: gitplex-mit   File: CompositeAjaxCallListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getFailureHandler(Component component) {
	StringBuffer mergedFailureHandler = new StringBuffer();
	for (IAjaxCallListener listener: listeners) {
		CharSequence failureHandler = listener.getFailureHandler(component);
		if (failureHandler != null)
			mergedFailureHandler.append(failureHandler);
	}
	if (mergedFailureHandler.length() != 0)
		return mergedFailureHandler;
	else
		return null;
}
 
Example 40
Project: gitplex-mit   File: IndicateWorkingListener.java   View source code 5 votes vote down vote up
@Override
public CharSequence getBeforeSendHandler(Component component) {
	IRequestHandler handler = new ResourceReferenceRequestHandler(
			AbstractPostAjaxBehavior.INDICATOR);
	CharSequence url = RequestCycle.get().urlFor(handler);
	return String.format(""
			+ "$('#%s-working-indicator').remove(); "
			+ "$('#%s').after('<img id=\"%s-working-indicator\" src=\"%s\" class=\"working-indicator\"></img>');", 
			component.getMarkupId(), component.getMarkupId(), component.getMarkupId(), url);
}