19 Jul
2000
19 Jul
'00
9:10 p.m.
Trying to do a simple thing as creating a document and then adding a property with an DTML method, found that the following code does not work, it comes up with a password request (all security settings are at defaults):
<dtml-call "company.noticias.manage_addDTMLDocument(titulo,subtitulo,texto)"> <dtml-with "company.noticias._[titulo]"> <dtml-call "propertysheets.manage_addProperty('link',resumen,'text')" > </dtml-with>
Try <dtml-with "_.getattr(company.noticias,_[titulo])"> In DTML, you are not allowed to access any attribute starting with "_". And in fact, "_" is not even an attribute of "company.noticias". Dieter