/** * builds the component tag and checks the tag to be a picture */ @Override protected void onComponentTag(ComponentTag tag) { this.checkComponentTag(tag, "picture"); super.onComponentTag(tag); } }
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); // force this into an open-close tag rather than a self-closing tag tag.setType(TagType.OPEN); }
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put("class", "tab-row"); } }
@Override protected void onComponentTag(ComponentTag tag) { Attribute.setClass(tag, "breadcrumbs"); super.onComponentTag(tag); } }
/** * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag ) */ @Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put("onclick", "return false"); } };
@Override protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); tag.put("class", getTabContainerCssClass()); } };
@Override protected void onComponentTag(final ComponentTag tag) { if (tag.isOpenClose()) { tag.setType(XmlTag.TagType.OPEN); } super.onComponentTag(tag); }
/** * {@inheritDoc} */ @Override protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); tag.put("class", getTabContainerCssClass()); } };
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put("class", this.getMarkupId()); }
@Override protected void onComponentTag(ComponentTag tag) { Attribute.addAttribute(tag, "data-dropdown-content"); Attribute.addClass(tag, "f-dropdown"); super.onComponentTag(tag); } }
@Override protected void onComponentTag(final ComponentTag tag) { if (tag.isOpenClose()) { tag.setType(XmlTag.OPEN); } super.onComponentTag(tag); }
@Override protected void onComponentTag(final ComponentTag tag) { // Convert open-close to open-body-close if (tag.isOpenClose()) { tag.setType(TagType.OPEN); tag.setModified(true); } super.onComponentTag(tag); }
@Override protected void onComponentTag(final ComponentTag tag) { // Convert open-close to open-body-close if (tag.isOpenClose()) { tag.setType(TagType.OPEN); tag.setModified(true); } super.onComponentTag(tag); }
protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); if (!Strings.isEmpty(elementId)) { tag.put("id", elementId); } tag.put("class", "yuimenu"); } };
@Override protected void onComponentTag(ComponentTag tag) { TopBarMenuLayout layout = menuLayoutModel.getObject(); Attribute.addClass(tag, "toggle-topbar"); if (layout.equals(TopBarMenuLayout.ICON) || layout.equals(TopBarMenuLayout.TITLE_AND_ICON)) { Attribute.addClass(tag, "menu-icon"); } super.onComponentTag(tag); }
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); if(new FeedbackCollector(getPage()).collect(filter).size() > 0) tag.append("class", "has-error", " "); }
@Override protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); checkComponentTag(tag, "progress"); if(isDeterminate()) { tag.put("value", String.valueOf(getValue())); tag.put("max", String.valueOf(getMax())); } }
@Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put("style", "background-image: url('" + RequestCycle.get().urlFor(getMenuIcon(node)) + "')"); } };
@Override protected void onComponentTag(final ComponentTag tag) { final Response response = RequestCycle.get().getResponse(); final String svgMarkup = getSvgMarkup(size, getExtraCssClasses()); response.write(svgMarkup); super.onComponentTag(tag); } };
@Override protected void onComponentTag(ComponentTag tag) { Attribute.addAttribute(tag, "data-dropdown-content"); Attribute.addClass(tag, "f-dropdown"); Attribute.addClass(tag, "content"); Attribute.addAttribute(tag, "aria-hidden", true); Attribute.addAttribute(tag, "tabindex", -1); super.onComponentTag(tag); }