--- Espen Sorbye Frederiksen <[EMAIL PROTECTED]>
wrote:
> Thank you for your reply. I relised that my example
> was not quite what I
> ment. What if newfolder is a variable taking a
> random string value. How
> can I emediatly after creating the folder, with the
> variable
> newfolder id, create a subfolder within the one I
> just made?
> 
> My sample code should look like this:
> 
> <dtml-call expr="manage_addFolder(id="newfolder")">
> 
> <dtml-call
>    
>
expr="newfolder.manage_addFolder(id="anotherfolder")">
> 
> If you have any further suggestions I would be
> grateful,
> 
> Espen
> 

Try this:

<dtml-call expr="manage_addFolder(folder_id)">
<dtml-call expr="_[folder_id].manage_addFolder('subFolder')">

=====
| Casey Duncan
| Kaivo, Inc.
| [EMAIL PROTECTED]
`----------------->

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to