ResponseIOException logged as error in DefaultExceptionMapper

2018-06-26 Thread Daniel Stoch
Hi,

DefaultExceptionMapper handles by default some "internal" exceptions.
You can look at the thread "Marker interface for "internal"
exceptions" on this list (Jun 02, 2014). ResponseIOException is one of
them, but when this kind of exception occurs then an error is logged
in DefaultExceptionMapper.mapExpectedExceptions(...):

  logger.error("Connection lost, give up responding.", e);

Why it is logged as an error, which means something is wrong in our
application? If it is handled transparently by a framework then it
should not be logged as error (maybe as debug?).
Or maybe I should add some special handling to this
ResponseIOException in my app?

--
Best regards,
Daniel

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Use a property file to change the choose one option

2018-06-26 Thread Maxim Solodovnik
https://ci.apache.org/projects/wicket/guide/8.x/single.html#_localization_of_component_s_choices

On Tue, Jun 26, 2018 at 3:41 PM JavaTraveler  wrote:

> Hello everyone, I have another question.
>
> Where do you put the properties file to change the label of the null option
> for a dropdownchoice ?
> Next to your java class ? Can you put in the same arboresence in resources,
> like for the css files ?
>
> And what do you write in it ?
> .null ? .nullvalid ?
>
>
> My dropdown has it's "setNullValid" to false.
>
> I found multiple solutions on the internet, but none have worked yet.
>
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-- 
WBR
Maxim aka solomax


Use a property file to change the choose one option

2018-06-26 Thread JavaTraveler
Hello everyone, I have another question.

Where do you put the properties file to change the label of the null option
for a dropdownchoice ?
Next to your java class ? Can you put in the same arboresence in resources,
like for the css files ?

And what do you write in it ?
.null ? .nullvalid ?


My dropdown has it's "setNullValid" to false.

I found multiple solutions on the internet, but none have worked yet.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org