/** * Get the type of associated markup for this component. * * @return The type of associated markup for this component (for example, "html", "wml" or * "vxml"). The markup type for a component is independent of whether or not the * component actually has an associated markup resource file (which is determined at * runtime). If there is no markup type for a component, null may be returned, but this * means that no markup can be loaded for the class. */ public String getMarkupType() { return getPage().getMarkupType(); }
/** * Get the type of associated markup for this component. * * @return The type of associated markup for this component (for example, "html", "wml" or * "vxml"). The markup type for a component is independent of whether or not the * component actually has an associated markup resource file (which is determined at * runtime). If there is no markup type for a component, null may be returned, but this * means that no markup can be loaded for the class. */ public String getMarkupType() { return getPage().getMarkupType(); }
Page page = container.getPage();
Page page = container.getPage();
/** * * @see org.apache.wicket.markup.resolver.IComponentResolver#resolve(org.apache.wicket.MarkupContainer, * org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag) */ public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { // localize any raw markup that has wicket:message attrs if (WICKET_MESSAGE_CONTAINER_ID.equals(tag.getId())) { Component wc = null; if (tag.isOpenClose()) { wc = new WebComponent(WICKET_MESSAGE_CONTAINER_ID + container.getPage().getAutoIndex()); } else { wc = new WebMarkupContainer(WICKET_MESSAGE_CONTAINER_ID + container.getPage().getAutoIndex()); } container.autoAdd(wc, markupStream); return true; } return false; } }
/** * * @see org.apache.wicket.markup.resolver.IComponentResolver#resolve(org.apache.wicket.MarkupContainer, * org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag) */ public boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) { // localize any raw markup that has wicket:message attrs if (WICKET_MESSAGE_CONTAINER_ID.equals(tag.getId())) { Component wc = null; if (tag.isOpenClose()) { wc = new WebComponent(WICKET_MESSAGE_CONTAINER_ID + container.getPage().getAutoIndex()); } else { wc = new TransparentContainer(WICKET_MESSAGE_CONTAINER_ID + container.getPage().getAutoIndex()); } container.autoAdd(wc, markupStream); return true; } return false; }
id = "enclosure-" + container.getPage().getAutoIndex();
container.getPage().getAutoIndex(); if (tag.isOpenClose())
container.getPage().getAutoIndex(); if (tag.isOpenClose())
container.autoAdd(new AutoLabel("label" + container.getPage().getAutoIndex2(), component), markupStream);
if (wtag.isLinkTag() && (wtag.getNamespace() != null)) final String id = tag.getId() + container.getPage().getAutoIndex(); final Component component = new WebMarkupContainer(id)
if (wtag.isLinkTag() && (wtag.getNamespace() != null)) final String id = tag.getId() + container.getPage().getAutoIndex(); final Component component = new WebMarkupContainer(id)
container.autoAdd(new TextLabel("label" + container.getPage().getAutoIndex2(), related), markupStream); return true;
final String id = "_message_" + container.getPage().getAutoIndex(); MessageLabel label = new MessageLabel(id, messageKey); label.setRenderBodyOnly(container.getApplication()
final ComponentTag tag) final Page page = container.getPage();
final String id = "_message_" + container.getPage().getAutoIndex(); MessageContainer label = new MessageContainer(id, messageKey); label.setRenderBodyOnly(container.getApplication()
id = "enclosure-" + container.getPage().getAutoIndex();
IModel<?> model = container.getPage().getDefaultModel(); if(!Strings.isEmpty(objectExpression)) model = new PropertyModel<ODocument>(model, objectExpression);
final String id = wicketTag.getId() + container.getPage().getAutoIndex();
final String id = wicketTag.getId() + container.getPage().getAutoIndex();