Well, not everything what is possible is automatically right. My propose is NOT keep any html content in controller - it is work for view. You're imho looking for
<?php echo $cakex->link('Add new item', '/phases/formAdd/', array('update' => 'add')); ?> BTW: xajax is a great library, but it is aiming to people without php framework, as it does dispatching, basic sanitize etc. One of reasons why was CakeX written and published is: take some people from xajax community to CakePHP world ;) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---