Hi every:
I have the following code at preExecute() function:

[code]
public function preExecute()
{
   if ( $this->getModuleName() == "geslicsoft") {
    $this->mostrar_parcial = "geslicsoft";
   }
}

Then in the "layout.php" I have this other code:

[code]
<?php
if (isset($mostrar_parcial)) {
 switch ($mostrar_parcial)
 {
  case "geslicsoft":
   include_partial('LicenciasAdminMenu');
  break;
 }
}
?>

When I execute the action, normally, all is fine and I check using DebugBar and 
at the end I can read this:

View -> initialize view for "geslicsoft/_LicenciasAdminMenu"
View -> render "sf_app_dir/modules/geslicsoft/templates/_LicenciasAdminMenu.php"

Now when I validate a form if I leave at least one field blank Symfony never 
render the partial again. I try also to force the variable in the handleError 
method:

[code]
public function handleErrorAdicionarAutor()
{
 $this->mostrar_parcial = "geslicsoft";
 return sfView::SUCCESS;
} 

I check again using DebugBar and at the end it only wrote this:

Filter  -> executing filter "sfFillInFormFilter"

¿Somebody having before this problem and found the solution?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to