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 [...]
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 [...]
by ptrthomas on 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 [...]
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:
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 [...]
by kinabalu on July 20, 2009
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:
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:
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: