diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopButton.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopButton.java index ac87586614..82648cc204 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopButton.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopButton.java @@ -49,6 +49,8 @@ public class DesktopButton extends DesktopAbstractComponent implements protected boolean disableOnClick = false; protected boolean useResponsePending = false; + protected boolean captionAsHtml = false; // just stub + public DesktopButton() { impl = createImplementation(); impl.addActionListener(new ValidationAwareActionListener() { @@ -243,4 +245,14 @@ public class DesktopButton extends DesktopAbstractComponent implements public void setUseResponsePending(boolean useResponsePending) { this.useResponsePending = useResponsePending; } + + @Override + public void setCaptionAsHtml(boolean captionAsHtml) { + this.captionAsHtml = captionAsHtml; + } + + @Override + public boolean isCaptionAsHtml() { + return captionAsHtml; + } } \ No newline at end of file diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopPopupButton.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopPopupButton.java index 17611fa47a..c50fc57973 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopPopupButton.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopPopupButton.java @@ -560,5 +560,14 @@ public class DesktopPopupButton extends DesktopAbstractActionsHolderComponent + diff --git a/modules/gui/src/com/haulmont/cuba/gui/xml/layout/loaders/ButtonLoader.java b/modules/gui/src/com/haulmont/cuba/gui/xml/layout/loaders/ButtonLoader.java index 31fc989f84..0060907d1e 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/xml/layout/loaders/ButtonLoader.java +++ b/modules/gui/src/com/haulmont/cuba/gui/xml/layout/loaders/ButtonLoader.java @@ -64,6 +64,7 @@ public class ButtonLoader extends AbstractComponentLoader