2017-06-09 13 views
0

私はthisの男と同様の質問がありますが、そこにはまだ答えがありません。シンボル 'jquery.include_datepicker'が定義されていません

おそらくSOの中のクールな人が私を助けることができます。前もって感謝します。

public static void contributeApplicationDefaults(
     MappedConfiguration<String, Object> configuration) 
{ 
    // ... set it to "true" or "false" explicitly 
    configuration.add(JQuerySymbolConstants.INCLUDE_DATEPICKER_I18N, "true"); 
} 

設定した場合:ここで

あなたはすなわちApplicationDefaults、シンボル・プロバイダーのいずれかを使用して、このシンボルの値を定義する必要があるように見えますAppModule.java

public static void contributeJavaScriptStackSource(MappedConfiguration<String, JavaScriptStack> configuration, @Symbol(JQuerySymbolConstants.SUPPRESS_PROTOTYPE) boolean suppressPrototype) { 
    configuration.overrideInstance("core-datefield", JQueryDateFieldStack.class); 
} 
+0

コードを少し共有できますか? – Lissy

+0

@Lissy編集済み.. –

答えて

0

の私contributeJavaScriptStackSourceです"true"に設定すると、ライブラリはローカライズされたメッセージsource code is hereを使用しようとします。

関連する問題