#1320: Support sprintf syntax in validator depends attribute
---------------------------------+------------------------------------------
 Reporter:  nik...@…             |       Owner:  dominik
     Type:  defect               |      Status:  new    
 Priority:  normal               |   Milestone:  1.0.4  
Component:  validation           |     Version:  1.0.3  
 Severity:  normal               |    Keywords:         
Has_patch:  1                    |  
---------------------------------+------------------------------------------
 Currently the following isn't possible:

 {{{
 <validator class="isset" provides="foo_set" required="false">
         <arguments base="foos[]">
                 <argument />
         </arguments>
 </validator>
 <validator class="number" depends="foos[%2$s][foo_set]">
         <arguments base="bars[]">
                 <argument />
         </arguments>
 </validator>
 }}}

 However, whit a little tweak to AgaviDependencyManager it should be
 possible. Patch will be attached.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1320>
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