本文整理了Java中org.apache.wicket.markup.html.WebMarkupContainer.setMarkupId()
方法的一些代码示例,展示了WebMarkupContainer.setMarkupId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebMarkupContainer.setMarkupId()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.WebMarkupContainer
类名称:WebMarkupContainer
方法名:setMarkupId
暂无
代码示例来源:origin: micromata/projectforge
@Override
public GridPanel setMarkupId(final String id)
{
div.setMarkupId(id);
return this;
}
代码示例来源:origin: micromata/projectforge
@Override
public SpanPanel setMarkupId(final String id)
{
span.setMarkupId(id);
return this;
}
代码示例来源:origin: micromata/projectforge
@Override
public DivPanel setMarkupId(final String id)
{
div.setMarkupId(id);
return this;
}
代码示例来源:origin: micromata/projectforge
@Override
public ToggleContainerPanel setMarkupId(final String id)
{
toggleContainer.setMarkupId(id);
return this;
}
代码示例来源:origin: micromata/projectforge
/**
* @see org.apache.wicket.Component#setMarkupId(java.lang.String)
*/
@Override
public Component setMarkupId(final String markupId)
{
div.setOutputMarkupId(true);
return div.setMarkupId(markupId);
}
代码示例来源:origin: org.wicketstuff/wicketstuff-gmap3
public GMapStateless(String id, StatelessGMapHeaderContributor headerContrib) {
super(id, headerContrib);
map.setMarkupId(map.getId());
}
代码示例来源:origin: ro.fortsoft.wicket.dashboard.widgets/wicket-dashboard-justgage
public JustGageWidgetView(String id, Model<Widget> model) {
super(id, model);
gaugeId = "gauge" + getSession().nextSequenceValue();
add(new WebMarkupContainer("gauge").setMarkupId(gaugeId));
}
代码示例来源:origin: apache/syncope
@Override
protected void onInitialize() {
super.onInitialize();
final WebMarkupContainer dialog = (WebMarkupContainer) this.get("dialog");
dialog.setMarkupId(this.getId());
footer = (WebMarkupContainer) this.get("dialog:footer");
footer.addOrReplace(new ListView<Component>("inputs", components) {
private static final long serialVersionUID = 4949588177564901031L;
@Override
protected void populateItem(final ListItem<Component> item) {
item.add(item.getModelObject());
}
}.setOutputMarkupId(true)).setOutputMarkupId(true);
}
代码示例来源:origin: apache/syncope
public Implementations(final PageParameters parameters) {
super(parameters);
body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
WebMarkupContainer content = new WebMarkupContainer("content");
content.setOutputMarkupId(true);
content.setMarkupId("implementations");
content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
body.add(content);
}
代码示例来源:origin: apache/syncope
public Reports(final PageParameters parameters) {
super(parameters);
body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
WebMarkupContainer content = new WebMarkupContainer("content");
content.setOutputMarkupId(true);
content.setMarkupId("reports");
content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
body.add(content);
}
代码示例来源:origin: com.googlecode.wicket-jquery-ui/jquery-ui-core
@Override
protected void populateItem(ListItem<ITab> item)
{
final ITab tab = item.getModelObject();
if (tab.isVisible())
{
final String newId = panels.newChildId();
// link (tab) //
Label link = new Label("link", tab.getTitle());
link.add(AttributeModifier.replace("href", "#" + newId));
item.add(link);
// panel //
panels.add(tab.getPanel(newId).setMarkupId(newId).setOutputMarkupId(true));
}
}
});
代码示例来源:origin: apache/syncope
public Policies(final PageParameters parameters) {
super(parameters);
body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
WebMarkupContainer content = new WebMarkupContainer("content");
content.setOutputMarkupId(true);
content.setMarkupId("policies");
content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
body.add(content);
}
代码示例来源:origin: apache/syncope
public Notifications(final PageParameters parameters) {
super(parameters);
body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
WebMarkupContainer content = new WebMarkupContainer("content");
content.setOutputMarkupId(true);
content.setMarkupId("notifications");
content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
body.add(content);
}
代码示例来源:origin: apache/syncope
public Security(final PageParameters parameters) {
super(parameters);
body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
WebMarkupContainer content = new WebMarkupContainer("content");
content.setOutputMarkupId(true);
content.setMarkupId("security");
content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
body.add(content);
}
代码示例来源:origin: micromata/projectforge
private ContentMenuEntryPanel(final String id)
{
super(id);
add(li = new WebMarkupContainer("li"));
add(li);
li.setMarkupId("addEntry").setOutputMarkupId(true);
dropDownMenu = new WebMarkupContainer("dropdownMenu");
li.add(dropDownMenu);
subMenu = new MyComponentsRepeater<ContentMenuEntryPanel>("subMenu");
dropDownMenu.add(subMenu.getRepeatingView());
}
代码示例来源:origin: com.googlecode.wicket-jquery-ui/wicket-kendo-ui
@Override
protected void populateItem(ListItem<ITab> item)
{
final ITab tab = item.getModelObject();
if (tab.isVisible())
{
// link (tab) //
item.add(TabbedPanel.this.newTitleLabel("title", tab.getTitle()));
// panel //
final String newId = panels.newChildId();
panels.add(tab.getPanel(newId).setMarkupId(newId).setOutputMarkupId(true));
}
}
});
代码示例来源:origin: sebfz1/wicket-jquery-ui
@Override
protected void populateItem(ListItem<ITab> item)
{
final ITab tab = item.getModelObject();
if (tab.isVisible())
{
final String newId = panels.newChildId();
// tab //
item.add(TabbedPanel.this.newTabContainer("tab", newId, tab, item.getIndex()));
// panel //
panels.add(tab.getPanel(newId).setMarkupId(newId).setOutputMarkupId(true));
}
}
});
代码示例来源:origin: sebfz1/wicket-jquery-ui
@Override
protected void populateItem(ListItem<ITab> item)
{
final ITab tab = item.getModelObject();
if (tab.isVisible())
{
// link (tab) //
item.add(TabbedPanel.this.newTitleLabel("title", tab.getTitle()));
// panel //
final String newId = panels.newChildId();
panels.add(tab.getPanel(newId).setMarkupId(newId).setOutputMarkupId(true));
}
}
});
代码示例来源:origin: org.onehippo.cms7/hippo-cms-plugins
@Override
protected void populateItem(final Item<NamespacePropertiesProvider> item) {
NamespacePropertiesProvider propertiesProvider = item.getModelObject();
final String namespace = propertiesProvider.getNamespace();
final String namespaceHeading = namespace + " (" + propertiesProvider.size() + ")";
item.add(new ToggleHeader("toggle-namespace", namespace, namespaceHeading));
final WebMarkupContainer propertiesContainer = new WebMarkupContainer("propertiesContainer");
propertiesContainer.setOutputMarkupId(true);
propertiesContainer.setMarkupId("toggle-box-" + namespace);
final PropertiesEditor propertiesEditor = new PropertiesEditor("properties", propertiesProvider);
propertiesContainer.add(propertiesEditor);
item.add(propertiesContainer);
}
}
代码示例来源:origin: org.wicketstuff/wicketstuff-jquery
public SliderHandle(final String wid, final SliderHandleOptions handleSettings)
{
super(wid);
setRenderBodyOnly(true);
final WebMarkupContainer handle = new WebMarkupContainer("sliderHandle");
handle.setOutputMarkupId(true);
if (handleSettings != null)
handle.setMarkupId(handleSettings.getId());
add(handle);
if (handleSettings != null)
{
if (handleSettings.getStyle() != null)
{
handle.add(new AttributeAppender("style", Model.of(handleSettings.getStyle()), " "));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!