5 Replies Latest reply on Jun 8, 2012 3:25 PM by Ashay Deshpande

    How to check your instance (Author/publish) in page component

    Ashay Deshpande


         I am trying to put a condition in my code to check if the instance is author/publish. I found a link for this as follows:


      http://dev.day.com/content/kb/home/Communique/CQDevelopment/ComponentsTemplates/AuthorORPu blish.html


      But it seems like the package com.day.cq.delivery in com.day.cq.delivery.DeliveryHttpServletRequest is depricated and hence not available in CQ5.4.   I could find this package to download on internet. Could anyone please let me know what is the solution to this.