[Zope] verify whether html input type=file... is empty
Hi! Don't know if it is really a zope question, but I have a problem, verifying if e.g. input INPUT TYPE="file" NAME="image_1" SIZE="50" is empty or not using dtml-unless " REQUEST[ 'image_1']=='' " dtml-call "manage_addImage( id=imageId, file=REQUEST[ image_1], REQUEST=REQUEST )" /dtml-unless well, I think the input type=file... is not a string, but what I want to test is if the user put in the filename and not whether the really existing file is empty, so how could aI do it? I would appreciate any hints Thank you in advance Andrey ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] get property of type 'list'
Hi! I add a list property to a DTML document of type 'tokens' (e.g. '[1, 2, 3]') wenn i try to retrieve it with _.getitem i get '[1,' '2,' '3]' instead of '1' '2' '3' How can I get Zope to interpret my property like a list not a string or whatever else? Thank you in advance! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] how to display contents of a folder?
Hi I would like to display contnent of a zope folder on my HTML-page preferrebly only the DTML Documents of a particular folder, how can I do it? Thank you very much in advance Andrei ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )