Satya, HTL is a template language and cannot do much of data manipulation . So as Simone said you have to handle it either in client-side or server side . Getting Started with HTL
Hi Meenakshi For xtype like multifield, if you are saving only 1 value in property, it will get saved as String. This behavior is there from the beginning itself, (I have started from 5.4 )ThanksVeena
Hi Naman Could you please help me understanding how the bookmark works? So that I can think of a better solution. I have neva got a chnace to work on the functionality. So if this works as Kautuk was explaining, then may be my solution may not work, since we cannot change the <title></title>...
Hi Naman I can give you few approach. See which one fits you better1) Decide on what name you want to bring up. Lets say You want to give the title of your parent page for all the bookmarks. So better get the absolute parent of the current page and print it. 2) There is an additional title, calle...
Hi Shreyas Sorry for the late response. So it should be simple as explained by me, scott and kautuk. Hope you know how to handle if else condition in JSP. And I would suggest you to move to JSTL or if using AEM 6+ , use sightly. Writing in scriplets anymore doesn't seem to be a good quality c...
Hi Shreyas Could you please elaborate on your question?If my understanding is correct you are trying to add a facebook icon in your presentation HTML, when the user checks the checkbox in the dialog ?If so, you can if properties.get("facebook") is returning the expected value and according to the...
Hi All It seems like my AEM instance got corrupted due to some compaction I have done. I have got a new Jar and setup the code and its working perfectly fine with my existing code base. Thanks for all your help and time ThanksVeena
Hi Team I am using sling models with sightly. I am trying to inject resource to my model as below. All the models are throwing same error saying Resource was not able to be injected. This was working sometimes before. Now for some reason I am getting this error. Could you please help @Model(a...