Printable Commands view

What is view command?
View is a 2dimensional command which is usually used for returning one object properties from data source . for instance printing a product details on a page need view command. View work as a answer/question command, and to reach this you have to place at least two <face> within <basis>. each face have another attribute name level that you have two number it like "level1" and "level2" to specify data returning order. When you number it, the second <face> result will place in first <face> @child.

Syntax
< basis core="view" datamember name=["your datamembername"] >
< face level=" 1" >
< div > @question </div>
@child
</face >
< face level ="2" >
< div > @ answer </div>
< /face >
< /basis >
Simple view
< ul >
< basis core="view" datamembername="view.product" >
< face level="1" >
< li > < span > @question < /span> @child < /face >
< face level="2">
< span > @answer </span >
< /li>
< /face >
< /ul>
< /basis >
view with Layout Tag
< basis core="view" datamembername="slider.show" >
< layout >
< ul>
@child
</ul>
< /layout>
< face level="1" >
< li > < span > @question < /span >
@child < /face >
< face level="2" >
< span > @answer </span >
< /li></face>
< /basis >
view with condition
< basis core="print" datamembername="slider.show" >
< layout >
< ul>
@child
</ul>
< /layout>
< face level="1" filter="id=211">
< li > < span > @question < /span >
@child < /face >
< face level="1" >
< li > < a href= "@link" > < span > @question < /span >< /a >
@child < /face >
< face level="2" >
< span > @answer </span >
< /li></face>
< /basis >