Show us the full code if you can. The method AgaviController::createExecutionContainer() is not static an cannot be called without an instance of AgaviController. Please check the API Docs at ahttp://www.agavi.org/apidocs/ for a full explanation of the method.

cheers

felix

On Feb 26, 2009, at 11:11 AM, Liutauras wrote:

Hm errors there, or i misunderstud smthg how to get object of execution
container and execute custom action and get response of it?
I write like this:

$e2 = AgaviController::createExecutionContainer();
// *Fatal error*: Cannot access protected property
UserSpace_FirmInputView::$context in
*/usr/local/share/php/agavi/controller/AgaviController.class.php* on
line *116*

if i trying to use second i got:
$e1 = AgaviExecutionContainer::createExecutionContainer();
// *Fatal error*: Call to undefined method
UserSpace_FirmInputView::getOutputType() in
*/usr/local/share/php/agavi/controller/ AgaviExecutionContainer.class.php*
on line *215*

i tryed this in Action and View the same error.



_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to