since ‎21-02-2013
‎10-12-2019
Feike_Visser1
Employee
Re: Default Sling Script Error
Avatar

Feike_Visser1

Employee

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

Views

5.6K

Likes

0

Replies

1
Re: Default Sling Script Error
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
I would expect DemoClass.Can you share your HTL code?

Views

5.6K

Likes

0

Replies

2
Re: The annotation @Reference is disallowed for this location
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
my best guess is that is a difference in the poms

Views

2.3K

Likes

0

Replies

0
Re: The annotation @Reference is disallowed for this location
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
can you share the code?

Views

2.3K

Likes

0

Replies

0
Re: The annotation @Reference is disallowed for this location
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
can you try 4.1.0htl-examples/pom.xml at master · heervisscher/htl-examples · GitHub

Views

2.3K

Likes

0

Replies

0
Re: The annotation @Reference is disallowed for this location
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
what version are you using of this?maven-bundle-plugin

Views

2.3K

Likes

0

Replies

0
Re: The annotation @Reference is disallowed for this location
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
what are the paths of @Compoent and @Reference?

Views

2.3K

Likes

0

Replies

0
Re: Problem with deploying mvn archetype to localhost.
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
what cmd do you use?

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.4 Connect java file with HTML File
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
to me this only works if the java-class is part of a bundle

Views

1.5K

Likes

0

Replies

0
Re: Unable to Prevent LinkChecking on Servlet Request
Avatar

Feike_Visser1

Employee

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.

Views

1.5K

Likes

0

Replies

0
Re: Access denied for Sling servlet ajax call via htl in Touch ui
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
can you share some code?

Views

1.2K

Likes

0

Replies

0
Re: How to provide default value in if condition in sightly
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
to me you can do this with ||

Views

1.4K

Like

1

Replies

0
Re: Unable to access Package Share
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
have you tried with Firefox?

Views

1.5K

Likes

0

Replies

0
Re: For artifact {com.adobe.aem:uber-jar:null:jar}: The version cannot be empty.
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
Also try with the -U option

Views

1.5K

Likes

0

Replies

0
Re: data-sly-repeat define max item via cq dialog
Avatar

Feike_Visser1

Employee

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

Views

4.1K

Likes

0

Replies

0
Re: Can we use % (modulo) in Sightly
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
Raise a sling jira-ticket for it.

Views

1.7K

Likes

0

Replies

0
Re: Sling servlet txt extension not working with OSGi DS 1.2 annotations
Avatar

Feike_Visser1

Employee

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

Views

4.3K

Likes

0

Replies

1
Re: data-sly-repeat define max item via cq dialog
Avatar

Feike_Visser1

Employee

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

Views

4.1K

Likes

0

Replies

0
Re: Sling servlet txt extension not working with OSGi DS 1.2 annotations
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
to me the url should be /content/page/_jcr_content.robot.txt

Views

4.3K

Likes

0

Replies

4
Re: AEM 6.3 SP1 to SP3 upgrade | Uber Jar
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
I would raise a support ticket.., do you have the same when you do this logic inside a JSP?

Views

1.5K

Likes

0

Replies

0
Re: HTL data-sly-test
Avatar

Feike_Visser1

Employee

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.

Views

3.5K

Like

1

Replies

0
Re: Aem cq mail service
Avatar

Feike_Visser1

Employee

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?

Views

6.3K

Like

1

Replies

1
Re: Detecting Touch UI or Classic UI Modes in HTL (Sightly)
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
for the main-modes I would go for ${wcmmode.edit}, no need for extra libs

Views

1.4K

Likes

0

Replies

0
Re: Difference between adaptables values in a Model class
Avatar

Feike_Visser1

Employee

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.

Views

1.5K

Like

1

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Feike_Visser1

Employee

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…

Views

2.2K

Likes

0

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Feike_Visser1

Employee

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

Views

2.1K

Likes

0

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Feike_Visser1

Employee

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

Views

2.1K

Likes

0

Replies

0
Re: IE11 Download css as Content-Type text/html
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager Forms
Yes, ModMimeUsePathInfo must be configured.see here Installing Dispatcher

Views

16.3K

Likes

0

Replies

0
Re: OSGi Configuration with the Web Console | Multi-multifield.
Avatar

Feike_Visser1

Employee

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();

Views

1.2K

Like

1

Replies

0
Re: Error in getServiceResourceResolver method
Avatar

Feike_Visser1

Employee

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;

Views

8.6K

Likes

0

Replies

0