Re: [Zope] namespace-problem

2000-12-12 Thread Maik Röder

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 the new document are added
> to the parent folder of the new folder instead of to the new folder.

This works for me:





   
   




Best regards,

Maik Röder

___
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 )




Re: [Zope] namespace-problem

2000-12-12 Thread Ivan Cornell

One (ugly!) way of doing it:


  


  


This creates Test2 in Test1.

Ivan


>
> Here some experiments (don't look at the syntax):
>
> 
>
> 
>
>
> 
>
> This looks fine to me, but ZOPE insists on creating the new document in
>/OldFolder
> instead of
>/OldFolder/NewFolder
>


___
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] namespace-problem

2000-12-12 Thread Alexander DePauli

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 parent folder of the new folder instead of to the new folder.

Here some experiments (don't look at the syntax):


 

   
   



This looks fine to me, but ZOPE insists on creating the new document in 
   /OldFolder 
instead of 
   /OldFolder/NewFolder

Some more stuff for wondering:

If I do a 

   

to get an actual value for testing purposes, ZOPE returns the *correct*
value of 'NewFolder'

But if I do an additional 
   
id: ,
type: 
   
to list the objects of the actual namespace (placed *after* the above
, the output consists of the objects of the
/OldFolder-namespace, but not that of the
/OldFolder/NewFolder.

...I'm sure this is a rookie-problem and can be solved by turning a
switch or two (perhaps in my brain), but I'm stuck.

Do you/anybody has any clue?

Thanks in advance - Alexander
~
http://www.herrenausstatter.de - Der Online-Herrenausstatter
Kostenlose Serviceline: 0800 -999 66 33
Versandkostenfreie Lieferung - 30 Tage Rückgaberecht
~
Verwaltungsadresse:
DePauli.com Aktiengesellschaft
Stahlgruberring 3 - 81829 München
Telefon: 089 / 530 75 170 - Telefax 089 / 514 50 666

___
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] Namespace problem with the dtml-sendmail and the smtphost

2000-10-04 Thread Max Møller Rasmussen

I have a dtml method in a zClass that looks like this:


To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: This is a test

A test!!!


"theSMTPHost" is defined as a property in the zClass. But when i use the
method I get a:

Error Type: error
Error Value: host not found

If i write:



It gets send without a hitch.

and if I write  it returns mail.tele.dk as expected.

I then try this, which also fails.


Mailhost: 


To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: This is a test

A test!!!


Is it not possible to set the smtphost to a string in a dtml variabel?

Regards Max M

___
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] namespace problem??

2000-07-22 Thread Marcus Mendes

Hello,

How can I get the contents of variable out of my   
code?

For example:




I need get the variable HORA and I couldn't.

Thanks

Marcus Mendes


___
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] namespace problem?

2000-07-14 Thread Marcus Mendes

How can I get  the content of   TITULO_CIDADE  out of my tags 
 ??

My code is :

 

 
 
  
 

Thanks.

Marcus Mendes


___
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 )