Simple Edit is a simple text editor written in Java. Older versions are available on Docker Hub and GitHub. Note: We recommend using Liferay's published Docker Image. We proudly present SimpleEdit v2.0, beside a new layout, there are some nice new features. Liferay POrtal 7.4 ga44 Liferay Commerce 4.0 GA44 September 30, 2022. From the previous mentioned article you'll learn that for the Document Library several interfaces and abstract classes are available to extend. SimpleEdit will be present at the Liferay NAS in Chicago on the 16th and 17th of November. The factory class will be chained in the list of factory classes according to the service ranking. This factory class instantiates and returns your Display Context which provides all the necessities for your view. To register your Display Context object so that a dlDispla圜ontextProvider can return it, you should also implement a Display Context Factory. So you'll need to provide the implementation for a Display Context object and have it return some kind of menu. If you don't know what a Display Context is, read the Liferaypedia article describing it (don't worry, I had to discover this new object myself).Ī Display Context is a Java class that controls access to a portlet screen's UI elements The only JSP code here is just one line (all the other lines are scriptlets :-s): In the new Document Library module the main object used is DLViewFileVersionDispla圜ontext. We used to override the file_entry_action.jsp file and add the SimpleEdit action to the icon-menu. So here is an overview of what you would need to do if you ever want to achieve the same goals. These menu's weren't build anymore in a JSP, but through different classes.Īfter several deep dives into the source code, reading a handful tutorials (see the Resources section) and even a short Twitter conversation with one of the Liferay Document Library developers, we were able to add the four menu items mentioned above. But after a deep dive into the source code it became clear that this would not be the way forward. We hoped to be lucky and just port our changes to the new versions of JSP's in Liferay DXP, as described in a tutorial. Looking at the DXP UI, it became clear that we needed to add our buttons in the following locations. One of the required modules for SimpleEdit was a JSP hook that provided the user with buttons in the Documents section of the Control Panel and the Documents and Media portlet. Now that Liferay has moved on to DXP, we are in the process of upgrading SimpleEdit to this new platform. At Coin we have developed SimpleEdit, a new and improved way for editing your documents stored in Alfresco or Liferay. This platform is designed to mimic that technique and help anyone and everyone start to utilize their data and become 60 happier, smarter, and more productive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |