I’m working with templates and components developed originally in CQ 5.6.1, but now deployed on an AEM 6.4 instance.
Basically, my templates are static templates with some typical <cq:include path="par" resourceType="foundation/components/parsys"/>. I know the components need the new TouchUI dialogs (cq:dialog), but we can start with the EXT version for now.
At first sight, site pages work fine in TouchUI. They render well. Also, I’ve checked the Blueprint/Livecopy functionalities and works fine. But the problem is that we can’t see the ‘edit’ button when we click on any component. We can only see ‘Copy’, ‘Group’ and ‘Convert…’. The component is already on the page, so it’s not a ‘design mode’ issue.
I've reviewed this official AEM 6.4 documentation page:
I've downloaded and installed the package from this page (website-1_0.zip), and I've the same issue. It doesn't work. You can configure in design mode the components available in a parsys, but you can't add or edit any component.
So, it's an AEM 6.4 bug? Or a documentation bug? (Or it's me?!)
Whatever you use components and templates for AEM 5.6.1, it will work in AEM 6.4 too until unless it is deprecated.
The Adobe documentation you are referring is to create full featured website in JSP: Create a Fully-Featured Website (JSP)
Also, the recommended/best practice is to use HTL aka sightly components from AEM 6.1 onwards. Please have a look of HELPX articles which you create full featured website using HTL.
Hope this helps!!
Thanks for your response, but it doesn't help. Obviously, unless they are deprecated, components should work. But they don't.
Of course, the original components were developed as JSP components, as HTL-Sightly was not available with CQ 5.6.1. We don't need to create new HTL components, we need the original /content structure and components, that is nowadays on a live site, in CQ 5.6.1, works on AEM 6.4. We are trying to avoid a migration of not only components, but all the /content to a new, different, structure.
Anyway, the steps stated in the official documentation I referred previously should work, but it doesn't. Maybe I will open a Support ticket.
Thank you very much.
Many times when upgrading to AEM 6.4 from 5.x - you may need to rewrite your components - esp if they have Java libs and dependencies.
When moving to 6.4 - you should work through this article - which reflects best practice in AEM 6.4 and 6.4 technologies like editable templates, HTL, etc:
That JSP topic is old and even has this note:
Adobe recommends leveraging the latest AEM technologies for your websites as described in detail in the article Getting Started Developing AEM Sites.
Thank you Scott. What about the article  in the official AEM 6.4 documentation? In this example, there's only a foundation/components/parsys, and it doesn't work. Even with a simple text or title component.
I'm going to open a Support Ticket. Thanks.
Just check are you getting any error in your browser console, while opening the page. If yes and it is related to max call stack trace, then try to increase Number of Calls per Request by going to http://localhost:4502/system/console/configMgr then search for Apache Sling main servlet and increase its value from 1000 to 1500.
We don't have any errors on loading the page. But we've an error when clicking in the parsys 'Drag components here' container. The console error is:
I've changed the value of Apache Sling Main Servlet to 1500, but nothing changed.
Thanks for your time!
I've opened a support ticket, and I will update this thread with the solution. Anyway, if anybody wants to win the Support Team solving it... 🙂
I'm sorry. The example package from official documentation works fine on fresh AEM 6.4 installation. I was installing on a new AEM 6.4 installation, but with other project deployed on it, and it seems this project is interfering with standard AEM functionality.
I'll investigate further. Thank you all.