Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

Change CSS on AJAX request in Wicket throws exception in dev mode

This is a follow-up of Change CSS on AJAX request in Wicket. I implemented the possibility to change CSS on an AJAX request by making the <style> a proper Wicket component. This is used inside ...
Seb's user avatar
  • 23
0 votes
1 answer
119 views

Apache wicket 7: how to add a behavior to a label inside enclosure?

I have a legacy block of code as shown: <wicket:enclosure > <div class="form-group"> <label class="col-sm-4 control-label">Vorlage</label> &...
Gamal Elsawy's user avatar
0 votes
0 answers
58 views

Wicket Behavior is working in some cases, and is not in others

I have implemented a wicket behavior as shown below: @Priority(100) public class MouseOverTextBehavior extends Behavior { private final String description; public MouseOverTextBehavior(...
Gamal Elsawy's user avatar
0 votes
2 answers
448 views

Is it possible to integrate React.js with Apache wicket?

I have a legacy web application developed by Apache Wicket, and would like to know the possibility of implementing a new feature in this app using React.js, is that doable? I started my research about ...
Gamal Elsawy's user avatar
0 votes
1 answer
96 views

Wicket.Event.add() is undefined

While migrating from Wicket 7 to Wicket 8, following official guidelines and fixing all compiling issues, as well as all the test that are failing, there was an interesting removal that was not ...
Raducu Vlad's user avatar
0 votes
1 answer
126 views

Change CSS on AJAX request in Wicket

I have a component A that should dynamically change the font size of some of it's contents. I currently use CSS variables to do that and the component will contribute some CSS String containing these ...
Seb's user avatar
  • 23
0 votes
0 answers
470 views

Why is AjaxEventBehavior onEvent not called with Wicket 8 (worked ok with Wicket 7)?

I migrated from Wicket 7 to Wicket 8. Now OnLoadBehavior does not work anymore. I need to show some hidden fields in the view using target.add() inside onEvent e.g. if (showDateElement) { ...
JRM's user avatar
  • 61
1 vote
1 answer
369 views

Multiple AjaxLazyLoadPanel in the same page Wicket 8

Is it possible to lazy load each item of a RepeatingView in Wicket 8 with AjaxLazyLoadPanel? Back in wicket 7, using AjaxLazyLoadPanel, each item in the RepeatingView was loaded independently. The ...
QuebecSquad's user avatar
1 vote
1 answer
547 views

Ajax radio buttons in Wicket 7

I created a Panel in which Im trying to get live Ajax behaviour to some radio options. The problem is that I can not set the current active option, in the setter "setSelectedLang", the ...
Jojje's user avatar
  • 1,769
1 vote
1 answer
472 views

Wicket : Manually set value of a DateTextField

My problem is, that i want to clear the value of my DatetextField html input whenever my user uncheck a checkbox. I have an AjaxCheckBox and currently just have my condition checking if the value ...
CocoAll's user avatar
  • 13
0 votes
2 answers
567 views

Wicket : Add a list to a datatable

I have a list of object to display in a table with wicket. Those object are composed of a String and an Array of String. My problem is that i don't know how to add this array into my table. And second,...
CocoAll's user avatar
  • 13
0 votes
1 answer
409 views

Wicket JavaScript is not getting reflected

I am facing a weird behavior in the wicket pages of the below hierarchy. RootPage with few Abstract tabs added and In few Abstract tabs, based on the use case we have TabbedPanel of wicket UI Jquery. ...
ragul rangarajan's user avatar
3 votes
1 answer
585 views

Wicket feedback message and AjaxButton

I have a form containing just a TextField and a Button. I notice that if I set the text field as required and click on the button, I get the appropriate feedback message. However, when I have an ...
georgebax's user avatar
  • 115
1 vote
0 answers
111 views

Complex models in wicket

I am looking for some wicket best practices tips. I am refactoring a wicket app and I have a complex model. Meaning the object for the main model is a java bean that contains properties (and getters/...
Crajor's user avatar
  • 23
0 votes
1 answer
226 views

Wicket: Get notified when no checkbox is selected anymore

This is part of a Wicket GUI (Wicket 7.6.0) which is acting as a front end to display some database entries. On this specific page we have a form where a user can search for entries by specifiyng eg....
mnille's user avatar
  • 1,338
-1 votes
1 answer
167 views

Unable to find component with id 'FooPopup'

I found this strange error in the production logs: Unable to find component with id 'FooPopup' in [Form [Component id = FooForm]] Expected: 'FooPanel:FooForm:FooPopup'. Found with similar ...
Δήμητρα Γεωργίου's user avatar
0 votes
1 answer
897 views

Using wicket 7.10.0, how to change packaged version of jquery 3.2.1

trying to get wicket app to use packaged jquery v 3.2.1. I see this along with v 1.x and 2.x files in wicket-core-7.10.0.jar\org\apache\wicket\resource\jquery. i tried below in my app init but this ...
Neal Plotnik's user avatar
0 votes
2 answers
704 views

How to display a simple wicket message with one simple parameter with StringResourceModel

I have one Wicket text property in the WicketApplicationProperties.properies <entry key="dataMniejszaNizMinimalna">Wybrano datę, która jest mniejsza niż minimalna akceptowalna data '${...
PrzemyslawP's user avatar
0 votes
1 answer
953 views

Is it possible/how to display a message on the FeedbackPanel more than one time

I have a org.apache.wicket.markup.html.panel.FeedbackPanel in my panelA class. The feedback panel is instantiated in a panelA constructor with one message to display -> feedbackPanel.info("...
PrzemyslawP's user avatar
0 votes
1 answer
2k views

"Could not deserialize object from byte[]" on File Upload when Multiple tabs open in Wicket 7

We have a large wicket application that has an annoying bug. We have a form with a file upload field on it, and for the most part it works fine. The only time it fails is when the user has opened ...
fancyplants's user avatar
  • 1,707
1 vote
1 answer
351 views

Call Wicket from Javascript - ajax request is not done

I've created a javascript method from Wicket which will reload a panel: Behavior behave = new AbstractDefaultAjaxBehavior() { @Override protected void respond(AjaxRequestTarget target)...
Gozar-Manu Ariana's user avatar
1 vote
1 answer
455 views

Redirect after Response has been written in Wicket 7.10

We having a specific problem in using Wicket 7.10, creating an Ajax-Response with multiple entries. In our application, we are using onRequestHandlerResolved to do some initialization stuff and ...
PSchwarzer's user avatar
0 votes
1 answer
576 views

Wicket: AjaxRequestTarget vs onModelChanged

I'm working on a code in a wicket project, where the original devs used the onModelChanged() method quite a lot in Ajax request handling methods. I, for one, however am not a strong believer of this ...
László Stahorszki's user avatar
0 votes
1 answer
134 views

Uncheck conversion on returning class type

I have a method that returns a class type, and it is working right. The problem is... I am getting some compilation warnings indicating unchecked conversion. Below is the warning message I got: ...
Borgy Manotoy's user avatar
0 votes
0 answers
212 views

Configure Wicket with HTTPS protocol

I need to configure my project so that it has secure communication with the HTTPS protocol, following the instructions in the Wicket 7 documentation (Configure HTTPS) but I can not make my project ...
rodrixd's user avatar
  • 510
0 votes
1 answer
179 views

Wicket ListenerNotAllowedInvocationException when component is disabled

I have a DropDownChoice with two OnChangeAjaxBehaviors on it. When i select the value 2 which should set to DropDownChoice disabled it get's for a second disable before it shows me the ...
Robert Niestroj's user avatar
0 votes
1 answer
168 views

After Wicket migration from 1.4.9 to 7.9.0 Wiquery 1.0.2 jar throwing error

I had migrated Wicket from 1.4.9 to 7.9.0. After these maven clean and install got success and when deploying in tomcat throwing below error.Please some one help me out. Is wiquery 1.0.2 jar supports ...
sk aslam's user avatar
0 votes
1 answer
1k views

Wicket form changes removed on ajax update

I have a pretty big and complex form which contains lots of form components. On one of the drop down fields I have added a AjaxFormComponentUpdatingBehavior to handle changes in the drop down. Based ...
Anders's user avatar
  • 328
0 votes
2 answers
215 views

Wicket dynamic ListView - default item won't get updated by Ajax

I have a ListView starting with one item being displayed, where I append every new item with an AjaxSubmitLink, which works fine. Inside the ListView I have two DropDownChoices, the first triggering ...
mvheyl's user avatar
  • 1
0 votes
0 answers
65 views

WildFly 12 Wicket 7.10 - Why does only the first thread have access to Application?

Each request attempts to create new instances of Singletons, which fail because they use Application.get() which fails with error: There is no application attached to current thread default Same ...
Roberto Murphy's user avatar
1 vote
0 answers
969 views

Why am I getting UT005023: Exception handling request to ... : java.lang.NoSuchMethodError: ...Lorg/apache/wicket/Application;

I am upgrading a project from Java 8, WildFly 8, Wicket 6 to Java 10, WildFly 12, Wicket 7.10. The issue is that when I request a page, I'm getting a NoSuchMethodError exception any time my WebApp ...
Roberto Murphy's user avatar
1 vote
1 answer
213 views

Data View is not populated in wicket7

I have implemented below code for repeating view DataView documents = new DataView("documents", dataProvider, new Long(20)) { @Override protected void populateItem(Item item) { //do some ...
Nitin's user avatar
  • 71
0 votes
2 answers
123 views

Is there a method of BreadCrumbBar I can overload to add an extra Component to be refreshed?

I have a wicket page with a data panel that makes use of the BreadCrumbBar (org.apache.wicket.extensions.breadcrumb). If I go down a level a new breadcrumb is automatically added and the data panel is ...
Arduin Cielen's user avatar
2 votes
0 answers
166 views

Wicket DropDownChoice not working after Wicket migration from 6.9.0 to 7.10.0

My unit test have been running ok before this migration process, but not after it. No code changes, no unit test changes done in my side. I did not notice any changes related to this in Wicket ...
JRM's user avatar
  • 61
-2 votes
1 answer
47 views

Wicket Security - Change Roles of an Inmemory User

I'm using Wicket 7.0 in an application I'm developing and I would like some advice regarding using Inmemory-users during development. The idea is to have one single Inmemory user whom I set the ...
Axel L's user avatar
  • 1
0 votes
1 answer
74 views

Java Wicket 7 can't use addKey(String key) method

in wicket 7 addKeyMessage(String key) method is deprecated from IValidationError interface. What I can use instead of this?
Sharofiddin's user avatar
0 votes
1 answer
80 views

Display feedback within modalwindow before close

Given the following structure within a ModalWindow I like to make use of the forms toastfeedback panel to display feedback messages before closing the ModalWindow, so i don't have to delegate them to ...
Imperative's user avatar
  • 3,183
2 votes
1 answer
1k views

Wicket - ComponentNotFoundException: Component has been removed from page

I'm using Wicket 7 and I recently got the following exception: org.apache.wicket.core.request.handler.ComponentNotFoundException: Component 'navbar:navbarAvatar:navAvatarPanel:4:navAvatarArea:...
rockarolla's user avatar
3 votes
1 answer
2k views

Allow only whole number in wicket Textfield

I am using a NumberTextField in Wicket 7 and my requirements are User should be able to enter only a whole numeric char into the textfield and neither a decimal value nor any non-numeric char. char ...
nitin's user avatar
  • 83
1 vote
1 answer
117 views

Displays only the first open image (wicket)

My programm should display avatars(images) for users by their id which is stored in the database. Images stored on disk. I use BufferedDynamicImageResource for display image but the problem is that ...
Plag's user avatar
  • 37
1 vote
3 answers
1k views

How can I configure the color of the feedback messages in Wicket Sessions?

The Problem Hello, I am trying to configure the color of Wickets feedback messages. I am currently maintaining a Wicket GUI (Wicket 7.6.1). It seems that Session.get().warn("Watch out!") prints a ...
Georg Muehlenberg's user avatar
1 vote
1 answer
150 views

Is passing objects to constructor better left as object or as serialized object in pageparameters?

I need to pass an object A to a constructor of class B. Usually its best practice to use Wickets PageParameters class to pass arguments, but PageParameters saves its parameter values as Strings, so an ...
melanzane's user avatar
  • 513
0 votes
1 answer
151 views

Check which Button is active in Wicket

I have a ListView. This is the populateItem-Method: @Override protected void populateItem(ListItem<Test> test) { // TODO Auto-generated method stub Test t = test.getModelObject(); ...
greedsin's user avatar
  • 1,272
0 votes
1 answer
331 views

Apache Wicket - Forms

Hello I am new to Apache Wicket, can someone help me find some documentation or examples related to Apache Wicket Forms where I can navigate between a flow of screens having Text fields, Drop downs, ...
Bhagat's user avatar
  • 11
0 votes
0 answers
129 views

@Interceptors ignored in Wicket subclass WebPage

I have an external CDI Component (jee6) which I use as a Maven dependency. This component contains an Object A , which when Injected in a subclass from a Wicket WebPage works as expected. So far So ...
Bgvv1983's user avatar
  • 1,256
0 votes
1 answer
252 views

Wicket AjaxEventBehavior with History API

I am using Wicket 7.x with the History API. I am currently trying to wire up an AjaxEventBehavior for "onpopstate". I have code that adds an object whenever I do history.pushState, my problem is I can'...
Greg's user avatar
  • 3
0 votes
1 answer
164 views

Wicket: Create control that swaps between a TextBox and a Label

I have a Panel that has an edit state and a view state. I need a control that swaps between TextField and Label based on the Panel's state. For example, in edit state the Panel would display as a ...
JeredM's user avatar
  • 997
2 votes
1 answer
5k views

java.lang.NoClassDefFoundError: org/springframework/core/ResolvableType [duplicate]

I'm learning to develop with apache wicket, and I tried to integrate Spring this is the dependency into the pom.xml file </dependency> --> <dependency> &...
G.SE's user avatar
  • 31
1 vote
1 answer
546 views

wicket - page expired when click previous button

I use wicket 7 with Stateful pages and every i change to new page i always use code like this: PageParameters pageParameters = new PageParameters(); setResponsePage(new SecondPage(pageParameters)); ...
Rendy's user avatar
  • 11
0 votes
1 answer
234 views

A generic internal error page should be shown when an unexpected exception is thrown in wicket6.x or wicket7.7?

protected void init() { getApplicationSettings().setInternalErrorPage(BnafInternalErrorPage.class); getApplicationSettings().setPageExpiredErrorPage(BnafAccessDeniedErrorPage.class); ...
kadiyala jayalakshmi's user avatar