Questions tagged [wicket-7]

83 questions
0
votes
1 answer

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 CSS variables: public void…
Seb
  • 3
  • 3
0
votes
0 answers

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) { dateElement.setVisible(true); …
JRM
  • 61
  • 7
0
votes
2 answers

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, i have some css that I need to apply to each of…
CocoAll
  • 13
  • 4
0
votes
1 answer

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. like this…
ragul rangarajan
  • 167
  • 2
  • 12
0
votes
1 answer

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. a start date, end date etc. to limit the…
mnille
  • 1,328
  • 4
  • 16
  • 20
0
votes
1 answer

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 is not finding the resource ResourceReference rnew…
0
votes
2 answers

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

I have one Wicket text property in the WicketApplicationProperties.properies Wybrano datę, która jest mniejsza niż minimalna akceptowalna data '${minimalnaData}'. Nie można zapisać danych." How to…
PrzemyslawP
  • 190
  • 1
  • 13
0
votes
1 answer

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("displayFirstTime"). I am navigating to a new page and later…
PrzemyslawP
  • 190
  • 1
  • 13
0
votes
1 answer

"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 multiple browser tabs. Then we get the following…
fancyplants
  • 1,577
  • 3
  • 14
  • 25
0
votes
1 answer

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 implementation. In fact, I can't think of any…
László Stahorszki
  • 1,102
  • 7
  • 23
0
votes
1 answer

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: Warning: java: getAjaxEventPayloadClass() in
Borgy Manotoy
  • 1,960
  • 5
  • 27
  • 42
0
votes
0 answers

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 work. The browser shows me the message: "Unable to…
rodrixd
  • 510
  • 2
  • 6
  • 15
0
votes
1 answer

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 AccessDeniedPage and in the server logs i see a…
Robert Niestroj
  • 15,299
  • 14
  • 76
  • 119
0
votes
1 answer

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 the wicket 7.9.0. SEVERE: Exception starting…
sk aslam
  • 7
  • 5
0
votes
1 answer

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 on these changes I am updating some other fields…
Anders
  • 288
  • 1
  • 10