Questions tagged [wicketstuff]

Wicket Stuff is a collection of open source projects for the Apache Wicket web framework created and maintained by the Wicket community.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 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
1 vote
1 answer
34 views

Add add same javascript file multiple time in single page using apche wicket framework. Is it possible?

I using a loop and each time this function is call but it add only one javascript file. But i want to trigger the functionality of that javascript file each time . Can anyone please help me? @...
Sahil Bhardwaj's user avatar
0 votes
0 answers
68 views

Wicket (9.8.0) application, deployed on Payara 5.201 throws exception when method of stateless beans is used

Using wicket version 9.8.0, I am trying to use WicketTester for application containing EJB injection related code. I created application using 'wicket.apache.org/start/quickstart.html', and deployed ...
Rajani Sohoni's user avatar
0 votes
1 answer
92 views

Wicket (9.8.0) application using EJB injection throws exception while deploying on Payara 5.201

I am trying to use WicketTester for application containing EJB injection related code. I created application using 'wicket.apache.org/start/quickstart.html', and deployed it on Payara server '5.201'. ...
Rajani Sohoni's user avatar
0 votes
1 answer
166 views

Apache Wicket REST with Swagger UI

One of my project is using Apache Wicket 6.x and I have some API (resources) using wicketstuff-rest and it is working perfectly. But for my API documentations, I am maintaining a google document for ...
Borgy Manotoy's user avatar
0 votes
0 answers
341 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
0 votes
1 answer
2k views

Apache Wicket - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer

Need guidance regarding fixing of class not found error at runtime. I have checked all the similar answers, however wasn't able to solve the issue I'm facing. The project compiles, war file gets ...
Sunil Kumar's user avatar
1 vote
1 answer
54 views

How to set label to StatelessAjaxSubmitLink?

I need to use wicketstuff's StatelessAjaxSubmitLink but I can't find any way to customize the default label ("Submit Query"). The class does not inherit a setLabel() method. Is there a way ...
krenkz's user avatar
  • 440
1 vote
0 answers
163 views

JavaScript error on click in DataGrid table after update to Wicket 9

I have updated my application from Wicket 8.8.0 to 9.2.0 Unfortunately the links in a table do not work anymore after that. As table I use the DataGrid from wicketstuff-inmethod-grid. The JavaScript ...
Cengiz's user avatar
  • 4,697
0 votes
1 answer
352 views

Wicket - Datatable custom pagination

I am working on wicket datatable which uses built-in pagination feature where data is given through dataprovider. Wicket NavigationToolbar for displays links used to navigate the pages of the ...
rocky's user avatar
  • 781
1 vote
1 answer
44 views

Handling simultaneous action

I have a GUI screen which consist of 2 buttons, Check Balance and Create Saving. Once any user enters the customer ID and click on 'Check Balance' , details of the customer including their balance ...
Trips's user avatar
  • 35
1 vote
1 answer
401 views

Apache WicketStuff REST get list of request headers

I am using apache wicket stuff REST, and in a simple API... I would like to get the list of headers and simply display it as debug log. My problem is I am getting an error java.util....
Borgy Manotoy's user avatar
0 votes
2 answers
43 views

Display records in the read area of Screen

I want to display some records in the read area of GUI screen after performing some action. I have some input fields in the screen which should be entered by users and based on the entry, I am ...
Trips's user avatar
  • 35
-5 votes
1 answer
104 views

What means this Exception?

I try to test a code and got the Exception below: The component(s) below failed to render. Possible reasons could be that: 1) you have added a component in code but forgot to reference it in the ...
Dean James's user avatar
0 votes
1 answer
201 views

Spring + Wicket REST Exception Handlers

I do not know how to start the question but let me give you some info of the application setup. The project is spring + wicket and everything is OK. There are error pages (400, 401, 403... etc) setup ...
Borgy Manotoy's user avatar
0 votes
1 answer
189 views

Wicket - Init a Component with Loadable Detachable Model on click event

