Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- long classNameId = ClassNameLocalServiceUtil.getClassNameId(Sites.class.getName());
- ThemeDisplay themeDisplay =(ThemeDisplay)renderRequest.getAttribute(WebKeys.THEME_DISPLAY);
- String columnName = "Org. Tag Line";// key
- String tableName = "CUSTOM_FIELDS";
- long siteId = themeDisplay.getSiteGroupId();// userId=classPK
- ExpandoValue expandoObiect=ExpandoValueLocalServiceUtil.getValue(themeDisplay.getCompanyId(), classNameId, tableName, columnName, userId);
- ExpandoValue expandoObiect=ExpandoValueLocalServiceUtil.getValue(companyId, className, tableName, columnName, classPK)
- String value=expandoObiect.getData();
- renderRequest.setAttribute("tagLine", value);
- System.out.println("Field value==>"+value);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement