Posts tagged as:

ajax

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

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

{ 0 comments }

Autocomplete with an Object

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

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

{ 3 comments }

Wicket TinyMCE: some advanced tips

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

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

{ 3 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 }

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 }

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 }