Affects Version/s: None
Fix Version/s: None
Format is a great helper but I think Format has the problem that it does not use the client's locale.
I'd like to give the current client-locale to Format. I was thinking that Page.getFormat() can be changed to:
if(format == null)
The problem here is that getFormat() is called before the context is set. Maybe the setting of the Format by click-servlet could be removed at all (including the click-xml entry).
The configuration of format would than happen through overriding getFormat(). I think with the current trend to no xml this
would look better. Would make the the whole thing just easier to understand and is also faster than looking up the format in ClickApp and newInstance(). Is there a use-case for having the format specified in click-xml?