Questions tagged [wicket]

Apache Wicket, commonly referred to as Wicket, is a lightweight component-based web application framework for the Java programming language conceptually similar to JavaServer Faces and Tapestry.

Apache Wicket, commonly referred to as Wicket, is a lightweight component-based web application framework for the Java programming language conceptually similar to JavaServer Faces and Tapestry.

It uses no XML configuration, and POJO Java components are bound to HTML fragments by tags and naming convention. Only configuration needs to be done is in the web.xml to map the Wicket servlet.

3749 questions
10
votes
2 answers

Wicket 1.5 compared to 1.4

What are the wicket 1.5 new features in short as compared to the most recent 1.4 release? The first release candidate will be released very soon. We're thinking about the introduction of wicket in one of our projects, so for me it's relevant to see…
MRalwasser
  • 15,605
  • 15
  • 101
  • 147
10
votes
2 answers

Wicket checkbox that automatically submits its changed value to domain object

What's the cleanest way I can make a checkbox automatically submit the form it belongs to in Wicket? I don't want to include a submit button at all. The checkbox is backed by a boolean field in a domain object ("Account" in this case). Simplified…
Jonik
  • 80,077
  • 70
  • 264
  • 372
10
votes
2 answers

Hibernate is not updating record - Wicket

I'm working on a web application with Wicket, Spring and Hibernate and I've come across a problem with updating records. I have verified that the saveOrUpdate method is invoked, and that the data in the domain object has changed. The SQL-output does…
John
  • 2,571
  • 6
  • 32
  • 40
10
votes
5 answers

Why does Wicket changes the id of the html elements?

If I write
... Then the rendered HTML shows the id 'form' appended with different numbers whenever the page is refreshed e.g.
Monis Iqbal
  • 1,987
  • 7
  • 26
  • 42
10
votes
3 answers

Wicket & CSS resources

I've been looking around and I can't find a dummy's guide to adding my own CSS to a Wicket website project. But before I start... I'm fairly new to proper java development, so when I say "Dummy's guide" I really mean it! Simple and clear…
Conor Gallagher
  • 1,500
  • 2
  • 19
  • 42
9
votes
3 answers

Wicket: how to render page programmatically and get result as string?

I'm in the process of converting an app to use i18n/l10n on all its pages. I'm very happy with Wicket's support for this, and it's going well so far. The one tricky part I've run into is the following: We have a text file that is used as an HTML…
George Armhold
  • 30,824
  • 50
  • 153
  • 232
9
votes
2 answers

Wicket: hide comments in HTML

JSPs support the <%-- comment --%> syntax for comments, which is a way to comment markup code such that it doesn't get included in the emitted HTML. Is there a way to do this in Wicket?
George Armhold
  • 30,824
  • 50
  • 153
  • 232
9
votes
3 answers

Wicket 9 & Tomcat 10 Can't Cast jakarta.servlet.Filter

I'm trying to use the Wicket Project 'QuickStart' with Netbeans 11, Java 11, Tomcat 10, Wicket 9, and Ubuntu 18.04. When I install the WAR package and start it, it throws: 20-May-2020 09:23:37.067 GRAVE []…
MADARASSOU David
  • 149
  • 1
  • 1
  • 5
9
votes
1 answer

Why does running multiple Wicket applications cause AJAX conflicts?

When I open two Wicket web applications in the same browser, it seems there are AJAX conflicts as I see a full page refresh in place of a partial refresh. This is true even if the applications are on different servers and port numbers. I only use…
Benoit
  • 503
  • 4
  • 14
9
votes
2 answers

Which is the best Wicket component for rendering arbitrary HTML?

I am implementing a simple markdown wiki using Apache Wicket. The wiki would typically render any arbitrary HTML based on what the user has entered. I am a bit confused about which Wicket component would be best suited to render such arbitrary…
Parag
  • 12,093
  • 16
  • 57
  • 75
9
votes
2 answers

How to call jquery function after calling wicket ajax submit button

I have a form with a submit button but this is implemented by Wicket's AjaxButton class. When the HTML page renders Wicket keeps a javascript onClick method dynamically for that submit button. I want to do some operations using JQuery after Wicket's…
jgg
  • 1,136
  • 4
  • 22
  • 46
9
votes
2 answers

wicket @SpringBean can not create bean

I have a project on Eclipse, Wicket, Spring, Hibernate. Every thing works normaly except : when I try public class SortableContactDataProvider extends SortableDataProvider { @SpringBean private Service service; public…
Daler
  • 814
  • 14
  • 28
9
votes
1 answer

making entire row of a wicket datatable clickable

Is it possible to make the entire row of a Wicket DataTable clickable ? if so, how ? I've seen examples of how to make a cell clickable by extending the PropertyColumn class, which is fairly easy but can't find an easy solution for the entire row.
Anthony Richir
  • 649
  • 2
  • 8
  • 31
8
votes
3 answers

Wicket 1.5 and obtaining a URL to page instance

What is to correct way in Wicket 1.5 to obtain URL to a page instance? In Wicket 1.4.x this worked: MyPage page = new MyPage(some, parameters); getRequestCycle().urlFor(page).toString() A bunch of different versions of urlFor() were removed from…
Juha Syrjälä
  • 33,425
  • 31
  • 131
  • 183
8
votes
2 answers

Wicket Drop down choice to set default value

I want to replace "choose one" option in drop down choice with other String "successfully occured" and I dont want to show list item to set the default. DropDownChoice customer = new DropDownChoice( …
Nitin4Android
  • 864
  • 2
  • 12
  • 25