Re: [Zope] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton

+---[ Dieter Maurer ]--
| Andrew Kenneth Milton writes:
|   I want to create a tag that has sub-tags.
|   
|   Now I know I can use blockContinuations to approximate this, but, I
|   think it would be cleaner to be able to define tags that are only available
|   within the context of the main tag (namespaces and all that).
|
| Have a look at "sqlgroup" in "Shared.DC.ZRDB.sqlgroup".
| It does that, so you can learn how to do something similar.

I spent some time trying to think of a Zope tag that did this, I forgot
all about sqlgroup, and sqltest. 

Thanks!

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
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] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton

+---[ Dieter Maurer ]--
| Andrew Kenneth Milton writes:
|   I want to create a tag that has sub-tags.
|   
|   Now I know I can use blockContinuations to approximate this, but, I
|   think it would be cleaner to be able to define tags that are only available
|   within the context of the main tag (namespaces and all that).
| Have a look at "sqlgroup" in "Shared.DC.ZRDB.sqlgroup".
| It does that, so you can learn how to do something similar.

SQL defines a new document type 'sql template' and defines the tag within
that template only, and there's no implicit nesting of the tags.

It doesn't look currently possible do define a general use tag that works
the way I want (yet). I'll keep looking at it. I might be able to define
the commands[] inside the actual tag, but, I don't think that that's going to
work.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
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] Nested Tag Creation

2000-08-17 Thread Andrew Kenneth Milton

I want to create a tag that has sub-tags.

Now I know I can use blockContinuations to approximate this, but, I
think it would be cleaner to be able to define tags that are only available
within the context of the main tag (namespaces and all that).

Is this possible? 
Without rolling my own parser ?

I don't see a lot of tag products being released so I assume that this is
not a widely used thing for Zope.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

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