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
0
votes
2 answers
overriding setResponsePage() to build breadcrumb
I 'm trying to build my own simple breadcrumb component that pushes a PageRefence onto a List for each and every Link in the application.
Unfortunately, setResponsePage() is final (I use wicket 6).
The only other option that comes to my mind is to…

bert
- 7,566
- 3
- 31
- 47
0
votes
1 answer
Spring Security: SecurityContextHolder.getContext().getAuthentication() returns null on Wicket Page
I am using Spring MVC(for REST), Spring Security 3 and Apache Wicket (UI) on Google App Engine. Everything is working fine except I am having trouble in getting the Authentication on the Wicket Page through the SecurityContextHolder after login.
I…

shameem_z
- 71
- 2
- 6
0
votes
1 answer
Making list view items clickable
I wanna make the items of list view, that is, table cells, clickable so that they will send to another page. Could anyone let me know what's my problem here ? Thanks in advance.
That's the html : http://pastebin.com/qUaPzTwv
That's what i'm trying
…

NotCamelCase
- 1,073
- 1
- 10
- 18
0
votes
1 answer
Wicket - Removing stale header contributions / AJAX panel replacement
We are writing an AJAX-heavy Wicket application and have panels that are contributing CSS via renderHead(). However, when panels are being replaced via AJAX - say, via an AjaxTabbedPanel, the header contributions of the old panels remain and pollute…

nullPainter
- 2,676
- 3
- 22
- 42
0
votes
3 answers
Error in onSubmit, feedback not rendering
I have some logic in onSubmit of the button (which is in Form), which may fail, so I would like to show a message using error(myMessage). But it doesn't work, and it seems that it is normal:
Feedback panel added but does not show all messages
Is…

Adam Pierzchała
- 2,244
- 4
- 30
- 32
0
votes
1 answer
Submit Form on Enter press - Textfield value is Null
In my login page I am trying to bind enter key press event with password textfield. I have managed to fire the event listener. But the problem I am facing is the value of the textfield username is returning null, but the password field's value is…

Tapas Bose
- 28,796
- 74
- 215
- 331
0
votes
1 answer
Adding CSS resource to Wicket Web App
I wanna simply add my css resource to the web page. i have one BasePage class which all derived web pages will share the same css styles. how may i apply css to web pages in the simplest form ?
These are what i've found and tried to do according to…

NotCamelCase
- 1,073
- 1
- 10
- 18
0
votes
1 answer
Sending a BIRT file via HttpServletResponse through a Wicket Link, causes IllegalStateException
Somewhere within my Wicket Link, that calls a Utility, which serves a report file,
generated by BIRT, I am getting an IllegalStateException.
From the Wicket page:
Link downloadLink = new Link("download") {
private static final long…

cobaltduck
- 1,598
- 5
- 25
- 51
-1
votes
1 answer
How to use getHeaderContribution() in wicket 6.x or 7.x?
I have code like below,
add(CssPackageResource.getHeaderContribution("css/$/styles.css?v=1.1".replace("$", reqLocale)));
I am trying to upgrade it into 6.x , but am unable to use getHeaderContribution() method,
Can you suggest me how can I…

S.P. ROOPESH
- 65
- 11
-1
votes
1 answer
How to get original destination in wicket
How to get original destination in wicket for example : I clicked one link in a page but it then redirected to login page as it requires authentication but I need to know in java code as to what is the original destination(the link which I clicked…

Miheer Pansare
- 1
- 3
-1
votes
1 answer
Wicket : CheckBoxMultipleChoice is not saving values in model object
My code looks like this
html
< div wicket:id="metroEthernetChildchkLeft">
java code
initializing CheckBoxMultipleChoice in constructor and then later setting the values of list and model using setter methods
class
private…

atom217
- 971
- 1
- 14
- 26
-1
votes
1 answer
File interceptor in Wicket?
Do we have any functionality available in Apache Wicket for file uploads, where i can have different properties like file object,content Type,file name readily available.

Mangesh Jogade
- 169
- 13
-2
votes
1 answer
how to use setModelValue(); in wicket 6. x or 7.x?
In wicket 1.4.9 setModelValue("") was accepting string as a parameter, but in 1.5 it need String Array,
I have code as shown below, anybody knows how to modify setModelValue("") to 6.x or 7.x.
if (!onlineVerfStatus) {
TextField captcha =…