Am 04.03.2009 um 09:41 schrieb Liutauras:

My global filters look's like this file, its working well only when
Forward is not used..

<filter class="AgaviFormPopulationFilter" name="FormPopulationFilter">

       <ae:parameter name="methods">
         <ae:parameter>write</ae:parameter>
       </ae:parameter>

       <ae:parameter name="output_types">
         <ae:parameter>html</ae:parameter>
       </ae:parameter>

       <ae:parameter name="error_messages">
         <ae:parameter name="self::${htmlnsPrefix}form">
           <ae:parameter name="location">before</ae:parameter>

           <ae:parameter name="container"><![CDATA[<div
           class="errors">${errorMessages}</div>]]></ae:parameter>

           <ae:parameter name="markup"><![CDATA[<p
           class="error">${errorMessage}</p>]]></ae:parameter>
         </ae:parameter>
       </ae:parameter>
     </filter>

Well I have to say I'm guessing a little into the blue actually.
Maybe its best to Copy the config from the SampleApp and slowly modifiy it to your needs.

What also came into my mind is, that the you might need to trigger the FPF manually in the Error View by setting an attribute $this->context- >getRequest()->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter');

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

Reply via email to