Author: Rolf Rothamel
Date: 2018-10-27
Just a short code snippet that allows the extraction of URL parameters via JavaScript: function get_url_param( name ) { name = name.replace(/[\[]/,”\\\[“).replace(/[\]]/,”\\\]”); var regexS = “[\\?&]”+name+”=([^&#]*)”; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if ( results == null ) return “”; else return results[1]; }
Author: Rolf Rothamel
Date: 2018-10-27
Categories:
Java,
LiferayThe development for the Liferay portal is quite nice by using a local develop environment with Eclipse, Mysql and Liferay. Therefore you should download the following components: Liferay (http://sourceforge.net/projects/lportal/files/Liferay%20Portal/) Liferay Portal bundled with Tomcat Liferay Portal sources Liferay Portal Documentation Liferay Portal SDK Eclipse Eclipse Liferay IDE (downloadable via Eclipse Marketplace -> just search for […]
Author: Rolf Rothamel
Date: 2018-10-27
Categories:
Java,
LiferayThis little tutorial is written for users that are familiar with the following points, so they are not explained in detail: Working with linux (or any other OS of your choice), an editor like vi, etc. Install and configure a Mysql instance Creation of schema and assignment of user and rights Before you start with […]