I am adding ChildPanel in the constructor of Panel. When the Panel loads the child panel is rendered with the data that is returned by getData(). Below is the code. Panel public Panel(String aId, ...
Sibgha's user avatar
  • 479
0 votes
1 answer
425 views

Spring Rest API returning entity/object with joda local date, local time, date time should display formatted date or time

I have a spring rest api (actually apache wicket rest api on top of spring project), that returns an object with a property which is a joda LocalDate. Everything is fine except that the joda ...
Borgy Manotoy's user avatar
0 votes
1 answer
92 views

Apache wicketStuff-GMap Api

How do I feed bunch of addresses to Google map via Wicketstuff GMap api so that when map is launched, I see marker/balloon based on city. Basically I want to be able to feed all the addresses and have ...
shrM's user avatar
  • 11
0 votes
1 answer
114 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
1 vote
0 answers
47 views

Does wicket-stuff-gmap3 Support A DropTarget?

I'm developing a web application using Apache Wicket 6 and WicketStuff GMap3, along with Sven Meier's wicketdnd. On the main page I have a table of items and an instance of the GMap3 widget. I would ...
uvdevops's user avatar
0 votes
1 answer
989 views

wicket form clear choice after refresh

I'm currently using three different forms, RadioChoice, DateField and DropDownChoice, in an application where the page reacts based on what the user picks from this form. The problem here is that when ...
Lars Karlsen's user avatar
0 votes
1 answer
679 views

Wicket - MarkupNotFoundException: Markup of type 'html' for component 'com.hello.Hello' not found

I know it is a very basic topic but unfortunately I cannot figure it out why I am getting the above error message.... I am trying to generate a simple HelloWorld Wicket application but I keep getting ...
dorcsi's user avatar
  • 305
1 vote
0 answers
44 views

A line between coordinates wicketstuff openlayers3

I've been looking around for a while for a solution to draw a line between two points on a openlayers 3 map in openlayers 3 wicketstuff, but can't seem to find any solution. Is there a simple way to ...
Lars Karlsen'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
0 votes
0 answers
104 views

Embeded specific div content of External URL in wicket framework

I want to get content of a <div> from external URL, using Wicket, in a tooltip or titlem using AttributeModifier constructor. In the external URL page source I have <div id="bodyContent">....
nitin's user avatar
  • 83
0 votes
1 answer
745 views

Wicket-select2 dropdown is not update after provide new modelobject

I have wicket-select2 dropdown for country. Select2Choice<Country> country = new Select2Choice<Country>("country", new PropertyModel<Country>(params, "selectedCountry"),new ...
nitin's user avatar
  • 83
1 vote
1 answer
895 views

How to implement editable grid with 2 related dropdown in wicket?

I need to show the data from DB in table format with edit, save , cancel, delete button, its called editable grid in wicket. In Table row after click on edit button data should be shown on 2 dropdown ...
nitin's user avatar
  • 83
0 votes
1 answer
99 views

How to get Label from IValidatable in Wicket 7

Is it possible to get the label of my component inside a validation? I need this label for a custom error message in my validation. It looks like: "The value may not be less than {0}." If my ...
Zkyy's user avatar
  • 3
1 vote
2 answers
382 views

Wicket 7 with wicketstuff tinymce4 Can't load language

I'm running Wicket 7.5.0 and wicketstuff-tinymcr with the same version. Im trying to initialize a tinyMce editor but I get this error: Failed to load: http://localhost:8080/mywebapp/wicket/resource/...
Jojje's user avatar
  • 1,759
0 votes
0 answers
54 views

Wicket Deployment mode map resources wrong way

I have Page getRootRequestMapperAsCompound().add(new NoVersionMapper("/card/${cardId}", CardPage.class));. On this page there is TinyMCE4 editor. Which try to load images using relative path "...
Yevgen Kulik's user avatar
  • 5,793
0 votes
1 answer
715 views

Wicket:: add custom attribute to <li> element

how can I add a custom attribute to an html list element? I tried the following but got markup exception: WebMarkupContainer con = new WebMarkupContainer("Temp"); con.add(new AttributeAppender("note",...
user3053198's user avatar
0 votes
1 answer
18 views

Add fucntion call to WicketStuff Spinner properties

How do you put a function call to the java.util.Properties' onIncrement, onDecrement, afterUpdate or onStop property of WicketStuff's Spinner configure method? I tried the following but the function ...
user2340939's user avatar
  • 1,831
2 votes
1 answer
291 views

Hiding Wicket WebMarkupContainer won't work

Hey I have a ListView nested inside a ListView and want to change the inner ListViews visibility on click of an AjaxLink. I saw a lot of posts about it and took some advice from it. E.g. : ....
Peter's user avatar
  • 1,844
1 vote
0 answers
181 views

How to draw a line with WicketStuff OpenLayers3

I'd like to use WicketStuff OpenLayers3 library to draw simple 'route' line with some interactive markers, based on some GeoJson input. I found sites like: http://tomcat.nervestaple.com/openlayers3-...
mefiu's user avatar
  • 11
0 votes
0 answers
554 views

How to setup Cometd in Spring Boot with Jetty?

CometdPushService.get() throws NullPointerException <dependency> <groupId>org.wicketstuff</groupId> <artifactId>wicketstuff-push-cometd</artifactId> ...
F.O.O's user avatar
  • 4,760
0 votes
0 answers
58 views

BayeuxServer Configuraion for Wicket Stuff Cometd?

CometdPushService.get() throws NullPointerException <dependency> <groupId>org.wicketstuff</groupId> <artifactId>wicketstuff-push-cometd</artifactId> ...
F.O.O's user avatar
  • 4,760
1 vote
0 answers
105 views

Ajax and Wicket: find the url of RESTful webservices

I need to create a logon webservice in a wicket application and call it from jQuery $.ajax() function. I've found wicketstuff-restannotations and tried this code: public static class DestinationUrl ...
Lucio Crusca's user avatar
  • 1,350
0 votes
1 answer
110 views

How do I proceed with creating a panel which can search a page in wicket and redirect to the same

I am trying to do the following: I already have a menu with several drop downs in wicket right now. However the number of entries have become very large in the drop downs, one has to remember headers ...
deb's user avatar
  • 641
1 vote
2 answers
752 views

How to get user's input from WicketStuff's TinyMCE

Pretty straight-forward question, but I can't find this anywhere. I'm using WicketStuff's TinyMCE to make a Rich Text Editor in my application, and can't find anywhere how to get the input from the ...
brent_aof's user avatar
  • 141
0 votes
1 answer
1k views

checkbox not getting unchecked in wicket

I have a checkgroup and on selecting a checkbox in the group I want to get the number of selected/checked check boxes. By the below code, I am able to get the selected number of checkboxes but on ...
Krishna's user avatar
  • 313
2 votes
1 answer
689 views

How to Create a dependable palette in Wicket

I have created a palette in wicket and I'm able to populate the palette left side window. But I want to make the options in the palette are dynamic, able to do the same. But the problem is that the ...
user1665207's user avatar
0 votes
1 answer
206 views

Wicket AJAX does not respond after dom changed by JavaScript

Wicket AjaxSubmitLink onSubmit is not called after applying appendJavascript which changes the DOM of a page. Sample code is: add(new ListView("list", someArrayList){ @Override ...
falconw's user avatar
  • 59
2 votes
1 answer
465 views

Wicket CheckGoup get selected items markupIds

Is it possible to get markup id's from checkgroup in wicket, i have the following code Form f = new Form("form"); add(f); final CheckGroup group = new CheckGroup("group", new ArrayList<...
falconw's user avatar
  • 59
2 votes
2 answers
4k views

Adding a listener on a Wicket TextField

I'm trying to make a RadioField, like (yes, no, unknown). For "yes" i have a textfield. I want that if anything is typed on the textfield, "yes" will be selected on the radiobutton. I tried this, but ...
ZelelB's user avatar
  • 1,836
0 votes
1 answer
390 views

Wicket, GMap3, Overlay Click event, where did the user click? What is the coordinate (GLatLng)?

I have a GCircle on a Wicket GMap3. I want the user to be able to click on the map (add/remove markers) both in the circle, as well as out of the circle. Problem: the click event on the circle is not ...
bpgergo's user avatar
  • 15.8k
0 votes
2 answers
343 views

AbstractResource.ResourceResponse blocks user-interface while writing to OutputStream

I want to download a CSV file using Wicket, by implementing an AbstractResource. It looks something like this: public class ExportCsvFileResource extends AbstractResource { @Override ...
Gabriel Ruiu's user avatar
  • 2,773
0 votes
1 answer
450 views

inmethod-grid wicket , DataGrid how to catch event such as sort event and change data source model from another component

Heloo i am using inmethod-grid components and I was wondering where can i catch the sort event in order for any time sort is called I want my com.inmethod.grid.datagrid to be renderd with the first ...
yoav.str's user avatar
  • 1,547
0 votes
1 answer
460 views

Wicket head section hierarchy

I am a little confused about tags. I know from wicket 1.5 there was a change of head render strategy from parent->child to child->parent. Now I use wicket 6.9 and I have simple menu panel which I ...
Michał Króliczek's user avatar
2 votes
2 answers
3k views

Strict date pattern for DateTextField in Wicket

I have a DateTextField component in my application and I want the input of date using a predefined pattern. The pattern that I need is "yyyy-MM-dd". I created the DateTextField using the following ...
Jay's user avatar
  • 700
3 votes
1 answer
811 views

Wicket String Validator for an Object mapped Form Component

I am using a Form component to edit values in an Object . I have mapped an object using a LoadableDetachableModel to the form so that the value in the object is displayed on the form and updates are ...
Jay's user avatar
  • 700