#656: Add option to FPF to insert generic "an error has occured" message to 
forms
that failed validation
-------------------------+--------------------------------------------------
 Reporter:  david        |        Owner:  david
     Type:  enhancement  |       Status:  new  
 Priority:  normal       |    Milestone:  1.2  
Component:  filter       |      Version:       
 Severity:  minor        |   Resolution:       
 Keywords:               |    Has_patch:  0    
-------------------------+--------------------------------------------------
Changes (by david):

  * milestone:  1.0 => 1.2

Comment:

 Moving to 1.2. Current plan:
  * XPath based like {{{((multi_)?field)?error_messages}}}
  * value is two params "module" and "action", pointing to an action to run
 as a container
  * this container then outputs the data
  * it gets passed error info, module and action names etc
  * that way, you can build generic and concrete errors using a
 {{{targets}}} fallback structure in layouts... simply have a
 {{{MyActionErrorInfo.fragment.php}}} in the templates dir etc, done,
 works, otherwise, it shows a default "operation could not be completed,
 please check the error messages below" template...

-- 
Ticket URL: <http://trac.agavi.org/ticket/656#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to