Questions tagged [wicket-8]
27 questions
3
votes
1 answer
Wicket LambdaModel and NumberTextField cannot resolveType
After switching to LambdaModel as an alternative to PropertyModel in one of my forms in my Wicket 8 application I have failing submit tests stating:
java.lang.ClassCastException: java.lang.String cannot be cast to
java.math.BigDecimal
My Form…

mrkernelpanic
- 4,268
- 4
- 28
- 52
3
votes
1 answer
Wicket 8 wicket setDefaultModel clashes with setDefaultModel
After upgrading from Wicket 7 to Wicket 8, I encounterd multiple erasure warnings in IntelliJ.
E.g. when using AjaxLink IntelliJ complains
'setDefaultModel(IModel model)' in
'org.apache.wicket.MarkupContainer' clashes with
…

mrkernelpanic
- 4,268
- 4
- 28
- 52
2
votes
1 answer
Wicket 6 to 8 upgrade: RadioGroup.onSelectionChanged() replacement
We have inherited a large code base that uses Wicket 6 where we have a RadioGroup of preferred contact type choices (SMS, e-mail, etc). When a Radio for SMS is selected, a TextField for phone number is made visible, same for e-mail and so on.
This…

AB - Work Account
- 21
- 1
1
vote
1 answer
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 AjaxLazyLoadPanel behavior has changed in wicket 8…

QuebecSquad
- 89
- 1
- 6
1
vote
1 answer
Wicket 8.x Excel download link not working and showing 404 error
I have upgraded Wicket 1.x to wicket 8.x. After this upgrade Excel and PDF download stop working and showing 404 error.
I have found this below class has been removed after the wicket 1.5 version.
…

user3552342
- 657
- 1
- 5
- 14
1
vote
1 answer
org.apache.wicket.markup.MarkupNotFoundException: Markup not found for Component: [TreeTableItem [Component id = 0]]
I am getting below error after upgrading the Wicket framework from 6.x to 8.x. Where I updated the below dependency to keep the deprecated TreeTable code in wicket 8.x.
org.wicketstuff
…

user3552342
- 657
- 1
- 5
- 14
1
vote
1 answer
java.lang.NoClassDefFoundError: org/apache/wicket/util/convert/converter/ZeroPaddingIntegerConverter
My application was running fine with Wicket 7.6.0. But now I am facing below exception after migration from Wicket 7.6 to 8.5.
Caused by: java.lang.NoClassDefFoundError: org/apache/wicket/util/convert/converter/ZeroPaddingIntegerConverter
at…

user3552342
- 657
- 1
- 5
- 14
1
vote
0 answers
NavbarDropDownButton displaying blank links
I'm trying to use Wicket-Bootstrap Navbar and NavbarDropDownButton inside my Wicket Application to display a list of links.
Web application is built with Wicket 8.7.0 and Wicket-Boostrap-core 3.0.0-M13.
The component I added to the Wicket Panel…

leodali
- 301
- 3
- 16
1
vote
1 answer
Wicket 8 ClientProperties some Methods deprecated
I recently upgraded from Wicket 7.x to 8.1.0 and wondered what happens to some of the ClientProperties methods, that are now marked @Deprecated without a hint why or what will become of them.
The migration guide doesn't mention them either.
I found…

Imperative
- 3,138
- 2
- 25
- 40
1
vote
1 answer
Wicket 8 AnnotatedMountScanner not working anymore
After upgrading from Wicket 7 to Wicket 8, page mounting does not work anymore.
In Wicket 7 I added
new AnnotatedMountScanner().scanPackage("com.example").mount(this);
in my init() method of my AuthenticatedWebApplication
And on my page I added…

mrkernelpanic
- 4,268
- 4
- 28
- 52
0
votes
1 answer
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 documented anywhere.
`
JavaScriptResourceReference…

Raducu Vlad
- 1
- 1
0
votes
1 answer
Reciving error on getWicketEventReference wicket 8
I receiving an error that the getWicketEventReference method does not exist and cannot find the symbol, the error:
cannot find symbol
symbol: method getWicketEventReference()
location: class org.apache.wicket.settings.JavaScriptLibrarySettings

Orhan Taghizadeh
- 1
- 1
0
votes
1 answer
Select specific localization of Wicket message in HTML
Is it possible to force the language of a Wicket message in HTML?
I have a few wicket pages and generic components that are used both when the user's locale is known and when it is not known. When the locale is not known, I am required to show…

Torben
- 3,805
- 26
- 31
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
1 answer
org.artofsolving.jodconverter api not converting Excel file into PDF file in wicket 8 application
I am trying to convert excel file into PDF file in wicket 8 application by using these below APIs. But PDF file is not converting into excel file and I am getting that same excel file on the PDF download link instead of PDF file and there is no…

user3552342
- 657
- 1
- 5
- 14