Esempio Online Anteprima
Sorgente PHP: examples/splitbar/splitbar.php
Sorgente XML: examples/splitbar/splitbar.xml
Sorgente PHP: examples/splitbar/splitbar.php
Sorgente XML: examples/splitbar/splitbar.xml
Utilizzo dell'oggetto splitbar orientato verticalmente
<?php
/**
* PHP Source File
* @author Alyx Association <info@alyx.it>
* @version 1.0
* @copyright Alyx Association 2008-2010
* @license GNU Public License
*/
require_once("./../../class/system.class.php");
$system = new ClsSystem(true);
$xml = new ClsXML("splitbar.xml");
$event = new ClsEvent($xml);
$event->managerRequest();
?>
<?xml version="1.0" encoding="utf-8"?>
<jamp>
<page typeobj="page" title="JAMP - Esempio splitbar 1" icon="../../favicon.ico" loaddata="true">
<ds1 typeobj="ds" conn="conn1" dskey="path" scope="base" base="../.." alias="jamp" dsname="filename" justthese="type,dirpath,path,filename" />
<divSX typeobj="div" width="300px" height="autosize" style="float:left;">
<tree1 typeobj="tree" dsobj="ds1" refresh="always" width="autosize" height="autosize" />
</divSX>
<split4 typeobj="splitbar" type="vertical"/>
<divDX typeobj="div" width="autosize" height="autosize" style="float:left;">
<gridds1 typeobj="gridds" dsobj="ds1" width="autosize" height="autosize">
<coloumn>
<col objtype="label" itemlabel="Path" dsitem="path" order="false" colwidth="250px" />
<col objtype="text" itemlabel="Nome" dsitem="filename" order="false"/>
<col objtype="label" itemlabel="Tipo" dsitem="type" order="false"/>
</coloumn>
</gridds1>
</divDX>
</page>
</jamp>
<jamp>
<page typeobj="page" title="JAMP - Esempio splitbar 1" icon="../../favicon.ico" loaddata="true">
<ds1 typeobj="ds" conn="conn1" dskey="path" scope="base" base="../.." alias="jamp" dsname="filename" justthese="type,dirpath,path,filename" />
<divSX typeobj="div" width="300px" height="autosize" style="float:left;">
<tree1 typeobj="tree" dsobj="ds1" refresh="always" width="autosize" height="autosize" />
</divSX>
<split4 typeobj="splitbar" type="vertical"/>
<divDX typeobj="div" width="autosize" height="autosize" style="float:left;">
<gridds1 typeobj="gridds" dsobj="ds1" width="autosize" height="autosize">
<coloumn>
<col objtype="label" itemlabel="Path" dsitem="path" order="false" colwidth="250px" />
<col objtype="text" itemlabel="Nome" dsitem="filename" order="false"/>
<col objtype="label" itemlabel="Tipo" dsitem="type" order="false"/>
</coloumn>
</gridds1>
</divDX>
</page>
</jamp>