Questions tagged [wicket-8]

27 questions
0
votes
2 answers

Downloading same excel file in other wicket pages

I have migrated wicket 1.x to wicket 8.x. I have added below code for excel file download but getting the first downloaded file in all other pages on excel download. ResourceLink excelLink = new ResourceLink<>("excel", new…
user3552342
  • 657
  • 1
  • 5
  • 14
0
votes
1 answer

Table column headers are not displaying in TableTree in Wicket

private void myTreePage() { private final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode(""); DefaultTreeModel treeModel = new DefaultTreeModel(rootNode); statusImport(); …
user3552342
  • 657
  • 1
  • 5
  • 14
0
votes
1 answer

java.lang.IllegalStateException: Attempt to set a model object on a component without a model! Either pass an IModel to the constructor or

Getting below error on IndicatingAjaxButton click in wicket 8.x version. ERROR | Exception occured: java.lang.IllegalStateException: Attempt to set a model object on a component without a model! Either pass an IModel to the constructor or use…
user3552342
  • 657
  • 1
  • 5
  • 14
0
votes
1 answer

java.lang.NoSuchMethodError: org.apache.wicket.request.cycle.RequestCycle.find(Ljava/lang/Class;)Lorg/apache/wicket/request/IRequestHandler;

I upgraded my application from Wicket 6.x to Wicket 8.x and getting below exception on the page redirect. Root Cause SEVERE: Servlet.service() for servlet [default] in context with path [/liquirisk-4.3.3.7-SNAPSHOT] threw exception [Filter…
user3552342
  • 657
  • 1
  • 5
  • 14
0
votes
1 answer

ERROR | Exception occured: org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: Behavior rejected interface invocation

I upgraded my application from Wicket 6.x to Wicket 8.x and also replaced Button and AjaxButton class to IndicatingAjaxButton class. I am getting below error on click of the submit button link. IndicatingAjaxButton btnSubmit = new…
user3552342
  • 657
  • 1
  • 5
  • 14
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
0 answers

i am migrating wicket version from1.5.3 to 8.7.0 in my application. getting noSuchmethoderror

stack trace SEVERE: Exception starting filter [wicket] java.lang.NoSuchMethodError: testclass.mountPage(Ljava/lang/String;Ljava/lang/Class;)V at com.ecs.test.web.wicket.FrameworkTestApplication.init(FrameworkTestApplication.java:67) at…
0
votes
1 answer

Wicket DateTextField with not working

I would like to have HTML component with date picker and so on. I cant make it work with Wicket. I need to change the model value on onChange() event without Submit Form and I need to show the initial value in input field of the…
Altair
  • 325
  • 3
  • 16
0
votes
1 answer

Avoid duplicating feedback that are already displayed through a ComponentFeedbackMessageFilter

In my form, there is one feedback panel for general feedback messages, and two form input fields, each with its own feedback panel for validation feedback messages. However, when a form input fails to validate, the feedback message appears both in…
Flux
  • 9,805
  • 5
  • 46
  • 92
0
votes
1 answer

Wicket 8: How to prevent sendRedirect after writing to response stream?

I have a form which downloads a PDF file to the user at the end of onSubmit(). @Override protected void onSubmit() { if (some error condition) { getPage().error("Form invalid for some reason"); return; } …
0
votes
2 answers

Wicket 1.8 DropDownChoice doesn't show the correct model object

I'm having an issue with DropDownChoice and its model. The HTML involved is a modal window with which the user can edit the settings of an object: the first DDC alters the list of the second when its model changes, and everything works fine. The…
il_boga
  • 1,305
  • 1
  • 13
  • 21
-1
votes
1 answer

How to display PDF on the HTML page

I have migrated my application from wicket 1.x to wicket 8.x and now facing an error to display PDF on iframe. It is showing as blank on the iframe. I am trying to display PDF in the iframe tag in the HTML on page load but it is showing as…
user3552342
  • 657
  • 1
  • 5
  • 14
1
2