Hi everybody,
what I want to do is fairly simple, but I've got a namespace problem:
- via a form I want to add a new folder, add some properties to the new
folder, then add a DTML document within the new folder.
- whatever I try, the properties as well as the new document are added
to the
One (ugly!) way of doing it:
dtml-with "manage_addFolder ('Test1')"
dtml-let test1Object="_.getitem(Test1')"
dtml-with "test1Object.manage_addFolder ('Test2')"
/dtml-with
/dtml-let
/dtml-with
This creates Test2 in Test1.
Ivan
Here some experiments (don't look at the syntax):
Hi !
Alexander DePauli wrote:
Hi everybody,
what I want to do is fairly simple, but I've got a namespace problem:
- via a form I want to add a new folder, add some properties to the new
folder, then add a DTML document within the new folder.
- whatever I try, the properties as well as
I have a dtml method in a zClass that looks like this:
dtml-sendmail smtphost=theSMTPHost
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: This is a test
A test!!!
/dtml-sendmail
"theSMTPHost" is defined as a property in the zClass. But when i use the
method I get a:
Error Type: error
Hello,
How can I get the contents of variable out of my dtml-in /dtml-in
code?
For example:
dtml-in "_['sequence-item'].objectValues(['TSubRegiao'])"
dtml-call "REQUEST.set('HORA', horacondicaoatual)"
/dtml-in
I need get the variable HORA and I couldn't.
Thanks
Marcus Mendes
How can I get the content of TITULO_CIDADE out of my tags dtml-in
/dtml-in ??
My code is :
dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title
dtml-if "_['sequence-item'].id == CIDADE"
dtml-call
"REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)"