Hello together, How can I put the request variable "folder" to the path for to call the method? I was trying but itemsobj is not the request variable "folder" <span tal:define="global itemsobj request/folder" tal:content="itemsobj">dummy Text</span> <div tal:define="files python:here.aq_parent.itemsobj.getFiles(sort, reverse)"> Thanks Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
trash.mail@gmx.ch wrote:
Hello together, How can I put the request variable "folder" to the path for to call the method? I was trying but itemsobj is not the request variable "folder"
<span tal:define="global itemsobj request/folder" tal:content="itemsobj">dummy Text</span>
<div tal:define="files python:here.aq_parent.itemsobj.getFiles(sort, reverse)">
Here ya go: <tal:x define="folderName request/folder; theFolder here/?folderName; items theFolder.getFiles(sort,reverse);"> <span tal:content="theFolder">Dummy Text</span> ... </tal:x> cheers, Chris
participants (2)
-
Chris Withers -
trash.mail@gmx.ch