Problema con Symfony y ExtJS

pipo
11 de Marzo del 2010
Hola colegas,
tengo un problema que lleva varios d'ias rompiendome la cabeza, intento hacer una aplicacion en php usando symfony y ExtJs para el trbajacon las interfaces.
loc ierto es que tengo un layout para toda la app, el layout lo hago con ExtJs de la siguiente manera, Inserto un componente Ext.ViewPort, al cual le inserto dentro el header, un panel izquierdo que funciona como menu yun panel central que es donde se cargaran las acciones de cada modulo, lo cierto es que no acabo de encontrar la formas de poner el <?php echo $sf_content ?> del layout dentro de dicho panel, lo hago poniendolo en el atributo html:'<?php echo $sf_content ?>' del Panel pero no funciona, da error extraño, si glquien ha hecho algo de esto en algun momento necesito que me de su ayuda. debajo pongo el codigo para que vean.

Codigo del Layout.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/ext/ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css">
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />

<style type="text/css">
html, body {
font: normal 12px verdana;
margin: 0;
padding: 0;
border: 0 none;
overflow: hidden;
height: 100%;
}
.empty .x-panel-body {
padding-top:20px;
text-align:center;
font-style:italic;
color: gray;
font-size:11px;
}
</style>
<script type="text/javascript">
Ext.onReady(function() {

var menuSuperior=new Ext.Toolbar({
region:'north',
renderTo: 'menuSuperior',
items:[{
text:'Clientes',
iconCls:'iCliente',
menu:{
items:[
{text:'Registrar Cliente',
leaf:true,
listeners:{
click: function(){mostrarTab('frmClientes', 'Clientes')} // frmClientes es el nombre de otro archivo php
// qe tiene un formulario
}
},
{text:'Listar Clientes',
leaf:true,
listeners:{
click: function(){mostrarTab('frmClientes', 'Clientes')}
}}
]}
},{
text:'Mantenimiento',
iconCls:'iMantenimiento',
menu:{
items: [
{text:'Usuarios'},
{text:'Listar Usuarios'}
]
}}]
})

var menuAtletas = new Ext.Panel({
title: 'Atletas',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuDeportes = new Ext.Panel({
title: 'Deportes',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuEventos = new Ext.Panel({
title: 'Eventos',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuTecnicosDeportivos = new Ext.Panel({
title: 'Técnicos Deportivos',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuGestionrResultados = new Ext.Panel({
title: 'Gestión de Resultados',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuConfiguracion = new Ext.Panel({
title: 'Configuración',
html: '&lt;empty panel&gt;',
cls:'empty'
});

var menuIzquierdo = new Ext.Panel({
region:'west',
margins:'80 0 5 2',
split:true,
width: 210,
minWidth: 210,
maxWidth: 220,
layout:'accordion',
items: [menuAtletas, menuDeportes, menuEventos, menuTecnicosDeportivos, menuGestionrResultados, menuConfiguracion]
});

var viewport = new Ext.Viewport({
layout:'border',
items:[menuIzquierdo, {
region:'center',
margins:'80 2 5 0',
cls:'empty',
bodyStyle:'background:#f1f1f1',
html:'<?php echo $sf_content ?>'
}]
});
});
</script>
</head>
<body>
<div id="Logo" style="height:50px">Logo del sistema</div>
<div id="menuSuperior"></div>

</body>
</html>


Codigo de la accion indexSuccess.php:


<table>
<tr>
<td>Algo</td>
<tr>
</table>
// Mas codigo HTML



Hern?
11 de Marzo del 2010
Hola, yo estoy con el mismo problema. Pudiste resolverlo?