AW: [Struts4php-user] include-Attribut im Actionmapping
Brought to you by:
brainguide
|
From: patrick a. <pat...@gm...> - 2005-04-30 11:46:30
|
Hallo Ralph, danke für deinen Tip. Stimmt, ich habe noch Version 1.0.3 verwendet, mit 1.0.5 funktioniert es. Für eine Formularprozedur hab ich nun den scope "session" angegeben. In der jetzigen Umsetzung starte ich aber logischerweise die Session vor $actionBanana->process($request). In PHP5 hat dies zur Folge: ActionBanana::processPopulate() [function.processPopulate]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "XXXForm" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in. Gibt es da einen sinnvollen Workaround? Gruss Patrick -----Ursprüngliche Nachricht----- Von: Ralph Bergmann [mailto:ra...@da...] Gesendet: Dienstag, 26. April 2005 22:04 An: patrick arnold Cc: str...@li... Betreff: Re: [Struts4php-user] include-Attribut im Actionmapping patrick arnold schrieb: > Hallo, > > im Tutorial auf struts4php.org wird in einem Code-Listing das Attribut > "include" innerhalb vom <action>-Element verwendet. Kann es sein, dass > dies aber noch nicht unterstützt wird? doch wird es aber ich meine erst ab version 1.0.5, die früheren hatten dies zwar schon in der xml datei enthalten, aber nicht genutzt nun ist es so, dass dort die datei stehen muss(!!!), die den quelltext zur klasse hat, die unter "type" angegeben ist ralph |