Wicket - Updating ListViews using an AjaxLink

Posted by Mischa Dasberg mid-morning: June 4, 2008

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...)

Book Review: Adobe AIR for Javascript Developers

Posted by Balaji D Loganathan in the early morning: May 6, 2008

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...)

Podcast Episode 19 - RIA vs Web 2.0

Posted by Robert van Loghem around lunchtime: April 29, 2008

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!

Wicket and List Choice Transfers

Posted by Mischa Dasberg in the late evening: March 25, 2008

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!

  select transfer   select transfer

(more...)

Podcast Episode 17 - RIA - Part 2

Posted by Robert van Loghem mid-afternoon: March 20, 2008

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!

Podcast Episode 16 - RIA - Part 1

Posted by Robert van Loghem in the early evening: March 7, 2008

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!

Spring with Stripes - A Maven Based Sample Code

Posted by Balaji D Loganathan at around evening time: March 4, 2008

The purpose of this post is to give a Maven based sample code of Spring with Stripes integration. The source code set is already in Eclipse project format, so you can use eclipse to view files content and structure.
This post will not explain about the techniques of integrating spring with stripes. The spring with stripes integration is very well explained at Stripes framework wiki page - Spring with Stripes. I kindly suggest you to read that documentation first before trying out the sample code given in this post. This post also assume that you are familiar with the basics of Maven, Eclipse, Stripes and Spring.

Few of the other "How to" samples (like Ajax addition, addition, echo, stripes layout reuse) that were documented in Stripes framework wiki page were also included in this sample code.
(more...)

How to make Displaytag ajax enabled using DWR?

Posted by Mischa Dasberg late at night: December 10, 2007

Displaytag is an open source suite of custom tags with which you can easily display a collection of Objects as a table including direct support for paging and sorting. Normally selecting a new page, or sorting the tables leads to a complete page-refresh. It is more user-friendly to refresh only the data in the table using Ajax technology, however Displaytag doesn't offer this out-of-the-box. But we can of course try to add support for this using one of the many Ajax frameworks that are currently available.

A non ajax enabled Displaytag would do a request to a controller for every action such as a sorting or selecting a next page. This would result in a complete page refresh (step 1-8 ). When we Ajax enable the Displaytag we skip the page refresh and only refresh a specific piece of the page using an exposed service which provides the updated HTML fragment (step 1a-8a).
(more...)