You can add a RequestCycle listener that returns your custom page when
an exception is thrown:
http://blog.wizche.ch/2011/12/wicket-15custom-exception-page.html
Hello,
my application runs in deployment-mode and if an exception is thrown, wicket
shows his internal error page without the
Hi,
once rendering of components via Ajax has started, you cannot update
components.
AbstractTree#expand() is a convenience method that updates the expanded
branch automatically, hence you get the IllegalStateException.
You should just add all expanded nodes to your tree's model. That's
We are glad you like Wicket!
Keep making good software with it and spread the word!
Also don't hesitate to say a good or bad word about it at Twitter, just
mention #ApacheWicket.
Negative feedback is also very welcome!
On Fri, Dec 6, 2013 at 4:18 PM, Peter Henderson peter.hender...@starjar.com
hey Ernesto,
I could not find a new example for embedding a Pdf in wicket so i tried your
code from 2009.But i always get a Null Pointer at
this.resourceListener.onResourceRequested(); using your Code.
Caused by: java.lang.NullPointerException
at
Hi,
https://github.com/reiern70/antilia-bits/tree/master/content-iframe
I think this is the same example ported to Wicket 6
On Mon, Dec 9, 2013 at 1:51 PM, MyScheme katerc...@web.de wrote:
hey Ernesto,
I could not find a new example for embedding a Pdf in wicket so i tried
your
code
According to POM
wicket.version6.6.0/wicket.version
I guess it will work as well for latest wicket.
On Mon, Dec 9, 2013 at 4:50 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
https://github.com/reiern70/antilia-bits/tree/master/content-iframe
I think this is the same
In your application init() method add :
getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_EXCEPTION_PAGE);
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Show-Stacktrace-in-ErrorPage-tp4662842p4662863.html
Sent from
Hi, I'm converting one of our apps from 1.4.7 to 6.12. the old code extended
WebResource. I changed it to extend ByteArrayResource. I changed
setheaders to setResponseHeaders. But the code inside, I am not sure how to
change to Wicket 6 as the parameters are very different.
@Override
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
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)) ?
(;
10 matches
Mail list logo