Questions tagged [wicket-1.6]

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 6 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.

155 questions
0
votes
2 answers

Abort Wicket Ajax event on 'before' event subscription

I know that I can subscribe to events using Wicket 6+ which is what I do in my application. Now I am trying to cancel an Ajax event on a particular occurrence of some condition like that: Wicket.Event.subscribe('/ajax/call/before', function…
Rafael Winterhalter
  • 42,759
  • 13
  • 108
  • 192
0
votes
2 answers

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 protected AbstractResource.ResourceResponse…
Gabriel Ruiu
  • 2,753
  • 2
  • 19
  • 23
0
votes
0 answers

Removing version in URL generated by wicket

I'm beginner with wicket framework and I'm trying to do this example (http://www.wicket-library.com/wicket-examples/captcha/). As expected, it works well. But I'm trying now to remove the "?0" from the URL generated by wicket (for example,…
Leonardo Andrade
  • 2,508
  • 2
  • 18
  • 24
0
votes
1 answer

Wicket AjaxLink javascript handler shows strange behaviour

I have a ListView that displays a list of Panels, one below the other. Every panel features a button (implemented via AjaxLink) that closes the panel and removes it from the list. This is how the ListView is initalized and how the panels are…
sina
  • 1,817
  • 1
  • 18
  • 42
0
votes
1 answer

How to add WebPage in a panel

I need to add a Webpage on a panel, but as i am new to Wicket framewrok.I have no idea. Can anybody please give me an example? public Component renderBody(String componentId) { //return new Label(componentId, getMessage()).add(new…
ABS
  • 13
  • 4
0
votes
2 answers

Wicket: dynamically enable/disable the wizard buttons

Wicket version: 1.6.11 Suppose I have a Textfield component on a dynamic wizard page, which is Ajax enabled. When I click on that component I want to disable the 'Next' button on the wizard button bar, until the user has hit the enter key. After…
Andrew Fielden
  • 3,751
  • 3
  • 31
  • 47
0
votes
1 answer

HTML5's contenteditable and oninput with Apache Wicket

I need editable text in an Apache Wicket Application. As the text has to appear very "common-table-like", with editing only after the user double clicks on the text and so on, using normal TextFields is not really an option. So I decided to go for…
sina
  • 1,817
  • 1
  • 18
  • 42
0
votes
2 answers

How to integrate wicket framework 6.x with plain old jsp

I am looking for examples for how to ingrate wicket 6.10 with jsp We have lots of code written in jsp , which is a good code and we want it to be in our wicket 1. application to contain those jsp files , how can we integrate it ? 2. put jsp files…
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
1 answer

Which Design Pattern does Apache wicket follow

I am new to wicket . could someone please tell me which design pattern does wicket follow in framework .
Karn_way
  • 1,005
  • 3
  • 19
  • 42
0
votes
1 answer

wicket page expired after in another tab submiting

I am using wicket 6.9 i have a table where the link column is created like this : @Override public void onClick() { PageParameters pageParameters = new PageParameters(); IEntity…
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
1 answer

Get post data from ByteArrayResource

I send data over post request to path which mount to: public class AJAXPostPort extends ByteArrayResource implements IResource { ... @Override protected byte[] getData(Attributes attributes) { …
pushistic
  • 3,406
  • 3
  • 21
  • 35
0
votes
1 answer

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 page and not stayong on the current page in order…
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
1 answer

Wicket - Form with ListItem and Checkboxes not setting Checkbox state

I have a simple-ish form that consists of a variable number of elements in a form using a ListView. Each element is in a table row, and contains a name (with a link which works fine) and a CheckBox, which marks that line for deletion. Only the…
fancyplants
  • 1,577
  • 3
  • 14
  • 25
0
votes
1 answer

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 want to use some jquery effects. I want to use the…
Michał Króliczek
  • 1,319
  • 1
  • 11
  • 16
0
votes
2 answers

Adding select/deselect all checkbox to wicket DataTable

I'm new to wicket and I don't know jQuery at all. I use wicket 6.9.0. I need to add select/deselect all checkbox to wicket DataTable. I've read and implemented example from "Apache Wicket Cookbook", you can see it on page 28 here Apache Wicket…
user2565039
  • 91
  • 2
  • 4