UserService
API should be used
instead.public interface UIServiceComponentWriter extends UIComponentWriter
ServiceContext
.
Please refer to the current documentation on user services for more information.
An instance of this interface can be obtained from ServiceContext.getUIComponentWriter()
or ServiceContext.getUIComponentWriterForJSP(JspWriter)
.
Modifier and Type | Method and Description |
---|---|
UIServiceComponentWriter |
addButtonSubmit(UIButtonSpecSubmit aButtonSpec)
Deprecated.
Adds an HTML submit button.
|
void |
addSubSubtitle(UserMessage aMessage)
Deprecated.
Adds a title under
subtitle level. |
void |
addSubtitle(UserMessage aMessage)
Deprecated.
Adds a subtitle in the page.
|
void |
endForm()
Deprecated.
End the form that was previously started.
|
void |
startForm(UIFormSpec aFormSpec)
Deprecated.
Starts a new form.
|
addButtonHelp, addButtonJavaScript, addButtonJavaScriptToggle, addUILabel, addUserAvatar, buildButtonPreview, buildButtonPreview, buildButtonPreview, endBorder, endExpandCollapseBlock, endFormGroup, endFormRow, endTableFormRow, newExpandCollapseBlock, newFormGroup, newFormRow, startBorder, startBorder, startBorder, startExpandCollapseBlock, startExpandCollapseBlock, startFormGroup, startFormGroup, startFormRow, startFormRow, startFormRow, startFormRow, startTableFormRow
add_cr, add_cr, add, add, add, addSafeAttribute, addSafeAttribute, addSafeInnerHTML, addSafeInnerHTML
addJS_addResizeWorkspaceListener, addJS_cr, addJS_cr, addJS_openPreviewImage, addJS_openPreviewImageFromVar, addJS_setButtonDisabled, addJS_setExpandCollapseBlockExpanded, addJS_setStateToToggleButton, addJS_switchToPerspective, addJS_switchToPerspectiveAction, addJS
createWebComponentForRootSession, createWebComponentForSubSession, getURLForAjaxComponent, getURLForAjaxComponent, getURLForPerspectiveSelection, getURLForPerspectiveSelection, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForResource, getURLForRest, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForSelection, getURLForViewSelection
addJavaScriptDependency
getLocale, getSession
void startForm(UIFormSpec aFormSpec)
Caution:
UIFormSpec
before calling startForm(UIFormSpec)
.aFormSpec
- the specification for the form.IllegalStateException
- if the form was already started.void endForm()
IllegalStateException
- if the form was not startedUIServiceComponentWriter addButtonSubmit(UIButtonSpecSubmit aButtonSpec)
aButtonSpec
- a button specificationUIFormSpec.setURLForAction(String)
void addSubtitle(UserMessage aMessage)
<h3>
.
The label of the user service is in the header of the workspace. All titles added in the page are considered as subtitles.
The label of the user service in the header of the workspace can
be changed with ServiceContext.setTitle(UserMessage)
.
aMessage
- the text of the subtitle.void addSubSubtitle(UserMessage aMessage)
subtitle
level.
This is equivalent to HTML <h4>
.aMessage
- the text of the sub-subtitle.