Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
5.3
-
None
Description
While defining a new @Component in a java class, we can declare the parameters of it. If some of the parameters are in a parent class the compiler reports an error because it can't find it.
Moving this parameters from the @Component annotation to the tml file solve the issue.
public class PinkynailPreview extends ContentItemBase {
...
@Component(parameters =
, publishParameters = "ajaxLoad")
private PinkynailPreviewBubble pinkynailBubble;
...
}
public class ContentItemBase extends AbstractContentItemBase
{
....
@Parameter(name = "source", required = true)
private ResultsItem item;
...
}