Sunday, March 18, 2012

Wicket TinyMCE and AjaxButton

TinyMCE is a WYSIWYG editor, that can be used in Wicket to replace your TextAreas with a Rich Text Editor.

Tuesday, March 13, 2012

Maven Jar Plugin: Setting Main-Class and Class-Path in Manifest

To start a Java application you have to tell JVM where is the program's entry point (Main Class) and where to search for classes (Class Path). Main class must have a public static method called main, which takes command arguments and does the initialization. If your Java application is packaged into JAR you can define Main-Class and Class-Path in manifest file, so that JVM would be able to find your program's entry point and load necessary classes. To do so you can use maven-jar-plugin that generates manifest with Main-Class and Class-Path parameters.

Debugging PHP with Xdebug and Netbeans

Many PHP programmers tend to develop their applications without special debugging tools. PHP developers are happy, because they do not have to wait for recompilation and redeploy, they just press F5 and see the results in browser. I call it "echo" debug method :). In this article I will show you how easy it is to install Xdebug debugger tool and use it in Netbeans IDE.