aemninja
Community profile aemninja Level 1
Job title here
Location here
5 BADGES
Level 1

Level 1

Learn more
Joined the community 12-03-2021 5:46:59 PM
Offline
Top badges earned by aemninja
Customize the badges you want to showcase on your profile
Re: Passing path parameters in Servlet
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Bimmi_Soi - I don't want to go with the query parameter way of implementation. I would like to go with path paramters route only. Query parameters implementation is already in place and we are changing it to path parameters.

Views

13

Likes

0

Replies

0
Re: Passing path parameters in Servlet
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Suraj_Kamdi - The servlet path is "/apps/test/product" and value1 & value2 are path parameters that I wanted to pass it to the servlet. I am calling the servlet from the ajax call.

Views

27

Likes

0

Replies

0
Passing path parameters in Servlet
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello Community - I have a servlet which is registered with the path. I wanted to pass some path parameters in the servlet path like the below.www.company.com/apps/test/product/value1/value2I will invoke this servlet based on user action not based on resourceType. I am not able to retrieve the path parameters. I tried with the below. Is there any way to retrieve the values? Can someone tell me the way to retrieve the values?req.getRequestPathInfo().getSuffix();req.getResource().getPath();

Views

58

Likes

0

Replies

6
Re: Cloud service configuration dropdown not populating
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Dipti_Chauhan - I have already gone through the link but no luck.

Views

89

Likes

0

Replies

0
Re: Cloud service configuration dropdown not populating
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Bimmi_Soi - I have already tried it in the path that you have mentioned and mentioned the same in my question.

Views

93

Likes

0

Replies

0
Cloud service configuration dropdown not populating
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Cloud service configuration dropdown not populating within Cloud Services tab of page properties in AEMHi There - I have created some cloud configs for Facebook & Twitter and I could see the configs are stored under the below path which is expected. /conf/project/settings/cloudconfigs When I check the experience fragment property -> Cloud Services tab, I don't see the cloud configs in the dropdown. I know that the old location for the cloud services is under /etc but we are not storing there.I h...

Views

165

Likes

0

Replies

5
Re: Handling multiple domains using Externalizer
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@mayank_saklech1 - Actually the same content slice (i.e /content/test/en/) is used for all four sites. we cannot use context-aware here as the path is same.

Views

106

Likes

0

Replies

0
Handling multiple domains using Externalizer
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello All - Is there a way to configure the externalizer for multiple publish domains? We have 4 domains in our project and would like to maintain the externalizer config based on run-modes. In the externalizer config it says, we need to specify publish followed by domain to specify the configs. i.e publish www.example1.compublish www.example2.compublish www.example3.compublish www.example4.comHow can I specify the configs. Since all are different domains. com.day.cq.commons.impl.ExternalizerImp...

Views

141

Likes

0

Replies

4
Betreff: Handling JSTL tags authored from dialog
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@markus_bulla_adobe - Thanks for your reply. Yes, I too agree that JSTLs are outdated but we have some utilities written in JSTL and it is still in use. In one of the component, we are providing the capability to the authors to author the JSTL tags from the dialog and that should be processed. The JSTL are not processed if we process it from the node properties. If I hardcode the same JSTL tags on the componeny, it is loading fine. Not sure how to handle this use case.

Views

104

Likes

0

Replies

0
Handling JSTL tags authored from dialog
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello All - Can someone please tell me if you have implemented the scenario in JSP based component as HTL doesn't support Taglibs: Author the JSTL tags and process it. Currently the JSTL tags authored in printing as is and it is not processed. Please let me know.

Views

129

Likes

0

Replies

4
Re: Issues with resolving taglibs in JSP based component
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Vijayalakshmi_S - Could you please let me know if you are able to replicate the issue at your end?

Views

103

Likes

0

Replies

0
Re: Issues with resolving taglibs in JSP based component
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Vijayalakshmi_S - I have added the screenshot of the node structure in the initial section.

Views

128

Likes

0

Replies

0
Re: Issues with resolving taglibs in JSP based component
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Vijayalakshmi_S - Thanks for your reply. I have tried with the below but the tags are still not resolving and the author taglibs are present as is. PFB. <%@include file="/libs/foundation/global.jsp" %> <%@page import="com.day.cq.wcm.api.WCMMode"%> <%@ taglib uri="http://company.com/clientLib-taglib" prefix="evaltag" %> <% if((WCMMode.fromRequest(request) != WCMMode.DISABLED)) { %> Taglibs <%} %> <% String openHtml = properties.get("openhtml", ""); %> <%= openHtml %>

Views

134

Likes

0

Replies

