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. This tag is specific for Wicket 6 since many changes have been done to the API in this version in a way that questions need to be answered in a different way for this version.
Questions tagged [wicket-1.6]
155 questions
13
votes
1 answer
wicket 6.0.0-beta2 Updating content of DataTable when submitting a form with AjaxButton
I want to change the content of a DataTable depending on the content of a form (think of it as a searchbar functionality). I used to do that in wicket 1.5.x but I can not seem to make it work in wicket 6.0.0-beta2. It does not seem to enter in the…

jrochette
- 1,117
- 5
- 22
7
votes
1 answer
How to get the AjaxRequestTarget inside Wicket's onBeforeRender() method of a component?
I have an Ajax event that triggers the redraw of various Wicket panels. Some panels have additional calculations of their own inside their onBeforeRender() method. If there is an error, I want to display it to the user. But I can't add the…

black666
- 2,997
- 7
- 25
- 40
5
votes
1 answer
How to get extra parameter from AjaxRequest wicket 6
Hi all wicket pros out there,
I would like to get extra parameter I added to the AjaxRequest in the respond(AjaxRequestTarget target) method of a AbstractDefaultAjaxBehaviour.
I build the Wicket.Ajax.get(...) call by myself and I could manage that…

rontron
- 453
- 2
- 6
- 14
4
votes
1 answer
Wicket cluster session store, page store, data store
I am dealing with a custom implementation for wicket session store, data store, page store. I have cu cluster wicket and make it work in the following situation:
There are 2 nodes in the cluster, node one fails and the user should be able to…

Vioara Dumitru
- 41
- 3
4
votes
2 answers
Wicket Ajax Keyevent
I'm new to Wicket and I want to create an ajax-behavior that call my Javacode if a Functionkey is pressed.
My idea is to create an behavior that send some Javascript to the Browser, that only the F-Key cause an ajax-callback.
public class HomePage…

Malte
- 170
- 1
- 8
3
votes
2 answers
Display message to user on expired session when using wicket-auth-roles
Hi I have been unable to solve the following problem in Wicket 6.*:
In our webapp we are using wicket-auth-roles to manage authentication/authorization. When session expires, user should be redirected to a page set by…

Wabi
- 96
- 6
3
votes
1 answer
support for Multi Window wicket 6.x
Hi i am using wicket and getting page expire when ever two pages are open and I am trying to submit in on after the other
is there a way to support getPageSettings().setAutomaticMultiWindowSupport(true) in wicket 6.8

yoav.str
- 1,547
- 6
- 33
- 73
3
votes
2 answers
wicket - two submit buttons with different validation
I am using two AjaxButton for the same grid where both of them are not in the form but attached to it.
activateButton = new AjaxButton(ACTIVATE_BUTTON, grid.getForm())
blockButton = new AjaxButton(BLOCK_BUTTON, grid.getForm())
my problem is trying…

yoav.str
- 1,547
- 6
- 33
- 73
3
votes
2 answers
Wicket + WAS: calling url causes a redirect to a wrong URL causing 404
Using Websphere Application Server + Wicket 1.6
I am having some issues with my mounted URLs.
When I invoke an url akin to: localhost:9080/danesCooking/pies/meat I see the following in the Chrome network tab:
localhost:9080/danesCooking/pies/meat…

Kate Danes
- 63
- 6
3
votes
1 answer
Wicket 1.4 => 6.7 replacing AjaxButton: getAjaxCallDecorator
I was asked to upgrade one of our existing applications, and I am having a bit of trouble figuring out how to update some of our classes.
We have our own CustomAjaxButton class which extends AjaxButton, in which the getAjaxCallDecorator is…

Kate Danes
- 63
- 6
3
votes
2 answers
Apache Wicket bookmarkable url added one additional parameter to the link, why?
my map is
mountPage("/page/#{code}/#{name}", Page.class);
but when I click on the link
localhost/page/10/toy?2
wicket add also one parameter like a counter, when I refresh the page I have
localhost/page/10/toy?3
why?

Armen Arzumanyan
- 1,939
- 3
- 30
- 56
3
votes
4 answers
Making an action available via a URL in Wicket
For authentication with services such as Facebook, we redirect to Facebook, they do their authentication stuff, then they redirect back. Once they've redirected back, our code runs which does some things, then displays a response page. Which…

Adrian Smith
- 17,236
- 11
- 71
- 93
2
votes
1 answer
(Apache Wicket) Set java atrribute from a js function
I am brand new on Apache Wicket and I need to set value on a Java attribute. This value comes from a var on JS filled by a specific function from a specific GIS lib (https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html). This setting…

cassioramon
- 25
- 1
- 4
2
votes
0 answers
Unable to stop the timer created using AbstractAjaxTimerBehavior
I am working on a single page wicket application. When ever user clicks on a Navigation Item a new Tab is opened. The requirement was to have two types of Panels one a normal one and another an Auto refresh panel.
I have a TabPanel class which…

Leejoy
- 1,356
- 5
- 23
- 36
2
votes
2 answers
How to get selected value in Wicket DropDownChoice?
In wicket form I have a DropDownChoice, and I want to take a selected value in it. I have:
private final List specificList;
private DimSpecific specificPtr = null;
...
specificList = roles.getSpecificList();
specificPtr = new…
user2025818