Let's say I have web content, which is a modal dialog. Now I want to be able to reuse this content in several other web contents. What is the easiest way to achieve this without copy modal code to each web content? JavaScript is allowed.
Liferay, include one web content in another web content
239 Views Asked by Aleksander Mielczarek At
1
There are 1 best solutions below
Related Questions in DIALOG
- Dismissing the dialog by outside touch event is not working
- Android Custom Dialog Display
- Polymer paper-dialog on Mozilla Firefox
- Jquery DIalog Stack stays on top of overlay
- Create jDialog Swing with a message of error with image
- Javafx: Close alert box (or, any dialog box) programatically
- VisualBasic FileBrowse Dialog
- Setting buttons disabled text colour programatically
- how to create a custom dialog and receive results in android?
- How do I execute a function on-close or on dismiss of <paper-dialog> for Polymer 1.0?
- onSelect Interface for Material Dialog
- How to implement function InitInstance() for class Derived from CDialog? MFC
- Put a string into a dialog from a slected list item from a expandable list child
- How I can make ChoiceDiIalog with multiple ChoiceBoxes in JavaFX 8
- Selenium test cases are failed for a modal popup window
Related Questions in LIFERAY
- how to bypass the necessity of having to have email address firstname and lastname in liferay to import authenticating users
- How to resolve java.lang.StringIndexOutOfBoundsException: String index out of range: -325 while deploying Liferay Ext plugin 6.1
- Avoid log trace of external framework J2EE
- Unit testing with Liferay 6.2
- Customize Liferay search portlet
- Build Liferay web service with optional parameter
- How to start with liferay
- Embedding Microsoft Power BI into Liferay
- Remove " Automatically Extracted Metadata and Version History " from Liferay portlet
- Get list of users in liferay
- How to pass HTTP request to Web-Service
- How to land users to different page as per their roles
- Incorrect liferay-plugins dependency
- How to pass data from page to Portlet class through AJAX call?
- EL Exception on JSP when passing arguments to liferay-ui:message
Related Questions in WEB-CONTENT
- javascript - how to show multiple textarea in code editor (one of my attempt is to use CKEditor)
- Liferay, include one web content in another web content
- Liferay translation not working with selection break
- Content Classification from URL
- newbie: how to access content from a shop/catalog like website?
- Is it possible for me to instantiate the Journal Article object and set each property without constuctor?
- Upload image and Save inside Web Content Folder in JSP and Save Image Path in Database
- Add a limitation in repeatable dynamic-element in Liferay structure
- Strange Webpage Content Movement
- Looping through same API call using power query in Power BI
- How to check file size upon upload?
- Liferay Web Content
- Cannot fetch content from url with AsyncTask in android?
- Electron JS event is firing multiple times
- Get portlet/page containing web content in Liferay
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Web content is a modal dialog? I don't understand the usecase, thus it's hard to give proper sample code.
If you're aware of the ID of the other webcontent that you want to use, you can retrieve this content through the API, e.g. by writing structures/templates. Templates are able to access the API and render other articles. Some of the API is hidden from templates by default, but you can revert this - look for "restricted" in portal.properties
The WCM API is named after its formal name "Journal*", check the API, e.g.
JournalArticleService.