You are not logged in Log in Join
You are here: Home » Members » 4AM Productions (Evan Simpson) » DTMLWiki » ZRender

Log in
Name

Password

 
 
FrontPage » EvolutionaryProposals » ZRenderer »

ZRender

ZRender objects implement the ZRenderer Proposal

  • A ZRender object has attributes corresponding to the atttributes of the original tag.
  • When called, it attempts to acquire the method named by the z-render attribute. If this fails, either an exception is raised or the original tag is inserted.
  • The object pushes itself onto the namespace stack and calls the acquired method.
  • The return value of this method is passed through to the ZRender object's caller.
  • The ZRender object exposes methods to manipulate its attributes, and has a __str__ method which represents the object as a tag with the current attributes.