Open GoogleCodeExporter opened 9 years ago
Hi,
jqwicket provides only a bridge between wicket and jquery components. For I18N
you have to use stadard mechanism provided by the wicket itself.
In case of DatePickerOptions, you can specify month names like this:
new DatePickerOptions().monthNames(
getString("key.jan"), getString("key.feb"), ..., getString("key.dec")
);
, where "key.jan", key.feb",... are the keys from the resource bundle.
Original comment by m...@javaforge.net
on 3 Mar 2011 at 2:22
Hi,
Your solution is the first step to handle such i18n mechanism.
But wouldn't it be more useful, if this could be automatically bound to the
Locale present in Session?
So that every call to DatePickerOptions() would be filled (by default) with
Localized ResourceBundle properties ?
Thanks again for your answer.
-R-
Original comment by rcoqueug...@gmail.com
on 3 Mar 2011 at 3:25
Hi,
as i mentioned above, the highest priority in jqwicket was to provide a more or
less "clear" java api to the existing javscript (jquery) api.
But you are right, it will be a nice enhancement. I'll change the issue type to
"enhancement" and implement it in some of the next releases.
Original comment by m...@javaforge.net
on 5 Mar 2011 at 10:55
Original issue reported on code.google.com by
rcoqueug...@gmail.com
on 3 Mar 2011 at 9:55