public class M3TAFormApiPublisher
extends java.lang.Object
window.MBAPI.mfwindow.MBAPI.mf.displayM3TAForm(theCallback, theForms, theOpenCallback, theHidePositive, theHideNegative, thePositiveText, theNegativeText, theHeaderText) for example)| Constructor and Description |
|---|
M3TAFormApiPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createM3TAForm(jb.gwt_main_modules.base_widgets.client.DefaultCallback theSaveCallback,
com.google.gwt.dom.client.Element theElement,
java.lang.String theForms,
int theWidth,
int theHeight,
com.google.gwt.core.client.JavaScriptObject theOpenCallback)
Creates a M3TAForm panel to be placed in the passed in element
|
static void |
displayM3TAForm(jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback,
java.lang.String theForms,
com.google.gwt.core.client.JavaScriptObject theOpenCallback,
boolean theHidePositive,
boolean theHideNegative,
java.lang.String thePositiveText,
java.lang.String theNegativeText,
java.lang.String theHeaderText)
Display a dialog with m3taforms in it for collection data for a js function
|
static void |
getDictionarySuggestions(int theDictionaryId,
java.lang.String theQuery,
int theOffset,
int thePageSize,
jb.gwt_main_modules.base_widgets.client.DefaultCallback<jb.gwt_main_modules.base_widgets.client.services.WordSuggestion> theCallback)
Get a list of suggestions from a dictionary
|
static void |
setupAPI()
Initialize the message API namespace object.
|
static void |
setupJavascriptAPIs()
Setup the M3TAForm javascript API.
|
static void |
showAssetM3TAFormDialog(int theAssetId,
java.lang.String theForm,
java.lang.String theHeaderText,
java.lang.String theSaveButtonText,
java.lang.String theOptionalClass)
Display a dialog with a metaform in it, correlated to a single asset
|
public static void setupJavascriptAPIs()
public static void setupAPI()
public static void getDictionarySuggestions(int theDictionaryId,
java.lang.String theQuery,
int theOffset,
int thePageSize,
jb.gwt_main_modules.base_widgets.client.DefaultCallback<jb.gwt_main_modules.base_widgets.client.services.WordSuggestion> theCallback)
theDictionaryId - the id of the dictionarytheQuery - the query (e.g. doc* would return document, document:pdf, etc)theOffset - number to offset (page number * page size)thePageSize - size of pagetheCallback - function to return list of WordSuggestion objects to.public static void displayM3TAForm(jb.gwt_main_modules.base_widgets.client.DefaultCallback theCallback,
java.lang.String theForms,
com.google.gwt.core.client.JavaScriptObject theOpenCallback,
boolean theHidePositive,
boolean theHideNegative,
java.lang.String thePositiveText,
java.lang.String theNegativeText,
java.lang.String theHeaderText)
theCallback - function to call back with a Javascript object of field values, keyed by field idstheForms - comma separated list of m3taforms to displaytheOpenCallback - the action to take when the panel is loaded and ready, argument is the panel itselftheHidePositive - is hide positive button? (optional)theHideNegative - is hide negative button? (optional)thePositiveText - the positive button text (optional)theNegativeText - the negative button text (optional)theHeaderText - the text to display in the header (optional)public static void createM3TAForm(jb.gwt_main_modules.base_widgets.client.DefaultCallback theSaveCallback,
com.google.gwt.dom.client.Element theElement,
java.lang.String theForms,
int theWidth,
int theHeight,
com.google.gwt.core.client.JavaScriptObject theOpenCallback)
theForms - the forms to create the panel fortheSaveCallback - function to call back with a Javascript object of field values, keyed by field idstheElement - the element to replace with the paneltheWidth - width percenttheHeight - the height in pxtheOpenCallback - the action to take when the panel is loaded and ready, argument is the panel itselfpublic static void showAssetM3TAFormDialog(int theAssetId,
java.lang.String theForm,
java.lang.String theHeaderText,
java.lang.String theSaveButtonText,
java.lang.String theOptionalClass)
theAssetId - the asset id to edittheForm - the form to displaytheHeaderText - the text to display in the header (optional, will default to "Update Asset's Metadata")theSaveButtonText - the text to display in the save button (optional, will default to "Update")theOptionalClass - class name to apply to the dialog that's created. (optional, defaults to nothing)Copyright © 2026 MediaBeacon, Inc. All Rights Reserved.