Commit 7e386ee3 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2006-05-04 yo

* Rewrite Folder_show.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7084 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 82ed59d3
...@@ -68,15 +68,9 @@ ...@@ -68,15 +68,9 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>request = context.REQUEST\n <value> <string>request = context.REQUEST\n
\n \n
# saved_checkeduid = context.portal_selections.getSelectionCheckedUidsFor(selection_name, REQUEST=request)\n ps = context.portal_selections\n
\n ps.setSelectionToAll(selection_name, REQUEST=request, reset_domain_tree=True, reset_report_tree=True)\n
context.portal_selections.setSelectionToAll(selection_name, REQUEST=request)\n url = ps.getSelectionListUrlFor(selection_name, REQUEST=request)\n
url = context.portal_selections.getSelectionListUrlFor(selection_name, REQUEST=request)\n
\n
# XXX when showing all the content of a folder, shall we reset selected uids or not ? \n
# no for now, until we find a good way to uncheck all (not only on the current page)\n
# context.portal_selections.checkAll(selection_name, saved_checkeduid, REQUEST=request)\n
\n
request.RESPONSE.redirect(url)\n request.RESPONSE.redirect(url)\n
</string> </value> </string> </value>
</item> </item>
...@@ -122,6 +116,8 @@ request.RESPONSE.redirect(url)\n ...@@ -122,6 +116,8 @@ request.RESPONSE.redirect(url)\n
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>request</string> <string>request</string>
<string>ps</string>
<string>True</string>
<string>url</string> <string>url</string>
</tuple> </tuple>
</value> </value>
......
2006-05-04 yo
* Rewrite Folder_show.
2006-05-04 Kevin 2006-05-04 Kevin
* Increase url lenght test Base_callDialogMethod. * Increase url lenght test Base_callDialogMethod.
......
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