[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] Using ZClasses programmatically
From:       Dieter Maurer <dieter () handshake ! de>
Date:       2001-09-30 21:01:37
[Download RAW message or body]

Frank Stephan writes:
 > can anyone point me to a good ressource how I can handle ZClasses
 > programmatically.
 > I walked through 2 Zope books, but they almost only say something about
 > creating
 > and using ZClasses in the ZMI. What I need is information how I can use the
 > objects
 > in my code. Would Beehive's ZClasses Tutorial by a better point to start
 > off.
You use them the same way you use any other objects:

  they have attributes (members/properties and methods).
  Use can look like as follows:

    <dtml-with ZInstance>
      <dtml-var property>
      <dtml-var method>
      <dtml-call method>
      <dtml-var "method(a,1,b)">
      ....
    </dtml-with>

You do not find explanations in books because there is nothing
special about ZClass usage.


Dieter

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic