Skip to Content
0
Former Member
Oct 14, 2016 at 09:38 AM

SmartEdit 6.1 | CMSWebservices | Required String parameter 'enumClass' is not present error

249 Views

I wanted to edit the enum attribute of RotatingImagesComponent in smartEdit 6.1.0.2. I followed the following steps:

  1. Extended the Structure API : Used ""enumComponentTypeAttributePopulator" type component attribute populator for the Enum attribute.

  2. Extended the Component API : Created a new bean class for RotatingImagesComponent and declared the property type as "de.hybris.platform.cmswebservices.data.EnumData" for Enum property. Also, created the model populator and data populator for the component.

While editing this component in smartEdit, I am getting the "Required String parameter 'enumClass' is not present error" error on loading of content editor. (Please see the attached screenshot).

alt text

Also, only the current value of Enum attribute is shown in dropdown window instead of all the enum type values.

Attachments