Posts tagged as:

wicket1_4

A Gravatar Image component for Wicket

by kinabalu on 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 [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 1 comment }

Enums internationalization with Wicket

by ildella on 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 [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 2 comments }

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 [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 0 comments }

A mailto behavior for your model

by kinabalu on 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.

Share this:

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 0 comments }

We just finished up a little blog post talking about upgrading the sample app from 5 Days of Wicket to Wicket 1.4 which was just released. Learn about a simple conversion to 1.4 of MysticPaste.com on Mystic’s blog. We review some of our findings:

Generify everything for the most benefit
Deprecated classes now exist making [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 0 comments }

Wicket developers release Apache Wicket 1.4

by kinabalu on July 30, 2009

The Wicket folks have released the latest incarnation of the framework in Apache Wicket 1.4. Notable improvements are:

Generified IModel interface and implementations increasing type safety in your Wicket applications
Component#getModel() and Component#setModel() have been renamed to getDefaultModel() and setDefaultModel() to better support generified models
The Spring modules have been merged (wicket-spring-annot is now obsolete, all you [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 1 comment }

Add Javascript or CSS using a Resource

by kinabalu on July 20, 2009

A quick howto (via wicket wiki) on adding Javascript or CSS to your pages, and having them compressed during the “deployment” cycle automatically by Wicket. So to start with, we need to copy or Javascript or CSS file somewhere in our package hierarchy that we can reference in our Page. For simplicity, we can copy [...]

Share this:
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Slashdot
  • Technorati

{ 0 comments }