Forcing Wicket to place JavaScript files at the bottom
When you add any Wicket component library e.g. Wicket-Bootstrap to your project, usually it adds some JavaScript and CSS resources to every page or panel. But the problem is that these JS files are added in the...
Deploying Java Web Application on Jelastic
Some time ago having your own full-fledged hosting with Java, Tomcat and any database wasn’t cheap, but luckily we live in a very interesting times and now there are many virtual hosting services in the Cloud...
Using Twitter Bootstrap Navbar as a Wicket component
All of you probably heard about Twitter Bootstrap, an awesome set of components allowing to create nice looking web pages and application without diving deeply into CSS/JS hacks. If you want to see what this...
Conversation scope in Wicket using CDI
Some time ago I was asked to do some research about integrating Wicket with conversation scope from Context and Dependency Injection (CDI) from JEE6 specification. And as not everything was clear and easy to run, I...
Wicket Tutorial, part 9 – storing and loading user preferences from cookies
In the previous post we learnt a few tricks regarding internationalization features in Wicket. Today we will go further and will let application to remember some user preferences using HTTP Cookies. Storing some...
Wicket Tutorial, part 8 – adding internationalization support
Today we will continue Wicket tutorial series with adding support to multiple languages in web application. Ok, let’s do it step by step. Create form to change language To make our changes visible and testable at...
Wicket Tutorial, part 7 – editing and removing item locations
Welcome back to our practical Wicket tutorial series. I apologize for long break after last post (shame on me as it was published more than 1,5 month ago) but I had many unplanned things with higher priority:...
Our short Wicket talk at Web frameworks shootout, 33rdDegree conference
If you, by any chance, are one of the 33rdDegree conference participants and you are interested in developing web applications using Java/JVM environment you should also be interested in one of the BOF sessions on...
Wicket tutorial series – building web application from scratch
This post aggregates the series of Wicket tutorial articles from this blog. But as this tutorial is still not finished and new posts will be published in the near future, please return here again to find new parts...
Wicket Tutorial, part 6 – listing locations in a simple manner
Today we will add simple listing view for locations added to the database in previous posts. I said ‘simple’ as there are some more sophisticated ways to show many items using Wicket but probably we will not have...
Wicket tutorial, part 5 – generic unique entity validator
As I promised in the previous post, today we will focus on transforming our unique name validator in Wicket to generic one. So now, let’s simply list what we are going to achieve; validator should validate any...
Wicket Tutorial, part 4 – custom validator for unique entity name
Welcome back to our Wicket tutorial series! 🙂 As I mentioned in previous post, today we will concentrate on building validator stopping user from adding item location with non-unique name. At first we will start...
Wicket Tutorial, part 3 – first form in our application
Hello Visitor 🙂 In previous posts we created base project and added common layout to ItemDirectory Wicket application. Today we are going to add first form to allow users to insert some data into our application....
Wicket Tutorial, part 2 – adding common layout to the project
Hello everyone! In the previous post we set up base project using Wicket for out future development of ItemDirectory web application. That post, which was intended to be mainly about Wicket, surprisingly gathered...
Wicket Tutorial, part 1 – setting up project with Spring 3, JPA 2 and MySQL
Today I start my personal project Item Directory which will be developed as a element of Wicket Tutorial series on this blog. Item Directory will be a web application to help you manage your collections of items...
Custom PagingNavigator with changing items per page in Wicket
In one of my recent projects I had to create Wicket pagination component with one additional functionality allowing user to dynamically change maximum number of items presented on each page. Finished component will...
Solving com.mysql.jdbc. exceptions.jdbc4. CommunicationsException in Spring JDBC based application
Last week after releasing first version of Wicket, Spring and JDBC based application into production I noticed strange behavior. Everyday first attempt to enter the service caused unexpected exception. Quick glance...
Simple notification about errors in Wicket-based application
Today I am going to to describe a simple and quick trick in Apache Wicket which allow our web application to send email everytime when something goes wrong. Adding some method when exception appears in Wicket-based...
Wicket – useful links
Inspired by posts with useful links at blog by Piotr Paradziński I decided to create similar one with package containing interesting materials about Wicket and accompanying libraries. I am going to update this post...
Wicket Ajax Modal ‘Are you sure?’ window
While developing web application with Wicket I sometimes need to check whether the user really, really does want to do something, for example to delete an entity from the database. The first and easiest choice that...