Hi,
I need to create a carousel component what is the procedures to starts with. And i need to get the all slides node from this slide node i need to get the property such as title and description which need to be placed above the slider image. Am still unable to get array of slides node and how can i achieve this.
Am creating the dialog as multifield and there sub node as textfield and pathfield.
Thanks,
Moahamedh Nishadh
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
And when i am iterating the slides in my jsp and i got some weird exception
This is my code snippet
<c:forEach var=“element” items=”${properties.slides}”>
<h1>${element.title}</h1>
</c:forEach>
Thanks,
Mohamedh Nishadh
Views
Replies
Total Likes
Views
Replies
Total Likes
Thanks for the response. But i need to create multifield which contains image path and description. And i successfully created dialog but am unable to process these contents in my jsp page. And how can process these image location and description in my jsp. This is my all concern now.
Views
Replies
Total Likes
What is the exception you are seeing ?
Views
Replies
Total Likes
org.apache.sling.api.scripting.ScriptEvaluationException: org.apache.sling.scripting.jsp.jasper.JasperException: /apps/kpmg/sg/components/global/carousel/carousel.jsp(11,16) quote symbol expected
Page | = | /content/homepage | |
Resource Path | = | /content/homepage/jcr:content/carouselblock | |
Cell | = | carouselblock | |
Cell Search Path | = | homepage|basetemplate|page/carouselblock|carousel | |
Component Path | = | /apps/kpmg/sg/components/global/carousel |
0 (2015-05-14 08:28:51) TIMER_START{Request Processing} 0 (2015-05-14 08:28:51) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2015-05-14 08:28:51) LOG Method=GET, PathInfo=/content/homepage.html 0 (2015-05-14 08:28:51) TIMER_START{ResourceResolution} 0 (2015-05-14 08:28:51) TIMER_END{0,ResourceResolution} URI=/content/homepage.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/homepage 0 (2015-05-14 08:28:51) LOG Resource Path Info: SlingRequestPathInfo: path='/content/homepage', selectorString='null', extension='html', suffix='null' 0 (2015-05-14 08:28:51) TIMER_START{ServletResolution} 0 (2015-05-14 08:28:51) TIMER_START{resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/homepage)} 3 (2015-05-14 08:28:51) TIMER_END{3,resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/homepage)} Using servlet /libs/foundation/components/primary/cq/Page/Page.jsp 3 (2015-05-14 08:28:51) TIMER_END{3,ServletResolution} URI=/content/homepage.html handled by Servlet=/libs/foundation/components/primary/cq/Page/Page.jsp 3 (2015-05-14 08:28:51) LOG Applying Requestfilters 3 (2015-05-14 08:28:51) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 3 (2015-05-14 08:28:51) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 3 (2015-05-14 08:28:51) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 3 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter 3 (2015-05-14 08:28:51) LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.kpmg.golf.impl.filters.LoggingFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.kpmg.events.LoggingFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.kpmg.wgolf.impl.filters.LoggingFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet 5 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.adobe.cq.social.commons.cors.CORSAuthenticationFilter 5 (2015-05-14 08:28:51) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.cognifide.cq.includefilter.DynamicIncludeFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.kpmg.univ.rest.AuthFilter 5 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter 6 (2015-05-14 08:28:51) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false) 6 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter 6 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl 6 (2015-05-14 08:28:51) LOG Calling filter: com.adobe.cq.social.commons.security.SaferSlingPostServlet 6 (2015-05-14 08:28:51) LOG Applying Componentfilters 6 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter 6 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 6 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 6 (2015-05-14 08:28:51) TIMER_START{/libs/foundation/components/primary/cq/Page/Page.jsp#0} 14 (2015-05-14 08:28:51) LOG Including resource JcrNodeResource, type=/apps/kpmg/sg/components/pages/homepage, superType=null, path=/content/homepage/jcr:content (SlingRequestPathInfo: path='/content/homepage/jcr:content', selectorString='null', extension='html', suffix='null') 14 (2015-05-14 08:28:51) TIMER_START{resolveServlet(JcrNodeResource, type=/apps/kpmg/sg/components/pages/homepage, superType=null, path=/content/homepage/jcr:content)} 18 (2015-05-14 08:28:51) TIMER_END{4,resolveServlet(JcrNodeResource, type=/apps/kpmg/sg/components/pages/homepage, superType=null, path=/content/homepage/jcr:content)} Using servlet /apps/kpmg/sg/components/pages/homepage/homepage.jsp 18 (2015-05-14 08:28:51) LOG Applying Includefilters 18 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter 18 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter 24 (2015-05-14 08:28:51) LOG Calling filter: com.cognifide.cq.includefilter.DynamicIncludeFilter 24 (2015-05-14 08:28:51) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter 24 (2015-05-14 08:28:51) TIMER_START{/apps/kpmg/sg/components/pages/homepage/homepage.jsp#1} 303 (2015-05-14 08:28:51) LOG Including script head.jsp for path=/content/homepage/jcr:content, type=/apps/kpmg/sg/components/pages/homepage: /apps/kpmg/sg/components/pages/basetemplate/head.jsp 303 (2015-05-14 08:28:51) TIMER_START{/apps/kpmg/sg/components/pages/basetemplate/head.jsp} 308 (2015-05-14 08:28:51) LOG Including script /libs/wcm/core/components/init/init.jsp for path=/content/homepage/jcr:content, type=/apps/kpmg/sg/components/pages/homepage: /libs/wcm/core/components/init/init.jsp 308 (2015-05-14 08:28:51) TIMER_START{/libs/wcm/core/components/init/init.jsp} 313 (2015-05-14 08:28:51) TIMER_END{5,/libs/wcm/core/components/init/init.jsp} 315 (2015-05-14 08:28:51) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobile, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=mobiledebug, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobiledebug, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=contentsync, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-contentsync, values={component-optional=true, jcr:primaryType=nt:unstructured}]), serializer=Config(type=htmlwriter, config={}))} 318 (2015-05-14 08:28:51) TIMER_END{15,/apps/kpmg/sg/components/pages/basetemplate/head.jsp}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies