Expand my Community achievements bar.

rahuls80678827
rahuls80678827
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Yes. This is the issue but as you suggested I have already created two while loops. Outer (MAIN_QUERY) and Inner (SUB_QUERY).But once control is in SUB_QURY while loop, it's getting processed for all the nodes where with sling:resourceType = myproject/common/compo nents/template2).Could you please s...

    Type

    Discussions

    Views

    4.7K

    Likes

    0

    Replies

    0
  • Hello Everyone,I have below use case:EXISTING CODE:private static final String MAIN_QUERY = "/jcr:root/content/data/myproject/products//*[@sling:resourceType='myproject/common/components/template1']";Iterator<Resource> it = this.resourceResolver.findResources(String.format(MAIN_QUERY), XPATH);int co...

    Type

    Discussions

    Views

    6.1K

    Likes

    0

    Replies

    3
Top badges earned by rahuls80678827
Customize the badges you want to showcase on your profile