Re: response headers in Wicket 6

2013-12-10 Thread Entropy
Thanks Francois, Second question: In 1.4.7 the page object supported a removePersistedFormData() method and the TextField has a method setPersistent() on it. Both appear gone, and I don't see anything in the 6 or 1.5 conversion guides about them. What is the replacement? -- View this

Re: response headers in Wicket 6

2013-12-10 Thread Martin Grigorov
Just remove them. Wicket do not persist the form components' values anymore. On Tue, Dec 10, 2013 at 4:10 PM, Entropy blmulholl...@gmail.com wrote: Thanks Francois, Second question: In 1.4.7 the page object supported a removePersistedFormData() method and the TextField has a method

Re: response headers in Wicket 6

2013-12-09 Thread Entropy
Second question (the first is still open), in 1.4.7 the page object supported a removePersistedFormData() method and the TextField has a method setPersistent() on it. Both appear gone, and I don't see anything in the6 or 1.5 conversion guides about them. What is the replacement? -- View this

Re: response headers in Wicket 6

2013-12-09 Thread Francois Meillet
For the last two lines : data.getHeaders().addHeader(key, value); or ((WebResponse) attributes.getResponse()).addHeader(key, value); for response.setAttachmentHeader(defaultFileName); (from WebResponse.java) setHeader(Content-Disposition, attachment + ((!Strings.isEmpty(filename)) ? (;