Commit d0f4d308 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

base_url can be just an absolute url of the portal.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25521 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3a5f01b
...@@ -42,11 +42,10 @@ ...@@ -42,11 +42,10 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init"\n <tal:block metal:define-macro="init"\n
tal:define="base_url python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId());\n tal:define="global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="base_url">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr tal:condition="is_selenium_0_8">\n <tr tal:condition="is_selenium_0_8">\n
...@@ -68,7 +67,7 @@ ...@@ -68,7 +67,7 @@
<tal:block tal:condition="init_method">\n <tal:block tal:condition="init_method">\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string:$base_url/accounting_module/$init_method" />\n <td tal:content="string:$${base_url}/accounting_module/$init_method" />\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
116 117
\ No newline at end of file \ No newline at end of file
...@@ -42,11 +42,10 @@ ...@@ -42,11 +42,10 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<tal:block metal:define-macro="init"\n <tal:block metal:define-macro="init"\n
tal:define="base_url python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId());\n tal:define="global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() &gt; \'Zelenium-0.8\'">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="base_url">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr tal:condition="is_selenium_0_8">\n <tr tal:condition="is_selenium_0_8">\n
...@@ -88,7 +87,7 @@ ...@@ -88,7 +87,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string:$base_url/internal_packing_list_module/$init_method" />\n <td tal:content="string:$${base_url}/internal_packing_list_module/$init_method" />\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
13 14
\ No newline at end of file \ No newline at end of file
...@@ -61,12 +61,12 @@ ...@@ -61,12 +61,12 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string: ${here/portal_url}/foo_module/BTZuite_reset"/>\n <td>${base_url}/foo_module/BTZuite_reset</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -58,11 +58,10 @@ ...@@ -58,11 +58,10 @@
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n <tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n xmlns:metal="http://xml.zope.org/namespaces/metal">\n
\n
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -62,12 +62,12 @@ ...@@ -62,12 +62,12 @@
<!-- reuse listbox suite reset to clear modules. -->\n <!-- reuse listbox suite reset to clear modules. -->\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td tal:content="string: ${here/portal_url}/foo_module/ListBoxZuite_reset"/>\n <td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<!-- create a Foo -->\n <!-- create a Foo -->\n
<td tal:content="string: ${here/portal_url}/foo_module/Foo_createObjects?start:int=1&num:int=1"/>\n <td>${base_url}/foo_module/Foo_createObjects?start:int=1&amp;num:int=1</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python: \'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
410 411
\ No newline at end of file \ No newline at end of file
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<tal:block metal:define-macro="init">\n <tal:block metal:define-macro="init">\n
<tr>\n <tr>\n
<td>store</td>\n <td>store</td>\n
<td tal:content="python:\'/\' + here.getPortalObject().getProperty(\'erp5_ui_test_base_url\', here.getPortalObject().getId())">erp5</td>\n <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n
<td>base_url</td>\n <td>base_url</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
6 7
\ 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