Expand my Community achievements bar.

Jakolcz
Jakolcz
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hello,I'm trying to port my simple webservice consuming app to CQ5 but I'm still getting this errorcom.sun.xml.internal.ws.model.RuntimeModelerException: A WebService annotation is not present on class: info.server.app.catalogservices.services.csscatalogservicesinterface_1.PortTypefrom this callvari...

    Type

    Questions

    Views

    2.4K

    Likes

    0

    Replies

    5
  • I have Eclipse that is set to work with CQ and I want to generate javadoc during the bundle compilation. I have 4 projects in Eclipseproject-defaultproject-default-bundleproject-default-componentsproject-default-contentIn project-default-bundle(which contains .java classes) I added this to pom.xml f...

    Type

    Questions

    Views

    2.0K

    Like

    1

    Replies

    1
  • I'm trying to get DataSourcePool instance for servlet in OSGi bundle but the standard approach doesn't work. I used to get DataSourcePool via Activator like thispublic class Activator implements BundleActivator { private DataSourcePool source; public void start(BundleContext context) throws Exceptio...

    Type

    Questions

    Views

    4.6K

    Likes

    2

    Replies

    18
  • I'm creating java servlet and I have problem with compilation. It says "The method adaptoTo(Class) is undefined for the type ResourceResolver". I'm following this tutorial and when I try to compile it, I get this error:The method adaptoTo(Class) is undefined for the type ResourceResolver line: 81Thi...

    Type

    Questions

    Views

    1.9K

    Likes

    2

    Replies

    2
  • Hi,I'm trying to send e-mail with some information provided via <form> but I'm not really sure how to do it. I've understood that I need to create Servlet that process the form data and sends the email. I've tried to follow these instructions but it's not clear enough for CQ5/Servlet(I don't have an...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    2
  • I have problem with language specific symbols in my contact form. I have form, that leads to my servlet which sends email but in the time that the servlet is ran, the characters are already bad. For example if I enter this "ěščřžýáíé" to the form and submit it, the characters that the servlet gets a...

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    2
  • I'm creating component with html5smartimage and few fields for aditional info. How can I get information(especially URL) about the image? I know how to access pathfield/textfield info but I don't know how to get html5smartimage info.This is my html5smartimage[img]html5smartimage.png[/img]Thanks for ...

    Type

    Questions

    Views

    2.4K

    Likes

    2

    Replies

    8
  • Hi,I'm trying to activate user account in servlet but if I open the page and I'm not logged, the UserManager#getAuthorizable(String) returns null. I think it's because of some security features so I tried to create logged javax.jcr.Session but I wasn't able to create javax.jcr.Repository(and I could...

    Type

    Questions

    Views

    1.4K

    Like

    1

    Replies

    1
  • I'm trying to programmatically create, disable and enable CQ5 user account. I'm able to create and disable the account but I don't know how to enable it again. Here's my codeorg.apache.jackrabbit.api.security.user.UserManager um = request.getResourceResolver().adaptTo(org.apache.jackrabbit.api.secur...

    Type

    Questions

    Views

    2.3K

    Like

    1

    Replies

    4
Top badges earned by Jakolcz
Customize the badges you want to showcase on your profile