Hello,
I wrote two functional tests in five.grok, which ask to render in a template:
<span tal:condition="exists: view/static/style.css">Test succeed</span> <span tal:condition="exists: view/static/nonexistant.css">Test failed</span>
And:
<span tal:condition="exists: context/++resource++five.grok.ftests.view/style.css">Test succeed</span> <span tal:condition="exists: context/++resource++five.grok.ftests.view/nonexistant.css">Test failed</span>
And both examples work without any problems. Could you help me to reproduce that bug ? Maybe it's the ResourceRegistry which does some strange hacks.
Sylvain,
Hello,
I wrote two functional tests in five.grok, which ask to render in a template:
<span condition= "exists: view/static/ style.css" >Test succeed</span> condition= "exists: view/static/ nonexistant. css">Test failed</span>
tal:
<span
tal:
And:
<span condition= "exists: context/ ++resource+ +five.grok. ftests. view/style. css">Test succeed</span> condition= "exists: context/ ++resource+ +five.grok. ftests. view/nonexistan t.css"> Test failed</span>
tal:
<span
tal:
And both examples work without any problems. Could you help me to reproduce that bug ? Maybe it's the ResourceRegistry which does some strange hacks.
Sylvain,