Exemplo n.º 1
0
      <!--<a href="list?class=<?php 
echo $clazz;
?>
">List</a>-->
    </div>
    <br/>
      
      <!--
      DE ESTA PAGINA TENDRIA QUE VER EL TEMA DEL BINDINDG CON EL MODELO AL SUBMITEAR.<br/><br/>
      
      TODO: Accion para submitear el form. Podria tener algun tipo de controller estandar que
      haga acciones CRUD, para esto le tengo que pasar el nombre de la clase!.<br/><br/>
      -->
      
    <?php 
echo DisplayHelper::errors($m->get('object'));
?>
      
    <form action="save" method="post">
        <input type="hidden" name="id" value="<?php 
echo $m->get('object')->aGet('id');
?>
" />
        <input type="hidden" name="class" value="<?php 
echo $m->get('object')->aGet('class');
?>
" />
        <input type="hidden" name="app" value="<?php 
echo $m->get('app');
?>
" />