作者:手机用户2502853847 | 来源:互联网 | 2023-08-13 13:39
本文整理了Java中org.apache.wicket.MarkupContainer.setRenderBodyOnly()
方法的一些代码示例,展示了MarkupContainer.setRenderBodyOnly()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MarkupContainer.setRenderBodyOnly()
方法的具体详情如下:
包路径:org.apache.wicket.MarkupContainer
类名称:MarkupContainer
方法名:setRenderBodyOnly
MarkupContainer.setRenderBodyOnly介绍
暂无
代码示例
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSModalBorder setRenderModalFooterTag(boolean render) {
getModalFooter().setRenderBodyOnly(!render);
return this;
}
代码示例来源:origin: org.opensingular/wicket-utils
public BSModalBorder setRenderModalBodyTag(boolean render) {
getModalBody().setRenderBodyOnly(render);
return this;
}
代码示例来源:origin: org.opensingular/wicket-utils
public BSModalBorder setRenderModalFooterTag(boolean render) {
getModalFooter().setRenderBodyOnly(render);
return this;
}
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSModalBorder setRenderModalBodyTag(boolean render) {
getModalBody().setRenderBodyOnly(!render);
return this;
}
代码示例来源:origin: micromata/projectforge
public FieldsetPanel add(final IconPanel icon, final FieldSetIconPosition iconPosition)
{
icon.getDiv().add(AttributeModifier.append("class", iconPosition.getStyleAttrValue()));
if (icOnContainer== null) {
throw new IllegalArgumentException("No icons container given! May-be you forget to call newIconChildId() before adding an image.");
}
iconContainer.add(icon).setRenderBodyOnly(true);
return this;
}
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSDropDownMenu appendLink(Component link) {
return appendTag("li", true, null, itemId ->
new TemplatePanel(itemId, () -> "")
.add(link)
.setRenderBodyOnly(false));
}
public BSDropDownMenu appendSeparator() {
代码示例来源:origin: org.opensingular/wicket-utils
public BSDropDownMenu appendLink(Component link) {
return appendTag("li", true, null, itemId ->
new TemplatePanel(itemId, () -> "")
.add(link)
.setRenderBodyOnly(false));
}
public BSDropDownMenu appendSeparator() {
代码示例来源:origin: org.opensingular/wicket-utils
public C newTag(String tag, boolean closeTag, String attrs, C component) {
TemplatePanel cOntainer= newComponent(id -> new TemplatePanel(id, () ->
"<" + tag + " wicket:id='" + component.getId() + "' " + defaultString(attrs) + ">"
+ (closeTag ? "" + tag + ">\n" : "\n")));
container
.add(component)
.setRenderBodyOnly(true).setOutputMarkupId(false).setOutputMarkupPlaceholderTag(false);
return component;
}
代码示例来源:origin: org.opensingular/singular-wicket-utils
public C newTag(String tag, boolean closeTag, String attrs, C component) {
TemplatePanel cOntainer= newComponent(id -> new TemplatePanel(id, () -> "<" + tag + " wicket:id='" + component.getId() + "' " + defaultString(attrs) + ">"
+ (closeTag ? "" + tag + ">\n" : "\n")));
container
.add(component)
.setRenderBodyOnly(true).setOutputMarkupId(false).setOutputMarkupPlaceholderTag(false);
return component;
}
代码示例来源:origin: org.opensingular/wicket-utils
public BSDropDownMenu appendLink(Component label, MarkupContainer link) {
return appendTag("li", true, null, itemId ->
new TemplatePanel(itemId, () -> "")
.add(link
.add(label))
.setRenderBodyOnly(false));
}
public BSDropDownMenu appendLink(Component link) {
代码示例来源:origin: org.opensingular/singular-wicket-utils
public BSDropDownMenu appendLink(Component label, MarkupContainer link) {
return appendTag("li", true, null, itemId ->
new TemplatePanel(itemId, () -> "")
.add(link
.add(label))
.setRenderBodyOnly(false));
}
public BSDropDownMenu appendLink(Component link) {
代码示例来源:origin: micromata/projectforge
.setRenderBodyOnly(true);
代码示例来源:origin: org.wicketstuff/yui
subMenu.setRenderBodyOnly(true);