[Zope] display HTML files using TAL

Tino Wildenhain tino at wildenhain.de
Mon Jun 9 02:06:30 EDT 2008


Hi,

sujitha mary wrote:
> Hi all,
> I need help in displaying a set of HTML files .I have created a TAL code 

explain "display".

> which stores the name of the files in a list.But i don't know how to 
> pass this values.

pass to where? How does a code store anything? To where?

> this is my code
> here 'x' is the list that contains file names. i have uploaded the files 
> as DTML document.
> 
> <span tal:condition="python:n=='geneprot'" tal:replace="structure 
> python:here.x">this  will be replaced</span>

You want to replace <span /> with the contents of here/x?
Why do you think you need structure or python: ?

maybe you can tell us where exactly your approach fails?

Regards
Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/zope/attachments/20080609/3a0b60c7/smime.bin


More information about the Zope mailing list