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
22
votes
3 answers

For my next project, a web-app, should use scala+wicket or scala+lift?

Given the various advantages of the Scala language I have decided to write my next web-application in Scala. However, should I be using Wicket or Lift? I am familiar with Wicket, and like it quite a bit, but know very little about Lift. Is learning…
Ceki
  • 26,753
  • 7
  • 62
  • 71
20
votes
11 answers

Which framework should I choose - Seam, Wicket, JSF or GWT?

I'm debating whether to use Seam, Wicket, JSF or GWT as the foundation for my presentation layer in a Java project. I narrowed my selection of Java web frameworks down to this subset based on job market considerations, newness of the technology and…
karl
  • 393
  • 3
  • 7
  • 14
20
votes
2 answers

How to keep "Choose One" option in a DropDownChoice Wicket?

When I first load a page, the default option on a dropdownchoice is "Choose One". Is there a way to keep it in the dropdown, even when I have selected a choice? (In case I would like to put nothing later)
Sephy
  • 50,022
  • 30
  • 123
  • 131
19
votes
2 answers

How to use Wicket's DownloadLink with a file generated on the fly?

DownloadLink is nice and handy for creating a button/link for downloading a file, along these lines: add(new DownloadLink("downloadButton", getReportFile(), "report.pdf")); and
Jonik
  • 80,077
  • 70
  • 264
  • 372
19
votes
2 answers

How should I secure my webapp written using Wicket, Spring, and JPA?

So, I have an web-based application that is using the Wicket 1.4 framework, and it uses Spring beans, the Java Persistence API (JPA), and the OpenSessionInView pattern. I'm hoping to find a security model that is declarative, but doesn't require…
Martin
  • 2,815
  • 1
  • 21
  • 30
19
votes
4 answers

Apache Wicket vs Apache Click

What is the difference between Apache Wicket and Apache Click? Is Apache Click maintained? The latest release seems to be from Nov 2008 Thanks Achilleas
user236372
19
votes
9 answers

Spring roo Vs (Wicket and Spring)

Spring roo is new framework and I found it very interesting. I have been working on web application for last 3-4 years and Always found JSPs are hard to maintain across teams if everyone is not disciplined enough about separation of markup and…
Ketan Khairnar
  • 1,620
  • 3
  • 12
  • 21
17
votes
1 answer

Getting a Wicket text box's value in an AJAX onchange event

When a user enters a number in a Wicket text field, I need to capture the value entered on an AJAX onchange event. How can I do this?
sangameshwar
  • 181
  • 1
  • 1
  • 3
17
votes
3 answers

Template engine for Google App Engine

Can you recommend a template engine for GAE? I like Wicket, but it carries a lot of server-side state, which is something that is not very compatible with the GAE approach. Is FreeMarker supported on GAE? EDIT My primary requirements for the…
Tony the Pony
  • 40,327
  • 71
  • 187
  • 281
17
votes
2 answers

Bootstrap (actually JQuery) DatePicker does not hide on blur in Wicket modal

I have a wicket bootstrap DateTextField on a panel inside modal. When datepicker is shown from click, datepicker is attached to the root page, not the modal. That causes a problem: without adding some z-index to datepicker, I cannot see it on top of…
mico
  • 12,730
  • 12
  • 59
  • 99
17
votes
11 answers

log4j.properties being ignored

I have a Java EE 6 Wicket application deployed with maven using IntelliJ IDEA 9.0.3 on glassfish v3.0.1. I use slf4j-log4j12-1.5.6 with slf4j-api-1.5.8 and log4j-1.2.16 for logging. It was previously working fine when I deployed through netbeans or…
kgrad
  • 4,672
  • 7
  • 36
  • 57
15
votes
1 answer

JSON formatting (Sending JSON via jQuery AJAX post to Java/Wicket server)

I'm using jQuery to post JSON to a Java server, but I think my JSON must be wrong. Here's an example of my data and how I'm sending it: var lookup = { 'name': name, 'description': description, 'items': [{ 'name': itemName, …
Jared
  • 1,254
  • 7
  • 19
  • 26
15
votes
4 answers

How do I call Java code from JavaScript code in Wicket?

If I can do this, how do I call Java code (methods for instance) from within JavaScript code, in Wicket.
acostache
  • 2,177
  • 7
  • 23
  • 48
15
votes
3 answers

How to remove a CSS class from a Wicket component?

It's pretty straightforward to dynamically add a CSS class to a component in Java code using an AttributeAppender: component.add(new AttributeAppender("class", true, new Model("foo"), " ")); Or, if you've extracted the above into an…
Jonik
  • 80,077
  • 70
  • 264
  • 372
14
votes
1 answer

Apache Wicket Repeaters: an overview

Wicket has many implementations of AbstractRepeaters: ListView, DataView, GridView, Loop, PropertyListView etc. Personally, I find it hard to determine which view would be ideal for which scenario. I usually stick to DataView but that's simply…
Stijn Geukens
  • 15,454
  • 8
  • 66
  • 101