- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {SimpleDateFormat s =
String pattern;new SimpleDateFormat(pattern)
String template;Locale locale;new SimpleDateFormat(template, locale)
new SimpleDateFormat()
- Smart code suggestions by Codota
}
/** * Constructor.<p> * * @param category the server-side category */ public CmsCategoryBean(CmsCategory category) { this( category.getId(), category.getTitle(), category.getDescription(), category.getPath(), category.getBasePath(), category.getRootPath()); }
+ cat.getId() + "', '" + CmsCategoryService.getInstance().readCategory( cms, CmsResource.getParentFolder(cat.getPath()), referencePath).getId() + "', '" + cat.getTitle() widgetDialog.getLocale()).key(Messages.GUI_CATEGORY_SELECT_0))); options.add(new CmsSelectWidgetOption(cat.getId().toString(), false, cat.getTitle())); cms, CmsResource.getPathPart(selected.getPath(), i + baseLevel), referencePath).getId().toString() : ""), param.hasError(), (i == (level - baseLevel - 1))));
result.append( "new Array('" + cat.getId() + "', '" + CmsCategoryService.getInstance().readCategory( cms, CmsResource.getParentFolder(cat.getPath()), referencePath).getId() + "', '" + titleJs Messages.GUI_CATEGORY_SELECT_0))); options.add(new CmsSelectWidgetOption(cat.getId().toString(), false, titleHtml)); + param.getId() + "' type='hidden' value='" + (selected != null ? selected.getId().toString() : "") + "'>\n"); cms, CmsResource.getPathPart(selected.getPath(), i + baseLevel), referencePath).getId().toString() : ""), param.hasError(),
cms.getRequestContext().removeSiteRoot(parentResource.getRootPath())); tryUnlock(cms.readResource(createdCategory.getId())); } catch (Exception e) { error(e);