Hi,
I am try to work out the final bugs in my application, and have tracked down
the problem to the following lines. What I am trying to do is get access to
the compiled output of an action, and fire this off to another function
which requires it for display purposes. For those of you who are interested
this is a Facebook application and we are firing off a REST request to
update another page on a different website.

      $action =
sfContext::getInstance()->getActionStack()->getLastEntry()->getActionInstanc
e();
      $fbml = $action->getPresentationFor('user', 'profile');

The code above works fine most of the time, except one circumstance, when
the calling module returns sfView::None;. As I understand it this is
probably because the last entry does not exist so I cannot use the
presentationFor command. Is there another way to solve this and get hold of
the compiled output?

Thanks in Advance,
Mat


--~--~---------~--~----~------------~-------~--~----~
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