@groovy.transform.CompileStatic final class RawHtmlBlockDump extends java.lang.Object implements IUiBlockVisitor
Type | Name and description |
---|---|
BootstrapBlock |
block |
java.lang.String |
futurCurrentAjaxBlockId |
boolean |
isModal |
boolean |
isRefreshing |
BootstrapMenu |
menu |
java.lang.String |
modalId |
Parameter |
parameter |
int |
poll |
java.lang.String |
theCurrentExplicitAjaxBlockId |
Constructor and description |
---|
RawHtmlBlockDump
(Parameter parameter) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
doRenderElement(java.lang.String id) Check if a block DSL element has to be rendered. |
|
java.lang.String |
getOutput() |
|
java.util.Map |
getParameterMap() |
|
void |
setExplicitAjaxBlockId(java.lang.String id) Set explicit ajaxBlockId to for ajax mode and for render. |
|
void |
visitAjaxBlock(java.lang.String id) 2 modes of rendering: either we transmit to the browser which blocks that should be updated either we transmit a div, placeholder for the subsequent updates |
|
void |
visitAjaxBlockEnd() |
|
void |
visitBlock() |
|
void |
visitBlockEnd() |
|
void |
visitBlockHeader() |
|
void |
visitBlockHeaderEnd() |
|
void |
visitBlockTab(java.lang.String i18n) |
|
void |
visitBlockTabEnd() |
|
void |
visitBlockTabs() |
|
void |
visitBlockTabsEnd() |
|
void |
visitCloseModal(java.lang.String id, java.lang.String value, FieldInfo[] fields) |
|
void |
visitCloseModalAndUpdateBlock() |
|
void |
visitCloseModalAndUpdateBlockEnd() |
|
void |
visitCol(Width width) |
|
void |
visitColEnd() |
|
void |
visitCustom(java.lang.String html, taack.ui.dsl.common.Style style) |
|
void |
visitDiagram(UiDiagramSpecifier diagramSpecifier) |
|
void |
visitDiagramFilter(UiDiagramSpecifier diagramSpecifier, UiFilterSpecifier filterSpecifier) |
|
void |
visitForm(UiFormSpecifier formSpecifier) |
|
void |
visitHtmlBlock(java.lang.String html, taack.ui.dsl.common.Style style) |
|
void |
visitLabeledSubMenu(java.lang.String i18n, java.lang.String controller, java.lang.String action, java.util.Map<java.lang.String, ?> params) |
|
void |
visitMenu(java.lang.String controller, java.lang.String action, java.util.Map<java.lang.String, ?> params) |
|
void |
visitMenuLabel(java.lang.String i18n, boolean hasClosure) |
|
void |
visitMenuLabelEnd() |
|
void |
visitMenuOptions(IEnumOptions enumOptions) |
|
void |
visitMenuSearch(org.codehaus.groovy.runtime.MethodClosure action, java.lang.String q, java.lang.Class<? extends org.grails.datastore.gorm.GormEntity>[] aClasses) |
|
void |
visitMenuSection(java.lang.String i18n, MenuPosition position) |
|
void |
visitMenuSectionEnd() |
|
void |
visitMenuSelect(java.lang.String paramName, IEnumOptions enumOptions, java.util.Map<java.lang.String, ?> params) |
|
void |
visitMenuStart(MenuMode menuMode, java.lang.String ajaxBlockId) |
|
void |
visitMenuStartEnd() |
|
void |
visitModal() |
|
void |
visitModalEnd() |
|
void |
visitPoll(int millis, org.codehaus.groovy.runtime.MethodClosure polledAction) |
|
void |
visitPollEnd() |
|
void |
visitRow() |
|
void |
visitRowEnd() |
|
void |
visitShow(UiShowSpecifier uiShowSpecifier) |
|
void |
visitSubMenu(java.lang.String controller, java.lang.String action, java.util.Map<java.lang.String, ?> params) |
|
void |
visitSubMenuIcon(java.lang.String i18n, taack.ui.dsl.common.ActionIcon actionIcon, java.lang.String controller, java.lang.String action, java.util.Map<java.lang.String, ?> params, boolean isModal) |
|
void |
visitTable(java.lang.String id, UiTableSpecifier tableSpecifier) |
|
void |
visitTableFilter(java.lang.String id, UiFilterSpecifier filterSpecifier, UiTableSpecifier tableSpecifier) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Check if a block DSL element has to be rendered. If a page contains multiple block, and user click on a table to sort, only the table will be rendered when processing the DSL. * If the page is not ajax, everything is rendered * else * * If no explicit ajaxBlock, only current or target ajaxBlock is rendered * * If explicit ajaxBlocks are specified (via setAjaxBlockId), only then will be rendered if in ajax mode (parameter.isAjaxRendering == true) @return
Set explicit ajaxBlockId to for ajax mode and for render. (See visitAjaxBlock
2 modes of rendering: * either we transmit to the browser which blocks that should be updated * either we transmit a div, placeholder for the subsequent updates
Groovy Documentation