--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi Marijan ,Thank you for the Response, i am using JaxrsRestContentPipeline i even tried approach given in other post on forum below is the code though i am using version 10. can you please explain what do you mean by "if you setup a sitemap item matching your request" i will try if that works.
<sv:node sv:name="sitemenu">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:sitemapitem</sv:value>
</sv:property>
<sv:property sv:name="hst:namedpipeline" sv:type="String">
<sv:value>JaxrsRestContentPipeline</sv:value>
</sv:property>
<sv:node sv:name="_any_">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:sitemapitem</sv:value>
</sv:property>
<sv:property sv:name="hst:namedpipeline" sv:type="String">
<sv:value>JaxrsRestContentPipeline</sv:value>
</sv:property>
</sv:node>
</sv:node>
Hi Marijan , Thank you for the response.
thanksPrasad
Hi, Marijan
Hi, MarijanI made the following changes In cms/console and still I am unable get the menus
See the following jpg file and suggest me for any changes to get the menus.and I am confusing what should be the correct url path to get the menusplease help us.thanksprasad
Hi,On Tue, Apr 12, 2016 at 3:03 PM, prasad <mah...@qualityideaslab.com> wrote:Hi, MarijanI made the following changes In cms/console and still I am unable get the menuscould you try to rename above "sitemenu" node into "api-manual" (I am assuming your rest mount name is "api-manual" and let us know if that works,
ThanksPrasad
Hi marijan ,
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi Prasad,The sitemenus of a site belong to that site, and a site is represented by a mount. When in your code you get the resolvedMount, that mount is the "api-manual" and that one is not backed by an hst:configuration, thus it has no sitemenus.I think the simplest approach would be to:-Change your class to extend AbstractContentResource-Keep your sitemapitem but rename it back to "sitemenu"-Do not use "api-manual" in your url, but just /site/sitemenu-Remove your rest mount, I doubt if it's needed since you're using the JaxrsRestContentPipeline on the sitemapitem-Your sitemapitems don't need to have a relativecontentpathI would expect that the following will happen:-Request comes in for /site/sitemenu-This url will be handled by the hst:root mount (cause you removed the "api-manual" part)-HST matches the url to a sitemapitem in the site the hst:root mount points to. This sitemapitem is your "sitemenu" item-HST sees the sitemapitem has a namedpipeline, and then checks to see if there are any services registered for path "sitemenu"-Your service is called cause it registers path "sitemenu"-Your code works because the mount is hst:root, which indeed has sitemenus to fetch
Hi Chatzidakis,
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.