활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Is there any way by using sling model/exporter we can expose Navigation menu items in JSON/HTML/XML format.
Since Navigation component has only one field to author i.e. root page property and it populates all sub tree so only root path get stored on jcr:content. and we try model.json we get only root page path property in it. How to get all the tree values in json?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Create a custom sling model exporter -
And populate the child nodes as u do it in navigation component >>>> iterate over the child nodes.
조회 수
답글
좋아요 수
Create a custom sling model exporter -
And populate the child nodes as u do it in navigation component >>>> iterate over the child nodes.
조회 수
답글
좋아요 수
Thank you but how to create xml using sling model.
Since for json it provides jackson, is there anything for xml ?
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수