Closed fedotxxl closed 8 years ago
Hi. One possible problem is that you're calling C10N.get(...)
too early, before C10N.configure(...)
had the chance to execute.
Nope... Can you tell me class/method which replaces {0}
values - I'll try to debug it
C10NInvokationHandler#invoke get's invoked first. Then, getStringValue will do most heavy lifting of retrieving the string and formatting it.
The above is for ver 1.1
Hope this is not too urgent, because I have to go now. If you cannot resolve the issue, please post your full set-up and I will try to reproduce it locally. Thanks!
It was java.text.MessageFormat.format
issue - Can't
should be replaced with Can''t
- http://stackoverflow.com/questions/17569608/format-a-message-using-messageformat-format-in-java
omg, that was a nasty one! Thanks! I should probably put it on a wiki somewhere.
Hello. I configured C10N following way:
and I've got following method:
which returns
Can't load page by url {0}
instead ofCan't load page by url MY_CUSTOM_URL
How can I fix it?