This code snippet worked fine until i changed structure of my componentMy container component is having a superType of accordion component so node content structure is +Container +card1 +card2model code snippet@getter
@ChildResource
private List<ChildModel> children; However here it is failing to f...
It is still in development phase. The node content structure is as below @arunpatidar @Tethich Container --child1 --child2I find the childResources annotation method to be easier but how do i go about making the node structure to have an intermediary node such as below, then i can directly target ...
But how do i create the intermediary node? Do i create an intermediary in the container node structure itself so that when i add child nodes its added under the intermediary or should this be dynamic on addition of child nodes?
Hey , went through the example , just to clarify by using @ChildResource annotation above a List<childModel> , we should we able to get the list of all child nodes of that type?
I have a container component and multiple 'card' child components. In the sling model of the container component i want to obtain a list of card component sling models.Container component -card1 -card2 -card3I want a list of card models to accessible in container component model so that in HTL...
I have created a proxy component that extends wcm/core/components/carousel/v1/carousel. I have restricted the allowed components. However now i want to restrict number of times we can add items,i.e, number of carousel cards.how to achieve this?
I am trying to work with experience fragments and want to achieve two of the following.Create and use a component as XFI have a carousel component and i want the individual carousel slides to be an experience fragment?I cannot find any good resources which help me in achieving this . They all point ...
I have two components in separate pages. I want to show the authored data of component 1 in component 2. Is there someway we can achieve this without the creation of a content api? If possible is it possible to pull the entire htl of component 1 in component 2?Preferably using HTL itself?
I would like to pull the data from the components present in the child page and display it in my component in the homepage. Is there a way to do this without creating a content api?