After being away from the GIS world for a while, I started working on a new project replacing the current used software by an open source alternative. The first small application that needed to be made was for an emergency phone call center to show the position of the caller on a map. After that a few prototypes should prove that it was doable to replace the current software stack by open source alternatives.
In this blog I will describe the tools used, a few of the problems I ran into and of course the solutions to the problems which involve coding and communication
The tools used where a Java based server called Geoserver and a client side JavaScript library called OpenLayers.
Filed under Ajax, GIS, Java, Javascript, Opensource, Oracle | 1 Comment »
Last week I ran into a problem while testing AjaxBehavior in Wicket.
Consider the following scenario: we have a FormComponent which has an AjaxBehavior added to it. We want to test that behavior. Depending on the selected value of for instance a RadioChoice, the Ajaxbehavior should show one component and hide another.
You would think that this would be out of the box behavior when using WicketTester, but unfortunately this is not the case. Triggering an Ajaxbehavior is easy using WicketTester, but setting the selected value isn't. (more...)
Filed under Ajax, Java, Testing, Wicket | 1 Comment »
Validations are a huge part of any software development. We need to validate that the data being entered from the UI is correct i.e of correct type or we are not leaving a notNull/notEmpty fields to be blank. There are so many ways to fulfill these requirements and we can have UI level validations or persistence level validations.
Tags: Ajax, Hibernate Validation, JSF, Seam
Filed under Ajax, JSF, Seam | 3 Comments »
On our latest project, My colleague Tjeerd Kaastra and I, have been using Wicket.
Since our GUI was so complex, and we had to write 100s of unit tests (a lot of corner cases), we sat down with our testers to find out how we should approach this. Because Our testers use Fitnesse to test both functional acceptance as well as regression tests, they test a lot of the code as well. So we thought, why not integrate the two and that is what we did.
This blog describes how to test Wicket applications using Fitnesse. It is about stretching the limits of the Wicket test components to do so. We will try to explain this by using a small example project we have created to illustrate things. This example project has been inspired on the new user wizard example by Eelco Hillenius. We adapted this example so that it uses Spring, because most apps use a backend system.
Consider the following senario: we want to display some data in a table like manner, and we want it to update when we click on a link or button. We do not want to do a complete page refresh, we want it in an ajax way. Also we would like the modify the css for each cell.
In wicket you can use a ListView iterate over a List of Objects and display them in a table like manner.
This blog describes how you can update ListView data and modify the css for each cell.
(more...)
I was trying to learn Adobe AIR and was looking for some good set of learning resources. I found the book "Adobe AIR for Javascript Developers" from Oreilly by and started reading it online. A cool book, the authors have done great job on presenting the topics as an easilit readable pocket guide. Soon after reading this book, i felt i got the right resource i want for now.
(more...)
Filed under Ajax, CSS, Flex, Javascript, XML | No Comments »
RIA and now! Web 2.0 guy, Bart Guijt talks in this episode of the Xebia Podcast about;
- Web 2.0 vs RIA (is there a link?)
- Adobe AIR deployment in the business
- Dutch article in Java Magazine about 3 popular RIA toolkits
So head on over to the show page or subscribe to our podcast!
Filed under Ajax, Flex, Podcast | No Comments »
Consider the following scenario: we want to have two select boxes and we want to add options from one to the other and back.
Currently, this is not easily possible in Wicket, even though there are a lot of extensions available.
This blog describes an easy way to create a component which does just that!


Filed under Ajax, Java | 3 Comments »
Bart Guijt introduces us to the world of RIA, this is part 2 of the interview!
Bart tells us about;
- Microsoft Silverlight
- Open Laszlo
- Other RIA tookits
- Future of RIA
Hosted by Robert van Loghem
So head on over to the show page or subscribe to our podcast!
Filed under Ajax, Flex, Java, Podcast | No Comments »
Bart Guijt introduces us to the world of RIA.
He lets us know where RIA came from, what it is and what it is not, delves into the catacombs of toolkits and gives some insight into the future of RIA.
Hosted by Robert van Loghem
So head on over to the show page or subscribe to our podcast!
Filed under Ajax, Flex, Java, Javascript, Podcast | No Comments »