Questions tagged [wicket]

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.

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.

It uses no XML configuration, and POJO Java components are bound to HTML fragments by tags and naming convention. Only configuration needs to be done is in the web.xml to map the Wicket servlet.

3749 questions
1
vote
3 answers

wicket manipulating DefaultDataTable

I was creating a web application in wicket and had created a table which shows the user some information. Now I wanted to manipulate this table so if the cell contained "N" the background color would be RED and if it contained "Y" the background…
Attiq
  • 155
  • 1
  • 3
  • 8
1
vote
2 answers

Override Session timeout at runtime in wicket

How can I override session timeout interval during the runtime. Basically at the time of login, user is given an option if wants to be logged in for specific hours say(7). So what I did once user is authenticated , set the max inactiveInterval at…
Pratik Garg
  • 967
  • 4
  • 12
  • 26
1
vote
2 answers

Different input type based on data type of column in listview in wicket

I am having a list of InputColumnsVO which will have column name and column datatype attributes..I am thinking to iterate this list of input columns object using Listview and display input boxes based on the column data type.For example: if datatype…
1
vote
1 answer

cant get geocoder working with a textbox google maps api

I've looked all over this site but couldnt find a clear cut answer. First of all i'm a javascript noob. I'm trying to setup a google maps where it gets it input from a textbox and then outputs the Lat/Long in a two different textboxes. . There are…
1
vote
1 answer

Wicket application + Apache + mod_jk - AJP queues are filling up!

We are having a Wicket-based Java application deployed in a production server cluster using Apache (2.2.3) with mod_jk (1.2.30) as load balancing component w/ sticky session and Jboss 5 as application container for the Java application. We are…
Jon Gray
  • 13
  • 4
1
vote
1 answer

Replace String in wicket

I was wondering what is the best practice to replace a common string in wicket page. The problem is that I have a HTLM file with many components added. In between these components there is some text here and there and I wonder if there is for…
Peter Jaloveczki
  • 2,039
  • 1
  • 19
  • 35
1
vote
1 answer

Examples of Wicket ChoiceFilteredPropertyColumn?

I'd really like some kind of filter I can use on my AjaxFallbackDefaultDataTable. It seems that I may be able to implement that with a ChoiceFilteredPropertyColumn, however I cannot seem to find any examples on how to use it, or just demos of what…
Kane
  • 53
  • 4
1
vote
2 answers

Wicket: best practice to store UI settings?

I'm developing a rich internet application, which is built using Wicket and a lot of fancy Wicket-JS integrations. I'm now at the point that I want to store some user-settings; for example I have a TabbedPanel. I would like to be able to return the…
Rob Audenaerde
  • 19,195
  • 10
  • 76
  • 121
1
vote
1 answer

How to require ticking a checkbox in wicket 6?

In earlier wicket versions, making a checkbox required ensured that it has to be checked by the user, or else it would fail validation. This is no longer the case in wicket 6. Is there a standard way to achieve the same behavior now?
1
vote
1 answer

Wicket: How to use Map instead of PropertyModel?

We user Wicket 6 and usually are fine with POJO objects and PropertyModel to access model attributes. Now instead of a POJO I want to use a Map, how can I do that? Instead of form.add(new TextField("fieldName", new…
Artem
  • 7,275
  • 15
  • 57
  • 97
1
vote
2 answers

How to add "onchange" SimpleAttributeModifier to DropDownChoice in Apache Wicket

I want to run a particular javascript when selection is changed in the drop down choice, so I added a simple attribute modifier like this : ddc.add(new SimpleAttributeModifier("onchange", "calc();")); But if I do this, it completely overrides the…
Soumitri Pattnaik
  • 3,246
  • 4
  • 24
  • 42
1
vote
1 answer

Wicket, how to get data line index number

When a user clicks on the edit link in a wicket data grid component, a new window would open and they would modify whatever appears on the new form. In the datagrid, there are many rows. How can I get the index number of the row I want to edit?…
Yandroide
  • 91
  • 1
  • 4
  • 13
1
vote
2 answers

Dynamically setting the URL in a wicket link

I have hard-coded the link destination URL in the below link. I need to re-factor the code so that the URL is set dynamically (reading it from a property file) Any one has an idea how to…
1
vote
1 answer

Wicket: How to add a click event handler to a table row?

I want to make each row in a table respond to a mouse click. Specifically I want it to go to a link URL. At the moment my table is defined like this
1
vote
1 answer

Wicket ModalWindow position

I need to modify the position of the modal window before it gets displayed in the middle. I have a ajaxbutton which will open the modal window. In the onClick method I tried something…
DaUser
  • 357
  • 3
  • 5
  • 19
1 2 3
99
100