Re: [Zope] dtml-always et al

2000-06-23 Thread Andrew Kenneth Milton

+[ Andrew Kenneth Milton ]-
|
| Or sometimes you just need to rethink what "clean" is... and
| where you want clean, and where you're willing to be a little dirty.
| 
| 
| 
| 
| 
| ')">
| ')">

duh link_end

| 


-- 
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 |  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] dtml-always et al

2000-06-23 Thread Andrew Kenneth Milton

+[ Lalo Martins ]-
| On Fri, Jun 23, 2000 at 12:49:16PM +0530, Shalabh Chaturvedi wrote:
| > Hi:
| > 
| > Could you give an equivalent using the current dtml tags?
|  
| > From: Jay, Dylan <[EMAIL PROTECTED]>
| > 
| > > 
| > >  
| > > 
| > >  link text
| > > 
| > >  (no link currently available)
| > > 
| > >  
| > > 
| 
| If I understood it correctly:
| 
| 
|  
| 
|  link text
| 
|  
| 
|  (no link currently available)
| 
| 
| 
| Or alternatively:
| 
| 
|  link text
| 
|  link text (no link currently available)
| 

Or sometimes you just need to rethink what "clean" is... and
where you want clean, and where you're willing to be a little dirty.





')">
')">



link text

I would do it this way, if I could pre-set that text in an earlier
 and the programming logic, would mess up my display flow,
it works nicely for  where you have a list of URL's, and you
can hide the ugliness in another place.



link text



-- 
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 |  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] dtml-always et al

2000-06-23 Thread Lalo Martins

On Fri, Jun 23, 2000 at 12:49:16PM +0530, Shalabh Chaturvedi wrote:
> Hi:
> 
> Could you give an equivalent using the current dtml tags?
 
> From: Jay, Dylan <[EMAIL PROTECTED]>
> 
> > 
> >  
> > 
> >  link text
> > 
> >  (no link currently available)
> > 
> >  
> > 

If I understood it correctly:


 

 link text

 

 (no link currently available)



Or alternatively:


 link text

 link text (no link currently available)



Or using Jay's proposal:


 
 
  link text
 
 

 (no link currently available)


I don't really think this is an improvement.


As for , of course it should be 
instead. It's hard to see the point here, and there is no point
at all if there isn't a dtml-always (except for XML
nitpickness); but with dtml-always there _may_ be a point.


 foo
 bar
 zoo
 
  goo
  mar
  moo
 
 woo
  far
 boo


This will render either:

when X is true:
 foo bar zoo mar woo far boo
when X is false:
 bar goo mar moo far

So suddenly order starts mattering.

It's a rather convoluted way of achieving this results, but
there may be situations where this is useful. I don't know.

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

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