0

以下のコードで DWR メカニズムを使用して Java から Java スクリプトを呼び出しています

Container container = ServerContextFactory.get().getContainer();
ScriptSessionManager manager = (ScriptSessionManager) container.getBean(ScriptSessionManager.class);
Collection sessions = manager.getAllScriptSessions();
Util utilAll = new Util(sessions);
utilAll.setStyle("isTreeUpdatedButton", "background-color", "#33C");

正常に実行されていますが、入力フィールドの背景 (id isTreeUpdatedButton を持つ要素) の色が更新されておらず、上記のコードを実行すると「無効な割り当ての左側」という警告が表示されます。

4

1 に答える 1