Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xpage に dijit.tree があります。ページのレンダリング時に特定のツリー ノードを選択したい。Dojo リファレンス ガイドには、この問題の回避コードを含む例と、強調表示するツリー ノードへのフル パスが既にわかっている場合の tree.attr('path') の呼び出し例があります。しかし、ページがレンダリングされるときにノードを自動的に強調表示したい。これを行うより慣用的な方法は何ですか? どうもありがとう!
XSP.addOnload(function(){....})呼び出しをOutputscript要素に追加して、ハイライトをレンダリングできます。