I want to redirect to an other jsp page in a liferay portlet from js. The idea that I found is using a renderurl. The best code that I found that can help me as a first step is this one:  <a id="renderURLWithJS" href=""> This re...
Has anyone successfully integrated Peoplesoft screens or navigation via an iFrame in a third party app like Liferay or uPortal?  We are trying to integrate Liferay Portal as a web front end and consume some of the PeopleSoft screens in an iFrame port...
I just want to know, if I can have two <portlet:actionURL var="wakeup"> action urls in one jsp. Which will be called depending on a filled inputs and JS submiting this forms. Example:  JS:  function startActions() {     if (document.get...
Liferay 6.2. tries to use best practices and JS minification is one of them.  But what do you do when your unminified JavaScript works and minification produces errors like this (in Tomcat console):  12:23:48,794 ERROR [http-bio-8080-exec-10][Minifie...
I have project based on liferay-portal-6.2-ce-ga5. On my page I want to have iframe with dynamic height.   Right now I do have my iframe like this:     <iframe id="1231-iframe" nam="iframe-name" src="http://localhost:123/ca-cli...
I have created a theme in liferay 6.1. Now my question is how do I change the title of the theme pages. For ex: About us page has title "Aboutus -liferay", I want to change it to "Aboutus".  I have tried using javascript for this like...
I try to create a link refreshing a liferay portlet, but this doesn't work:     <a href="javascript:Liferay.Portlet.refresh('#p_p_id_portletname')">link</a>   What is wrong?...
I'm developing a portlet for a Liferay portal. I'm trying to use AlloyUI Data Table and my code is currently working, but they way in which I fear that I'm doing it in not an elegant and easy to maitain way.   Below is code from my View.j...
I have a form in my portlet in liferay 6. I want to validate data before sending data from form, but I cannot. I want that if my field is empty, the form does not submit.  My jsp code:  <script> function submitForm18() {     var pre=document.fo...
I'm trying to call a json web service with my portlet javascript code: In the js/main.js i have:     Liferay.Service(   '/Basic-portlet.hello/remote-hello',   {     name: ''   },   function(obj) {     console.log(obj);   } );   th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.