Commit e1e35b1a authored by Romain Courteaud's avatar Romain Courteaud

Use absolute_url instead of getUrl.

Fix next/previous actions.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19921 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9565d4c9
......@@ -63,7 +63,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
</tal:block>\n
<tal:block tal:define=" basic options/basic;\n
planning options/planning;\n
address python:basic.context.getUrl()">\n
address python: basic.context.absolute_url()">\n
<!-- hidden fields holding some usefull data-->\n
<input type="hidden" name="list_selection_name" value="PlanningView" tal:attributes="value python:basic.field.get_value(\'selection_name\')" />\n
<!-- setPage needs \'listbox_uid:list\'-->\n
......@@ -239,7 +239,7 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<!-- next page exists -->\n
<input type="image" src="/images/1rightarrowv.png" title="Next Page" name="" border="0"\n
tal:attributes="src next_src;\n
name string:${address}/nextPage:method;\n
name string:{address}/nextPage:method;\n
id python:axis.name + \'_next\'" />\n
</tal:block>\n
<!-- inserting depth widget -->\n
......@@ -269,12 +269,12 @@ Beware this only generates the HTML code, no CSS generation is done in this scri
<!-- previous page exists -->\n
<input type="image" src="/images/1leftarrowv.png" title="Previous Lane Page" name="" border="0"\n
tal:attributes="src previous_src;\n
name string:${address}/previousLanePage:method;\n
name string:previousLanePage:method;\n
id python:axis.name + \'_previous\'" />\n
<!-- next page exists -->\n
<input type="image" src="/images/1rightarrowv.png" title="Next Lane Page" name="" border="0"\n
tal:attributes="src next_src;\n
name string:${address}/nextLanePage:method;\n
name string:nextLanePage:method;\n
id python:axis.name + \'_next\'" />\n
</tal:block>\n
</div>\n
......
506
\ No newline at end of file
507
\ 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