Questions tagged [wicket-1.5]

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.

238 questions
2
votes
1 answer

Creating a Pax Wicket (Blueprint) application

It's still a request: Maven Archetype for Pax Wicket (Blueprint) I'd like to know what's the fastest way to generate a Pax Wicket - Blueprint application (or how to convert an existing Wicket application into Pax Wicket Blueprint) The only option I…
Kevin D.
  • 1,500
  • 1
  • 18
  • 41
2
votes
1 answer

Are nested enclosures supported in Wicket, as of 1.5?

I've ran into some problems when using nested enclosures, and I'd like to know if it's a bug in my coding, or if the usage I'm trying is just not natively supported. Stuff like:
userBigNum
  • 227
  • 2
  • 12
2
votes
1 answer

Spring-Wicket: optional but named bean still required

Consider following (wicket) code: @SpringBean(required=false) private StatusCheckService service; In my use case there is no bean of type StatusCheckService in my context. This is not a problem, it is marked as optional so the (wicket) page will…
Stijn Geukens
  • 15,454
  • 8
  • 66
  • 101
2
votes
1 answer

Nice URL: Wicket 1.5 mountPage

I am using Wicket 1.5.3 and in the extended WebApplication class I am registering home page, HomePage.java for pretty URL as: mountPage('home', HomePage.class); The result is a URL: http://localhost:8080/MyApplication/app/home?1 From where the "?1"…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
2
votes
1 answer

Separate language and format locales in a Wicket app?

Our Wicket app needs separate UI language and number/date format locales (e.g. UI in english, Number and date format: German) per user. If you set the session locale to say Locale.GERMAN, you get both german number and date format AND german…
roger armstrong
  • 253
  • 1
  • 2
  • 8
1
vote
2 answers

Wicket 1.5 and JSP/servlet wrapping

In the project I'm on we want to upgrade from Wicket 1.4 to 1.5. After some work we got most things working OK. However one major thing is not working yet. There's a need to wrap old JSP/servlets into the new Wicket based application and the old…
Johan
  • 21
  • 7
1
vote
1 answer

How to override uploadTooLarge message for FileUpload by some custom message wicket

I have a page which contains a reusable panel. This panel contains the file upload logic. I have set form.setMaxSize() to 10MB. Is it possible to override the default wicket message and show some custom message?
Karn_way
  • 1,005
  • 3
  • 19
  • 42
1
vote
2 answers

How to use Spring Roo with Apache Wicket?

I have a persistence layer (JPA entity objects) created and managed by Roo. It is in its own project, builds to a jar, and I have used it with a separate Spring MVC 3 web application. I'd like to use this same Roo persistence project in another web…
ThePizzle
  • 1,086
  • 4
  • 12
  • 20
1
vote
2 answers

How to deal with IResourceStreamWriter API change in Wicket 1.5?

In Wicket 1.4, I had a custom AbstractResourceStreamWriter (used in a custom kind of Link for streaming a file that gets generated on the fly): private AbstractResourceStreamWriter resourceStreamWriter() { return new…
Jonik
  • 80,077
  • 70
  • 264
  • 372
1
vote
1 answer

erroneous fields in wicket validation

I'm trying to make my text fields erroneous when validation fails for a form component. I'm adding an "error" value to my textfield class attribute which makes it red. I do this by overriding the onValidate() method on the form and loping my…
Koen
  • 31
  • 3
1
vote
1 answer

Can we show javascript confirmation box on onsubmit of wicket ajax button method

Can we append script to show first a yes\no confirmation popup and then if user selects yes then proceed for the save logic Note: i want confirmation popup within onsubmit of button like protected void onSubmit(AjaxRequestTarget target, Form
Karn_way
  • 1,005
  • 3
  • 19
  • 42
1
vote
3 answers

Wicket generic components design pattern

Im implementing some generic components and I just wonder if my design patters makes sense and if there are any improvements that can be made. E.g., here is a generic panel that can be used to filter stuff: /** * Abstract class for textfields used…
fred
  • 1,812
  • 3
  • 37
  • 57
1
vote
1 answer

continueToOriginalDestination does not bring me back to originating page

I am trying to sign into my application. First I throw the RestartResponseAtInterceptPageException (this is in a WicketPanel on my BasePage): add(new Link("signin") { @Override public void onClick() { throw new…
Yashima
  • 2,248
  • 2
  • 23
  • 39
1
vote
1 answer

Add add same javascript file multiple time in single page using apche wicket framework. Is it possible?

I using a loop and each time this function is call but it add only one javascript file. But i want to trigger the functionality of that javascript file each time . Can anyone please help me? @Override public void renderHead(Component component,…
1
vote
1 answer

Javascript in Wicket 1.5

im looking for the Wicket 1.5 Way of doing the following tasks: Add a external .js File to header of the Page from a Panel. Add a Tag at Bottom of Page from a Panel Add some Javascript to the onLoad Event of the Body tag There…
HaBaLeS
  • 1,809
  • 3
  • 16
  • 26