示例#1
0
文件: Datebox.java 项目: adrgit/zk
 private String getUnformater() {
   if (org.zkoss.zk.ui.impl.Utils.markClientInfoPerDesktop(
       getDesktop(), "org.zkoss.zul.Datebox.unformater.isSent")) {
     return Library.getProperty("org.zkoss.zul.Datebox.unformater");
   }
   return null;
 }
示例#2
0
文件: Datebox.java 项目: adrgit/zk
 private static Object[] getRealSymbols(Locale locale, Datebox box) {
   if (locale != null) {
     final String localeName = locale.toString();
     if (org.zkoss.zk.ui.impl.Utils.markClientInfoPerDesktop(
         box.getDesktop(), box.getClass().getName() + localeName)) {
       Map symbols = (Map) _symbols.get(locale);
       if (symbols == null) symbols = loadSymbols(locale);
       return new Object[] {localeName, symbols};
     }
     return new Object[] {localeName, null};
   }
   return null;
 }