This is a problem a got a lot and I never able to seem to solve it.
I want save or create a object to a specific folder or other folderish object,
I ask the user for the id of that folder or folderish object
I store the id name in a variable 'name'
the problem is I know the type of the folder or folderish object but 'name' is
a str object and I can't use command like name.manage_addFile().
The server just tells me that name is a str which contains no function
I always end up doing a
<dtml-if "getId() == name">
this is very ineffecient when you have a lot of data. Is there a ways I could
do something like "getFolder( name ).doSomething()". Is there anything like
that in dtml?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -