since ‎21-02-2013
‎10-12-2019
Feike_Visser1
Employee
Re: Default Sling Script Error Feike_Visser1 - Adobe Experience Manager
this error 'No use provider could resolve identifier com.aem.community.core.demoClass' normally means:- class can't be found- bundle is not active
5231
Views
0
Likes
1
Replies
Re: Default Sling Script Error Feike_Visser1 - Adobe Experience Manager
I would expect DemoClass.Can you share your HTL code?
5231
Views
0
Likes
2
Replies
Re: The annotation @Reference is disallowed for this location Feike_Visser1 - Adobe Experience Manager
my best guess is that is a difference in the poms
1814
Views
0
Likes
0
Answers
Re: The annotation @Reference is disallowed for this location Feike_Visser1 - Adobe Experience Manager
can you share the code?
1812
Views
0
Likes
0
Answers
Re: The annotation @Reference is disallowed for this location Feike_Visser1 - Adobe Experience Manager
can you try 4.1.0htl-examples/pom.xml at master · heervisscher/htl-examples · GitHub
1807
Views
0
Likes
0
Answers
Re: The annotation @Reference is disallowed for this location Feike_Visser1 - Adobe Experience Manager
what version are you using of this?maven-bundle-plugin
1811
Views
0
Likes
0
Answers
Re: The annotation @Reference is disallowed for this location Feike_Visser1 - Adobe Experience Manager
what are the paths of @Compoent and @Reference?
1811
Views
0
Likes
0
Answers
Re: Problem with deploying mvn archetype to localhost. Feike_Visser1 - Adobe Experience Manager
what cmd do you use?
1189
Views
0
Likes
0
Answers
Re: AEM 6.4 Connect java file with HTML File Feike_Visser1 - Adobe Experience Manager
to me this only works if the java-class is part of a bundle
1340
Views
0
Likes
0
Answers
Re: Unable to Prevent LinkChecking on Servlet Request Feike_Visser1 - Adobe Experience Manager
just a side comment from your code, no need to close the resourceresolver and I wouldn't use member-vars in your servlet.
1327
Views
0
Likes
0
Answers
Re: Access denied for Sling servlet ajax call via htl in Touch ui Feike_Visser1 - Adobe Experience Manager
can you share some code?
1138
Views
0
Likes
0
Answers
Re: How to provide default value in if condition in sightly Feike_Visser1 - Adobe Experience Manager
to me you can do this with ||
1290
Views
1
Like
0
Answers
Re: Unable to access Package Share Feike_Visser1 - Adobe Experience Manager
have you tried with Firefox?
1460
Views
0
Likes
0
Answers
Re: For artifact {com.adobe.aem:uber-jar:null:jar}: The version cannot be empty. Feike_Visser1 - Adobe Experience Manager
Also try with the -U option
1319
Views
0
Likes
0
Answers
Re: data-sly-repeat define max item via cq dialog Feike_Visser1 - Adobe Experience Manager
fyi , [SLING-8217] Numeric operations can lead to Java code that doesn't compile - ASF JIRA it is a bug in HTL/Sling
3883
Views
0
Likes
0
Replies
Re: Can we use % (modulo) in Sightly Feike_Visser1 - Adobe Experience Manager
Raise a sling jira-ticket for it.
1527
Views
0
Likes
0
Answers
Re: Sling servlet txt extension not working with OSGi DS 1.2 annotations Feike_Visser1 - Adobe Experience Manager
Or change your resourceType, here an example: acs-aem-commons/SiteMapServlet.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub
4046
Views
0
Likes
1
Replies
Re: data-sly-repeat define max item via cq dialog Feike_Visser1 - Adobe Experience Manager
"Operands are not of the same type: comparison is supported for Number types only."means not the same type.Make sure that properties.maxItems is of type of number
3883
Views
0
Likes
0
Replies
Re: Sling servlet txt extension not working with OSGi DS 1.2 annotations Feike_Visser1 - Adobe Experience Manager
to me the url should be /content/page/_jcr_content.robot.txt
4046
Views
0
Likes
4
Replies
Re: AEM 6.3 SP1 to SP3 upgrade | Uber Jar Feike_Visser1 - Adobe Experience Manager
I would raise a support ticket.., do you have the same when you do this logic inside a JSP?
1447
Views
0
Likes
0
Answers
Re: HTL data-sly-test Feike_Visser1 - Adobe Experience Manager
You can call any method that has no arguments in data-sly-test.In your case check if your item has these methods.
3285
Views
1
Like
0
Replies
Re: Aem cq mail service Feike_Visser1 - Adobe Experience Manager
the error indicates that the class can't found. Either the code is not deployed, or the bundle is not active.can you check at /system/console/services whether the service is available?
5876
Views
1
Like
1
Replies
Re: Detecting Touch UI or Classic UI Modes in HTL (Sightly) Feike_Visser1 - Adobe Experience Manager
for the main-modes I would go for ${wcmmode.edit}, no need for extra libs
1243
Views
0
Likes
0
Answers
Re: Difference between adaptables values in a Model class Feike_Visser1 - Adobe Experience Manager
When using Resource you can reuse without a UI in mind, when using request you can also access request-info.
1185
Views
1
Like
0
Answers
Re: Sling model two adapters, adapt problems Feike_Visser1 - Adobe Experience Manager
here you see the source code, first it tries via request and then resource:sling-org-apache-sling-scripting-sightly-models-provider/SlingModelsUseProvider.java at master · apache/sling-org-apache…
1841
Views
0
Likes
0
Answers
Re: Sling model two adapters, adapt problems Feike_Visser1 - Adobe Experience Manager
here you can find the right version of the uber-jar: Index of /groups/public/com/adobe/aem/uber-jar
1661
Views
0
Likes
0
Answers
Re: Sling model two adapters, adapt problems Feike_Visser1 - Adobe Experience Manager
"I think the default adaptable is request "It is really about what is done first, request or resource. Nothing about priority here
1669
Views
0
Likes
0
Answers
Re: IE11 Download css as Content-Type text/html Feike_Visser1 - Adobe Experience Manager Forms
Yes, ModMimeUsePathInfo must be configured.see here Installing Dispatcher
15922
Views
0
Likes
0
Replies
Re: OSGi Configuration with the Web Console | Multi-multifield. Feike_Visser1 - Adobe Experience Manager
see here an example: htl-examples/MyServiceConfiguration.java at master · heervisscher/htl-examples · GitHub @AttributeDefinition(name = "Multiple-Values", description = "Multi Configuration values")String[] getStringValues();
1100
Views
1
Like
0
Answers
Re: Error in getServiceResourceResolver method Feike_Visser1 - Adobe Experience Manager
Also you are mixing annotations (osgi and felix)import org.osgi.service.component.annotations.Component;import org.apache.felix.scr.annotations.Properties;import org.apache.felix.scr.annotations.Property;
8371
Views
0
Likes
0
Replies