Tuesday, July 8, 2014
Wednesday, December 22, 2010
The function function get2post(requestUrl, target) can be called in this way:
or, you can specify a popup window or target by calling it in this way:
You can look at the test page over here: get2post
In order to use this function, copy and paste the script below to your html site.
/* Author: Redi Gokaj
function get2post(requestUrl, target)
if (target == null) target = '_parent';
var postUrl = requestUrl.split("?");
var parameters = requestUrl.split("?").split("&");
var postForm = document.createElement("form");
postForm.style.display = "none";
for (i = 0; i < parameters.length; i++)
var formElement = document.createElement("input");
var name = parameters[i].split("=");
var value = parameters[i].split("=");
formElement.name = name;
formElement.value = value;
Friday, August 27, 2010
"Java compiler level does not match the version of the installed Java project facet. Unknown Faceted Project Problem (Java Version Mismatch)"
Different solutions can be searched or applied but I would recommend you to check firstly if the JDK is properly installed and after checkcing this you need to right-click to the error and chose Quick Fix. After that there are shown 2 optional choices which one of them is to use your current JDK version. By choosing that you fix your workspace problem.
Sunday, June 6, 2010
When using gtk-recordMyDesktop in Ubuntu some people face problems when recording together with audio. The problem that I faced was a bad recording and sometimes skipping seconds during the audio record. After searching around you may find some solutions, but each is responsible for the specific problem that it explains. In my case, I found another simpler solution without making modifications. When using gtk-recordMyDesktop you can disable audio recording, but record your audio with "Sound Recorder" that comes installed in Ubuntu. In the end of your recording session you will have 2 files, one containing the video and the other containing the audio. Now its time to mix them. By using "MKV files creator" (you can find it in the software repository) you can merge audio and video directly without losing quality. The operation is done in an instant, so you don't even need to wait.
Friday, June 4, 2010
This post contains the first tutorial on the Eclipse series for Dynamic Web Applications. Setting up eclipse environment together with Apache Geronimo 2.2 is the first step. All the work is done in Ubuntu.
In order to make PrimeFaces work we need to add to web.xml these:
And in order to use PrimeFaces in jsp tags, we need to add the following taglib:
<%@ taglib uri=”http://primefaces.prime.com.tr/ui” prefix=”p” %>
http://www.primefaces.org/downloads.html - Here you can find the JARs required to make it work
Rational Software Architect Logical to Physical Data Model Transform from Redi Gokaj on Vimeo.
The purpose of this video is to explain a scenario which shows the way how to create a database project using an object oriented approach. Rational Software Architect and Rational Data Architect (Infosphere Data Architect) are used for this tutorial. Using RDA and RSA you may watch this simple tutorial about creating a logical model. After that, converting it to a physical model. The third step will be creating the database, and after that creating the entities mapped with the database. With a sample web application, these entities are used and tested.