Apache Wicket, commonly referred to as Wicket, is a lightweight component-based web application framework for the Java programming language conceptually similar to JavaServer Faces and Tapestry. This tag is specific for wicket 1.5 since many changes have been done to the API in this version in a way that questions need to be answered in a different way for this version.
Questions tagged [wicket-1.5]
238 questions
2
votes
2 answers
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 code.
DateTextField dtf_ExpiryDate =…

Jay
- 690
- 1
- 10
- 27
2
votes
1 answer
Apache Wicket : Getting Selected Dropdown Value from a table on UI
I have an object something like
public class Table {
private String id;
private String name;
private List fieldsList;
}
public class Field {
private List columnList;
}
public class Column{
String id;
}
So, Here…

speruri
- 73
- 2
- 10
2
votes
1 answer
Wicket DefaultDataTable - Refresh it on browser back button
In my application I am using DefaultDataTable with SortableDataProvider which has LoadableDetachableModel as the model.
I used it to display a set of records ( say RecordList page). When I add or remove some records and load the page RecordList…

Jay
- 690
- 1
- 10
- 27
2
votes
2 answers
What's the best way of rendering component specific error messages?
I need a general way of rendering a component specific error message right next to the component which caused it. Up to now I've used a Feedback panel, which isn't ideal if the page contains multiple components, requiring the user to scroll down the…

Andrew Fielden
- 3,751
- 3
- 31
- 47
2
votes
2 answers
Wicket LoadableDetachableModel exception handling issue
In my project, I am using LoadableDetachableModel as given below.
public ReportPage(final Objectm, final PageReference pr) throws CustomException{
try{
final LoadableDetachableModel
- > ldm =
new…

Jay
- 690
- 1
- 10
- 27
2
votes
1 answer
Wicket - Proper clean up of Page components after exception handling
In my wicket application, Page navigation is by creating new Page object by calling the constructor of the new Page on the onClick() methods. As below.
DisplayItem.add(new Link("edit") {
@Override
public void onClick() {
try{
…

Jay
- 690
- 1
- 10
- 27
2
votes
2 answers
Wicket 1.5 Non modal window
I need to create a non-modal popup dialog, which can be dragged and resized by the user.
This example is great, but is a modal dialog. I don't want to block the user from scrolling the main web page.
Is there any component built in to Wicket that I…

Andrew Fielden
- 3,751
- 3
- 31
- 47
2
votes
1 answer
How do I use Local Variable Annotations for Wicket Authorization?
I'm rolling my own IAuthorizationStrategy for Wicket 1.5.x I've setup type annotation for pages to use with isInstantiationAuthorized(). It works well and I'd like to use annotations for isActionAuthorized() as well. Ideally I'd like to be able…

Raystorm
- 6,180
- 4
- 35
- 62
2
votes
0 answers
wicket AjaxTabbedPanel, Raw data is lost while adding new tabs
I have a page to capture personal details and the number of persons are dynamic. I have tried using AjaxTabbedPanel for the implementation. I am losing the raw data in each tab when I add a new tab to the tabPanel. I would like to retain the values…

Mibin
- 31
- 3
2
votes
1 answer
Customize AJAX URL
On one of our pages we have added a AbstractAjaxTimerBehavior (to add potential new items to a Repeatingview). The AJAX call that is executed is the…

Stijn Geukens
- 15,454
- 8
- 66
- 101
2
votes
1 answer
Wicket ValidationError not using IConverters specified in Application
I'm trying to localize validation error messages with Wicket and ran into this situation. I use custom converters to convert date values to the desired format (see below). However, when using AbstractValidator and IValidationError the values are not…

RJo
- 15,631
- 5
- 32
- 63
2
votes
1 answer
Uploadify broken in Wicket 1.5.8 (with JQWicket)
This might help someone else...
https://issues.apache.org/jira/browse/WICKET-4715
Results in the following errors on uploading of any files:
ERROR - MultipartFormInputStream - Error while reading servlet request multi-part data:
Stream ended…

Nigel Sheridan-Smith
- 747
- 8
- 11
2
votes
1 answer
How do I generate a Sitemap.xml in Wicket?
I'm struggling to generate a dynamic sitemap for SEO purposes in a Wicket 1.5 application. I looked at this example but couldn't understand what they mean exactly.
I see I need to create an xml page and mount it but then it talks about generating…

Philip Murphy
- 309
- 3
- 6
2
votes
1 answer
Wicket Validation 'hangs' after first submit
I have a form with validation on some fields (required fields).
Whenever I submit the form with missing values i get according error messages in a FeedbackPanel. When I enter the missing information and submit the form again, the error messages do…

Angie Benck
- 21
- 1
2
votes
1 answer
Apache Wicket - Implementing AbstractToolbar with DefaultDataTable
I am trying to add an AbstractToolBar to a DefaultDataTable.
The toolbar has a button on click of which the selected rows should get deleted.
My table has a checkbox column, to select the rows.
AbstractToolBar implementation looks like this…

user1557370
- 21
- 2