{{indexmenu_n>1}}
==== Code Explanation ====
Imagenes del Código
=== 1.- SlideView Collection code===
\\
|< 100% 20% 80% >|
^ Code ^ Explanation ^
| **notab="true"** | It indicates the framework to show the content without the tabs defined in the group nodes. If it is defined to true, it shows all the fields of a single group. |
| **show-toolbar="false"** | true, by default. If we put it to false in a collection when we use it as contents, the buttons of new, edit... do not appear, although it is allowed the edition and the creation of new ones. To lock it it would be with locked="true". |
| **viewmode="slideview"** | It indicates how the graphys are going to be shown. |
| **autoslide-delay="4"** | With this property we indicate the slideview the time in seconds. |
| **contents="SliderImage2"** | Attribute that will call to the Contents node, which is a visual control. |
| **slide-circular="true"** | We control with the state to true that when arriving at the last image it returns to the first one. |
| ** src="SliderImage2" ** | It indicates which is the collection from which the details of the content will be get, in this case the images.. |
==== Example of code of the SlideView collection ====
==== SlideViewBD Collection Code====
\\
|< 100% 8% 92% >|
^ Code ^ Explanation ^
| **sql="SELECT t1.* FROM ##PREF##IMAGENES t1"** | This attribute has an SQL sentence that will be used to read the collection data. |
| **sql="check-owner="false"** | It indicates that the collection must check if the owner is saved in disk before executing a loadall in case of a content collection. |
| **dependent="false"** | t indicates that the object belonging to this collection must check if the proprietary object is saved or it is not to save them. |
| **type="IMG"** | It indicates the property type of data. |
==== Example of code of the SlideViewDB collection ====
\\
**Important**
\\
The images must be saved in the files folder of the application and besides in the database .