Posts tagged as:

wicket1_3

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 }

Using the AutoCompleteTextField component

by kinabalu on July 29, 2009

Does your new Wicket app scream for needing a Google Suggest type component? AutoCompleteTextField in the wicket-extensions package is what you need to fill that void!

Share this:

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

{ 2 comments }

Using FeedbackPanel with AJAX

by kinabalu on July 20, 2009

If you’d like to have your FeedbackPanel update with errors in the event of a problem with your form, just adding the FeedbackPanel won’t do you any good. Just as with any other AJAX-updating component in Wicket, you’ll need to add it to the AjaxRequestTarget, only difference is, you’ll have to do this while [...]

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

{ 0 comments }

When writing AJAX-specific code for Wicket, in order to make any updates to a component, it needs to be added to the AjaxTarget. If you’ve got a particularly large form, this can get tedious, so use an IVisitor instead!

Share this:

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

{ 0 comments }

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 }

Wicket and Spring

by kinabalu on July 20, 2009

Wicket makes it very easy to integrate directly with the Spring Framework.

Share this:

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

{ 2 comments }

Modify Where Wicket Loads HTML Templates

by kinabalu on July 19, 2009

In Apache Wicket, the framework expects the HTML templates to mirror the class-file directory structure. The example below allows you to define a different path for your HTML files.

Share this:

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

{ 1 comment }

Disabling an AJAX submit button

by kinabalu on July 19, 2009

A long running process that you’d like to show some indicator of progress or similar, usually means an indicator of some kind. Here we use an IndicatingAjaxButton to show some progress near the clicked submit button, and we use an IAjaxCallDecorator to disable the submit button so we don’t get multiple clicks

Share this:

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

{ 0 comments }

Adding Javascript confirm dialog to AjaxButton

by kinabalu on July 19, 2009

If you have an AJAX button in your form, a nice way of adding javascript is to use an IAjaxCallDecorator

Share this:

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

{ 1 comment }