でページ属性の値がnullになっているこんにちは私はoracle webcenter Sites 11gで作業しています。 は、私は新しいページがページタイトル属性名を追加し、pagedefinitionにすることを追加し、JSPロジックを使用して新しいテンプレートを追加し、コードを追加した<% = ics.GetVar(「ページタイトル」)%>が、ページを表示します新しいページを作成した後、のページ番号がnullを示しています。助けてくださいoracle webcenter sites 11g R1
-1
A
答えて
0
必要な属性を読み終えたら、まずページアセットを読み込む必要があります。
以下表示のためのサンプルコードを使用すると、すべてのattibutesを得ることができ、あなたのJSPで「ページタイトル」この行では
<assetset:setasset name="Page" type='<%=ics.GetVar("c")%>' id='<%=ics.GetVar("cid")%>' />
<assetset:getattributevalues name="Page" typename='PageAttribute' attribute='pagetitle' listvarname="pagetitlelist" />
<ics:listget fieldname="value" listname="pagetitlelist" output="title"/>
<%=ics.GetVar("title")%>
0
です:
<ics:argument name="attributes" value="attribute1,attribute2,...,attributen" />
任意の属性を使用したい場合は、それを行います。例えば、${asset.attribute1}
関連する問題
- 1. WebCenter Sitesスタイルシート
- 2. のOracle WebCenterインストール
- 3. のOracle WebCenterの - 資産
- 4. Oracle 11g RSSフィード
- 5. JDBCシンOracle 11g
- 6. Oracle 11gデフォルトパスワード?
- 7. Oracle 11gの
- 8. TransactionTimeout with Oracle 11g
- 9. oracle 11g sql
- 10. Oracle 11g XE
- 11. oracle weblogic sever 11g
- 12. Oracle 11g - sys_refcursor
- 13. Oracle 11gコールドリストア?
- 14. Oracle 11g Sys Query
- 15. oracle 11g hibernate problem
- 16. Oracle Express edtion 11g
- 17. $ in Oracle 11g
- 18. ルーピングセパレータデータORACLE 11g
- 19. Xml in oracle 11g
- 20. ORACLE 11g Trigger
- 21. Oracle 11g - Sql with TimeStamp
- 22. PL/SQL Oracle 11g Looping
- 23. Oracle 11g JDBCプリフェッチ・キー
- 24. Oracle(11g)DbとC#
- 25. Oracle 11GのLIMIT/OFFSET
- 26. Oracle 11gの表図
- 27. liquibaseとOracle 11g VARRAY
- 28. レプリケーションのアドバイスOracle 11g
- 29. Expresiones Regulares Oracle 11gの
- 30. Oracle 11g and Collect Function