Apache Wicket Clustering With Multiple Options

by kinabalu on February 10, 2010

We’ve been seeing more and more implementations of IPageStore out in the wild for Apache Wicket. The interface basically decides how Wicket will store the Pagemap for your application. The default that ships with Wicket uses DiskPageStore which is an implementation that stores the serialized pages grouped in a single file per pagemap. After reading a wonderful blog post on Letsgetdugg a few days ago: Clustering Wicket for fun and profit!, I decided to take a look at writing an implementation using Hazelcast – an “open source clustering and highly scalable data distribution platform”.
[click to continue…]

{ 4 comments }

Wicket Ajax Confirmation Modal window

by kinabalu on February 10, 2010

(Editor’s note: Tomasz Dziurko contributed this column from Code Hard Go Pro.)

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 comes to my mind is to use JavaScript window.
[click to continue…]

{ 0 comments }

New article about OpenID in Java, uses Wicket

February 9, 2010

Last week I was searching examples while working in integrating OpenID in a Java Web Applications and I found a very recent article (January 27th) on the IBM developerWorks.

OpenID for Java Web applications, Part 1 by J Steven Perry offer a panoramic about OpenID in a modern web applications and uses Apache Wicket [...]

Read the full article →

Integrating HTML5 and Wicket

February 1, 2010

After following some of the debates raging about Apple’s new iPad and the future of Adobe’s Flash, the discussion usually turned to the coming future of HTML5.
Seeing as we love Apache Wicket at Mystic, I thought I’d tinker around to see how hard it would be to start adding some support for the new HTML5 [...]

Read the full article →

Latest Wicket Core Examples available via Simple URL

January 30, 2010

After a recent week long training Mystic gave a week ago, one item that came up was the examples as posted on the official Wicket website are a version behind. Available here: http://www.wicketstuff.org/wicket13/.
In response to throwing up the latest javadoc at a simple to remember URL on this website, the examples seem to be [...]

Read the full article →

Wicket Javadoc Access Via Simple URL

January 29, 2010

There are definitely times, that I wish I had easy access to the javadoc for something in the Wicket internals, without opening the IDE, or keeping my own local versions available.
I usually resort to a quick Google search and unfortunately 9 / 10 I get a non-recent javadoc version.
Today I’ve gone through and [...]

Read the full article →

Autocomplete with an Object

January 27, 2010

The Wicket Extensions package provides a neat component called the AutoCompleteTextField.
In a nutshell, this allows you to provide a TextField with a List of Strings and when you start typing, the ones that match the input show up. This is a great component, but consider this scenario:
You have a list of contacts, one of which [...]

Read the full article →

A Gravatar Image component for Wicket

November 11, 2009

The comment system that was added to mysticpaste.com several months ago was pretty bare, boring. It consisted of capturing name, email, and the comment of which we show name and comment only. Since we’re avid blog posters and readers, the thought of implementing a custom Wicket component for a Gravatar immediately came to [...]

Read the full article →

Enums internationalization with Wicket

October 6, 2009

(Editor’s note: Olivier Croisier contributed this column from YesWicket.)
Enums are a convenient way to represent finite collections of elements : seasons, week days… As a consequence, they frequently need to be input or displayed in web applications – and it better be in a I18N-aware way.
Let’s see how easily Wicket can handle this.
Enums internationalization
Throughout this [...]

Read the full article →

Wicket TinyMCE: some advanced tips

September 16, 2009

Some tricks to use TinyMCE wicket integration in a real application: toggle behavior on and off with user interactions, submit a form via ajax with a tinyMCE component inside.

Read the full article →