0
Issues with resolving taglibs in JSP based component
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello Community - Since my previous request was marked as resolved so I am opening this to get an assistance here. Please note that I am using JSP based component not HTL. This is a very simple component which takes the taglib from the dialog and inject the respective tags for the provided taglib. If I simply hardcoded the taglib directly in the component it works fine and I could see the expected results but it doesn't work when I provide the taglib via dialog. Not sure what is causing the issu...

Views

173

Likes

0

Replies

5
Re: Taglibs are not loading
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@rush_pawan - If I directly use the taglib in the component, it is getting evaluated but if I author the taglibs via dialog (Touch UI), it is not working as expected,

Views

73

Likes

0

Replies

0
Re: Taglibs are not loading
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@rush_pawan - I have tried with JSP as well but it is not working. Can you please mark this as not resolved.

Views

77

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - I don't see any screenshot attached. can you send it again

Views

182

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - Thanks for your reply. The property and the value is present in the node. I am able to print the "articleInfo" value in the init() menthod as well. The only issue is while setting the value, it is not assigning the value. articleInfo = nodeVal != null ? nodeVal.getProperty("cq:conf").getString() : StringUtils.EMPTY;

Views

193

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - I don't see any error this time but the value I am setting inside init() i.e this.setArticleInfo(articleInfo);, is not applied.

Views

214

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - I could see the values in the logs inside init() (i.e @PostConstruct) but I see the issue is with setting the value(setter).

Views

229

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - what I meant is, I have already tried with adapting to resource in Sling Model and also in JSP.

Views

247

Likes

0

Replies

0
Re: Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - I am still not able to retrieve the value after changing it to slingRequest. Earlier I tried with adapting to resource as well.

Views

258

Likes

0

Replies

0
Issues with retrieving Sling Model values in JSP
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello Community - I am getting an error while retrieving the values from Sling Model and using it in JSP. Not sure what is the issue? Can someone help with this? Error:org.apache.sling.models.impl.ModelAdapterFactory Could not adapt to modelorg.apache.sling.models.factory.ModelClassException: Unable to find a useable constructor for model class com.test.aem.core.models.TestModelat org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:686) [org.apache.sling.models...

Views

300

Likes

0

Replies

13
Re: Handling ClientLibs in Page Properties
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - Thanks for your inputs. Is there a way to get the list of all the clientlibs to populate the dropdown or we can maintain a generic list with the clientlibs along with the MIME type and load the list in the dropdown for user selection?

Views

143

Likes

0

Replies

0
Handling ClientLibs in Page Properties
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello Community - We are using static template in our project and we would like to load the clientlibs on need basis. i.e. In one page, I need to use 5 clientlibs and other page I will use only 1 clientlib. I wanted to configure the clientlib in the page properties so that it can easily configurable for individual pages created using the template. Not sure if someone has already done this approach and also need a suggestions on loading all the clientlibs available in the page properties to confi...

Views

184

Likes

0

Replies

5
Re: Adding custom bundle and install
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - How about specifying the custom bundle using the below dependency ? org.apache.sling org.apache.sling.dynamic-include 3.1.2 system ${project.basedir}/../repo/thirdparty.jar

Views

123

Likes

0

Replies

0
Re: Adding custom bundle and install
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@asutosh_jena - Thanks for your inputs. For manual install on Prod publish instances, the felix console access is restricted. is there a way to install them on all instances without going to "system/console/bundles"

Views

134

Likes

0

Replies

0
Adding custom bundle and install
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
Hello Community - I have made some minor changes to Sling Dynamic Include jar and kept the custom SDI bundle under "/apps/project/install" folder and also added the below dependency. If I run a build, I could only see the SDI jar included in the install folder not the custom SDI bundle which I have added in the install folder. is there a way to only include & install my custom bundle not the actual SDI bundle? Please advise.Added this dependency in core and parent POM:org.apache.slingorg.apache....

Views

166

Likes

0

Replies

5
Re: Enabling ESI:Include on Akamai (SDI)
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Umesh_Thakur - I don't see any attachment. Please upload if any.Also for ESI include, I have already made the required changes in the run-modes. I am looking for Akamai changes to enable ESI:Include. I have enabled it but for some reason, the tags are not evaluated.

Views

192

Like

1

Replies

0
Re: Enabling ESI:Include on Akamai (SDI)
Avatar
Validate 1
Level 1
aemninja
Level 1

Likes

2 likes

Total Posts

59 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
aemninja
- Adobe Experience Manager
@Ravi_Pampana - Thanks for your reply. I have already gone through this document but it has no details about what needs to be changed to support esi:include tag.

Views

232

Like

1

Replies

0
Likes from