Expand my Community achievements bar.

samuel786431
samuel786431
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • sure,I'm in siteadmin of CQ5.5.I have created a trigger that runs when a page publish side is deleted. (img of the previous post)I think that if i delete a published page in author instance the same page will be deleted publish side.But if i delete the page the trigger doesn't run.Why?

    Type

    Questions

    Views

    497

    Likes

    0

    Replies

    0
  • Hi,I need to trigger a workflow when the user deletes a page on publish instance.[img]Untitled.png[/img]Now i'm on author instance and i delete a published page under /content/gimb_it/x/y, the workflow isn't triggered.Why?Thanks

    Type

    Questions

    Views

    733

    Likes

    0

    Replies

    4
  • I'm using cq5.5 with this path @SlingServlet(paths={"/services/gimbupdatepab/"})if the replicator point to http://localhost:4502/services/gimbupdatepab the request is 200 OK but the log inside get/post doesn't appearWith the same url inside the browser toolbar i have 403 Forbiddenif the replicator p...

    Type

    Questions

    Views

    452

    Likes

    0

    Replies

    0
  • I can use a replication agent to call a servlet author side so i can capture the request that point to the publish.This is my servlet:package eu.unicredit.gimb.servlet; import org.apache.felix.scr.annotations.Properties; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.a...

    Type

    Questions

    Views

    435

    Likes

    0

    Replies

    0
  • Hi,i'm searching to capture the event of the move command of pages.This command does 4 things:it deletes a page author sideit creates a renamed page author sideit deletes a page public sideit creates a renamed page publish side (if the user wants)I can capture the first and second step with a trigge...

    Type

    Questions

    Views

    583

    Likes

    0

    Replies

    4
  • Hi,I'm working about a replicator agent.When the user activate the page, 2 replicators starting. One manages the publishing and one another thing.I need to advise the user if the second replicator raise an exception.In this case the square becomes green, is there a way to force the square to orange?...

    Type

    Questions

    Views

    295

    Likes

    0

    Replies

    2
  • This is the solution:String page_path=request.getHeader("path"); String request_type=request.getHeader("action");

    Type

    Questions

    Views

    631

    Likes

    0

    Replies

    0
  • The Action parameter is null. I have also tried with this wothout resultpublic void handleRequest(SlingHttpServletRequest req) throws IOException { log.info("handleRequest"); Map<String, RequestParameter[]> map = req.getRequestParameterMap(); for (Map.Entry<String, RequestParameter[]> entry : map.en...

    Type

    Questions

    Views

    631

    Likes

    0

    Replies

    0
  • Yes i'm trying to invoke an AEM servlet from a custom replication handler.I don't know the name of the parameter so i have produced the snippet above to iterate all the parameters.I think it is impossible that the request doesn't have parameters therefore there is an error in my snippet.I will try t...

    Type

    Questions

    Views

    631

    Likes

    0

    Replies

    0
  • Hi,I have a replicator that call a servlet. I need to recovery from the request the type of the operation: activate or deactivate.public void handleRequest(SlingHttpServletRequest req) throws IOException { log.info("handleRequest"); Enumeration<String> parameterNames = req.getParameterNames(); while...

    Type

    Questions

    Views

    885

    Likes

    0

    Replies

    7
Top badges earned by samuel786431
Customize the badges you want to showcase on your profile