Commit 4757f0d6 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2008-07-06 yo

* Use getDocumentValue instead of restrictedTraverse again, as the acquisition problem has been fixed in the Product.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22299 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed527410
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
\n \n
def getInlinePage(reference, language):\n def getInlinePage(reference, language):\n
if reference:\n if reference:\n
page = context.restrictedTraverse(reference)\n page = context.getDocumentValue(reference)\n
if page is not None:\n if page is not None:\n
return page.asStrippedHTML()\n return page.asStrippedHTML()\n
return None\n return None\n
...@@ -159,6 +159,12 @@ return getInlinePage(reference, language)\n ...@@ -159,6 +159,12 @@ return getInlinePage(reference, language)\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSection_viewInlinePageRenderer</string> </value> <value> <string>WebSection_viewInlinePageRenderer</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
2008-07-06 yo
* Use getDocumentValue instead of restrictedTraverse again, as the acquisition problem has been fixed in the Product.
2008-07-01 2008-07-01
* Fix WebSection_viewInlinePageRenderer. Prevent to get a non document object. Thank you for Thomas Nouret. * Fix WebSection_viewInlinePageRenderer. Prevent to get a non document object. Thank you for Thomas Nouret.
......
676 677
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment