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...
Using jQuery UI, how can I use a Splitter kind of feature like the one at  http://methvin.com/splitter/3csplitter.html?  I am asking this as I need 2 things to be implemented on my page; Portlet (Draggable) :: http://jqueryui.com/sortable/#portlets a...
I have the application with Servlets, CSS, JS and JSON. It's working with ExtJS 3 library (I keep the code in another project).   The goal is to run this application inside a Liferay Portlet.    I created new Portlet called "portal-portlet...
My application was in IBM WebSphere portal, where we have a centralized theme for all the portlets. We build individual portlets with the specific features which are then installed from a page into the portal like as shown below.   So altogether we b...
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?...
How to set number of line to display in a List Portlet in Netsuite? For example display only 10 lines and press ">" to view next 10 list or scrolldown to view?  function displayEmailList(portlet, column) {  var col = portlet.addColumn('...
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 breaking my head trying to call a js function from a button element inside a form, here is my code:  <%  PortletPreferences prefs = renderRequest.getPreferences();  String employee = (String)prefs.getValue("name", "New Employee...
I was wondering if it's possible to edit Liferay Portal's HTML code, add a couple of <br> to have more space between portlets. Or even add some Javascript to it? Is this possible? If so, how?  Thanks...
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.