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.
Questions tagged [wicket-1.6]
155 questions
2
votes
1 answer
2
votes
1 answer
Wicket localized value in data-original-title
Is it possible to plave value from properties file into tag parameter with wicket:message without using java.
For example i have the following element

falconw
- 59
- 5
2
votes
1 answer
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());
f.add(group);
group.add(new…

falconw
- 59
- 5
2
votes
2 answers
Wicket 6: Write inline javascript to script tag in body
Working in Wicket 6. My page includes a javascript reference in the html to a third party library. I have a block of additional standard utils that I include via JavaScriptHeaderItem in a renderHead in the Behavior class from a custom…

Entropy
- 1,219
- 6
- 21
- 45
2
votes
1 answer
wicket :how to combine CompoundPropertyModel and LoadableDetachableModel
I want to achieve two goals:
I want my model to be loaded every time from the DB when it's in a life-cycle (for every request there will be just one request to the DB)
I want my model to be attached dynamically to the page and that wicket will do…

yoav.str
- 1,547
- 6
- 33
- 73
2
votes
2 answers
After Wicket session timeout - pageParameters are null
I'm using wicket 6.
My application is based on WebPages created with pageParameters in the constructor. I'm using also a pageParameter country that is a path-parameter defined with:
mountPage("/${country}/pagepath", MyPage.class);
I have many…

DeejonZ
- 2,451
- 2
- 17
- 19
2
votes
3 answers
Open new Tab when button is clicked
using wicket I want to open a new tab when a button or link is clicked, how can I achieve it?
what I have managed to do is to open it in a pop up like this:
PopupSettings popupSettings = new …

yoav.str
- 1,547
- 6
- 33
- 73
2
votes
2 answers
How to call Java Function from JavaScript Apache Wicket
I have looked in to this topic in many places and found some ways. In this particular scenario, I have used https://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascript article as the reference.
What I did in Java,
public class…

andunslg
- 781
- 14
- 38
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
wicket ,how to find out which properties has changed in the model after submit,ajax
i am working with wicket as a clent server and a remote server
my API with the remote server is
updateEntites(Object... Entities,Class clazz,Map propertiesWhichHaveChanged).
my question is how to deduce which pojos , wicket model properties has…

yoav.str
- 1,547
- 6
- 33
- 73
2
votes
1 answer
how to load an external URL in an iframe using wicket 6 (without using javascript)?
I would like to load a website in an iframe in my own site.
I am using wicket 6. This is what I have tried so far:
RedirectPage page = new RedirectPage ( link );
InlineFrame frame = new InlineFrame ("myFrame", page );
add (frame);
Works…

DPM
- 1,960
- 3
- 26
- 49
2
votes
2 answers
Apache Wicket redirect POST data to external website
I have a apache wicket form where the contents of the form should be sent to other external website. Is that possible in wicket, If possible, please post some code. I tried with new RedirectPage(url); . But, its sending a GET request instead of…

speruri
- 73
- 2
- 10
2
votes
1 answer
How to make the entire row of a ListView clickable in wicket
Is it possible to make the entire row of a ListView clickable in wicket?I've seen this example,
But i need a scrollable table instead of pagination. Thats why i am going for a ListView where upon clicking any row of the table, content of the row…

Syam
- 31
- 5
2
votes
3 answers
How to use CallBackScript properly in Wicket 6.x
in Wicket 1.x I used an AjaxEventBehavior to place a CallBackScript that delivers me the mouse coordinates. This is what I did:
(getEventX() and getEventY() are JavaScript Functions)
myObject.add(new AjaxEventBehavior("onClick") {
…

Reinhard
- 31
- 1
- 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