Integrating HTML5 and Wicket

by kinabalu on 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 tags. There are quite a few examples out there that show off canvas, geolocation, storage, and of course video and audio.
[click to continue…]

{ 0 comments }

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 the next logical step to make available. So point your browser here:

http://wicketbyexample.com/examples

This is running the latest 1.4.6 release of Apache Wicket. Enjoy.

{ 2 comments }

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 →

Apache Wicket 1.4.1 released – supports Ajax file uploads

August 20, 2009

The awesome development team at Apache Wicket has just released it’s first maintenance release. Of note is the transparent support for file uploads when AJAX is being used. Wicket automatically submits the form using a hidden iframe rather than the standard
XMLHttpRequest
method.
Read more about this release

Read the full article →

Wicket Tutorial: YUI AutoComplete using JSON and Ajax

August 12, 2009

A new step-by-step tutorial on how to integrate a Yahoo! User Interface Library (YUI) AutoComplete control with Wicket can be found here:
Wicket Tutorial: YUI AutoComplete using JSON and Ajax
It covers quite a few Wicket concepts, such as:

Creating a re-usable Wicket custom component
How to use a Wicket Ajax “Behavior”
Integrating a third party JavaScript widget into [...]

Read the full article →

A mailto behavior for your model

August 7, 2009

A great contribution from Vit Rozkovec gives us a Wicket Behavior that renders a mailto link for an email address based model.

Read the full article →