Re: [symfony-users] :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Gareth McCumskey
All symfony actions will attempt to return the output of a template based on teh action name unless otherwise told. So if an action has the name tree (executeTree) it will attempt to render the template treeSuccess.php by default. If, however, you want to return your own content and not the

Re: [symfony-users] :-( please help. ajax problem - noob to ajax -probably simple

2010-04-19 Thread Gareth McCumskey
In addition there are other things you can do too like tell it to use a different template to the one that it will automatically look for (great for re-using a template you've created before) by doing: $this-setTemplate('templatefilename'); //Note no return word in fron and no Success.php at the