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
1 answer

wicket download output stream

I want to download csv file , i take the response content and write to it , apprently wicket write after me and the content iam getting is the page html where it should be my csv I have seen in the example the usage of throw new…
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
1 answer

How to add a listener to the requestcycle onbegin request?

We are trying to get the server name, session id browser info... to keep the information in the MDC for logging. For this we are trying to add a listener in the RequestCycle of the onBeginRequest() of IRequestCycleListener. I have added a class as…
Ram Dutt Shukla
  • 1,351
  • 7
  • 28
  • 55
0
votes
1 answer

Call Java component from JavaScript and retrieve value

I am trying to call a Wicket component's method from JavaScript and receive a value from this method which I want to use in the remaining bit of the JavaScript function which I used to call the component. However, I only seem to be able to call a…
Rafael Winterhalter
  • 42,759
  • 13
  • 108
  • 192
0
votes
2 answers

Accessing DB via JPA in Wicket IResource?

I want to implement an DynamicImageResource which will be mounted in a Wicket 6.7/Spring 3.2/JPA 2 application. This DynamicImageResource shall retrieve information based on input parameters and create a response. The question is: How can i access…
lajuette
  • 997
  • 1
  • 7
  • 18
0
votes
2 answers

Wicket - use map's entry values as objects in a model where I know the key for each component

I have a Java Map where I store data that has to be shown in a row in a table in a web application. I am using Wicket 6. Is there a way to link Wicket Labels (which will be cells in my table) to the String version of an object in a Map knowing the…
DPM
  • 1,960
  • 3
  • 26
  • 49
0
votes
1 answer

wicket 1. 6.6 spring project

I am looking for a start point for my project I want to start a project containing wicket 1.6.6 integration to Spring simple log in page (no a must) do you know about one which will work with 1.6.6 (all the examples are 1.5 and under) and…
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
1 answer

Apache wicket : For how much time the component exists in memory for remembering previous state

i have a question that for how much time an Wicket component exists in memory for remembering its previous state. Is there any time limit for that ? for example, session timeout of about 20 min...? If this happens, when there are lots of users for…
speruri
  • 73
  • 2
  • 10
0
votes
1 answer

Wicket - Expand non visible tree node

I would like to expand a tree node that is not visible in my DefaultNestedTree(wicket 6). I have learned that the AbstractTree class can not expand non visible tree nodes (from source: Does nothing if the given node is currently not visible) Is…
Tator
  • 566
  • 6
  • 21
0
votes
2 answers

wicket 1.6.6 spring security

I am having troubles with migrating to Wicket 1.6.6 First of all, in version 1.6.6, the function continueToOriginalDestination does not return true or false. Secondly, locateByClassLoader inside the …
yoav.str
  • 1,547
  • 6
  • 33
  • 73
0
votes
0 answers

spring, wicket: atmosphere Eventbus nullpointerexception when testing

I am using following code: private WicketTester tester; @Autowired private ApplicationContext applicationContext; @Autowired private LDBApplication ldbApplication; @Before public void setUp() { tester = new WicketTester(ldbApplication); …
0
votes
1 answer

Wicket - render something before onSubmit

How is it possible or what is the best way to render something before the whole request cycle of my AjaxButton onSubmit() is finished. I try to set a Progressbar visible, just after the user clicked on the AjaxButton, do some internal work and after…
Janus
  • 309
  • 1
  • 5
  • 18
0
votes
2 answers

How should I better handle loading of Wicket Models when using Wicket forms?

I am in the middle of writing a form using Apache Wicket. The same page/class is used to add a new item to the database AND to edit an existing record in the database. Of course, since the page constructor is called only once, the model is always…
mchandler
  • 926
  • 1
  • 12
  • 18
0
votes
1 answer

Scrollable Wicket datatable with headers fixed

I want to create a Datatable with headers fixed and body scrollable. I tried with out Headers Tool Bar and created Headers manually in HTML page. But table content and Headers are not getting aligned properly. If lengthy column is there, table…
Syam
  • 31
  • 5
0
votes
1 answer

want to customize/extend wicked-charts legend item click event

I have implemented a wicked-chart which shows 4 series in the legend. Now I want to handle the series click event in legend and update some values outside the wicked highchart. To be specific, I want to implement exactly like this jsfiddle but in…
ganesh
  • 220
  • 3
  • 8
0
votes
3 answers

How to add a Behavior to a component inside another Behavior added to that component in Wicket

I would like to add an AttributeAppender to a Component inside an AjaxEventBehavior using Apache Wicket. A Behavior has a getComponent() method but in the Constructor getComponent() obvioulsy returns null. Now I pass the component to the Constructor…
rontron
  • 453
  • 2
  • 6
  • 14
1 2 3
10
11