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.
76
questions
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(...
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?
@...
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 ...
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'.
...
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 ...
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) {
...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
-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 ...
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 ...
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, ...
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 ...
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 ...
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:
...
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 ...
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 ...
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 ...
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 ...
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 ...
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">....
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 ...
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 ...
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 ...
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/...
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 "...
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",...
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 ...
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. : ....
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-...
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>
...
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>
...
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 ...
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 ...
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 ...
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 ...
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 ...
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
...
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<...
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 ...
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 ...
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
...
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 ...
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 ...
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 ...
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 ...