Codota Logo
CmsPrincipalWidget
Code IndexAdd Codota to your IDE (free)

How to use
CmsPrincipalWidget
in
org.opencms.widgets

Best Java code snippets using org.opencms.widgets.CmsPrincipalWidget (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * @see org.opencms.widgets.I_CmsWidget#newInstance()
 */
public I_CmsWidget newInstance() {
  return new CmsPrincipalWidget(getConfiguration());
}
origin: org.opencms/org.opencms.workplace

new CmsPrincipalWidget().getButtonJs(PARAM_NAME, "add"),
null,
"principal",
origin: org.opencms/opencms-solr

/**
 * @see org.opencms.workplace.CmsDialog#htmlStart()
 */
@Override
public String htmlStart() {
  StringBuffer result = new StringBuffer(256);
  result.append(super.htmlStart());
  result.append((new CmsPrincipalWidget().getDialogIncludes(getCms(), null)));
  result.append("<script type='text/javascript' >");
  result.append("typeField = '").append(PARAM_TYPE).append("';");
  result.append("</script>");
  return result.toString();
}
origin: org.opencms/opencms-solr

getButtonJs(id, "EDITOR"),
null,
"principal",
origin: org.opencms/opencms-core

/**
 * @see org.opencms.widgets.I_CmsWidget#getDialogIncludes(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog)
 */
@Override
public String getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) {
  StringBuffer result = new StringBuffer(16);
  result.append(getJSIncludeFile(CmsWorkplace.getSkinUri() + "components/widgets/principalselector.js"));
  return result.toString();
}
origin: org.opencms/opencms-core

/**
 * @see org.opencms.widgets.I_CmsADEWidget#getConfiguration(org.opencms.file.CmsObject, org.opencms.xml.types.A_CmsXmlContentValue, org.opencms.i18n.CmsMessages, org.opencms.file.CmsResource, java.util.Locale)
 */
public String getConfiguration(
  CmsObject cms,
  A_CmsXmlContentValue schemaType,
  CmsMessages messages,
  CmsResource resource,
  Locale contentLocale) {
  return getConfiguration();
}
origin: org.opencms/opencms-solr

new CmsPrincipalWidget().getButtonJs(PARAM_NAME, "add"),
null,
"principal",
origin: org.opencms/org.opencms.workplace

/**
 * @see org.opencms.workplace.CmsDialog#htmlStart()
 */
@Override
public String htmlStart() {
  StringBuffer result = new StringBuffer(256);
  result.append(super.htmlStart());
  result.append((new CmsPrincipalWidget().getDialogIncludes(getCms(), null)));
  result.append("<script type='text/javascript' >");
  result.append("typeField = '").append(PARAM_TYPE).append("';");
  result.append("</script>");
  return result.toString();
}
origin: org.opencms/opencms-core

getButtonJs(id, "EDITOR"),
null,
"principal",
origin: org.opencms/opencms-solr

/**
 * @see org.opencms.widgets.I_CmsWidget#getDialogIncludes(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog)
 */
@Override
public String getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) {
  StringBuffer result = new StringBuffer(16);
  result.append(getJSIncludeFile(CmsWorkplace.getSkinUri() + "components/widgets/principalselector.js"));
  return result.toString();
}
origin: org.opencms/opencms-solr

/**
 * @see org.opencms.widgets.I_CmsWidget#newInstance()
 */
public I_CmsWidget newInstance() {
  return new CmsPrincipalWidget(getConfiguration());
}
org.opencms.widgetsCmsPrincipalWidget

Javadoc

Provides an OpenCms Principal selection widget, for use on a widget dialog.

Most used methods

  • <init>
    Creates a new principals selection widget with the given configuration.
  • getButtonJs
    Returns the needed java script for the search button.
  • getConfiguration
  • getDialogIncludes
  • getJSIncludeFile

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now