Bases: sprox.viewbase.ViewBase
This view can display all of the entities for a given provider.
Modifiers : | see sprox.viewbase.ViewBase |
---|---|
Usage : |
>>> from sprox.entitiesbase import EntitiesBase
>>> class MyEntitiesBase(EntitiesBase):
... __entity__ = User
>>> base = MyEntitiesBase(session, metadata=metadata)
>>> print base()
<div xmlns="http://www.w3.org/1999/xhtml" class="containerwidget">
<div class="entitylabelwidget">
<a href="Department/">Department</a>
</div>
<div class="entitylabelwidget">
<a href="Document/">Document</a>
</div>
<div class="entitylabelwidget">
<a href="DocumentCategory/">DocumentCategory</a>
</div>
<div class="entitylabelwidget">
<a href="DocumentCategoryReference/">DocumentCategoryReference</a>
</div>
<div class="entitylabelwidget">
<a href="DocumentCategoryTag/">DocumentCategoryTag</a>
</div>
<div class="entitylabelwidget">
<a href="Example/">Example</a>
</div>
<div class="entitylabelwidget">
<a href="File/">File</a>
</div>
<div class="entitylabelwidget">
<a href="Group/">Group</a>
</div>
<div class="entitylabelwidget">
<a href="Permission/">Permission</a>
</div>
<div class="entitylabelwidget">
<a href="Town/">Town</a>
</div>
<div class="entitylabelwidget">
<a href="User/">User</a>
</div>
</div>