#575: Allow different error class names for different html elements in FPF
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: filter | Version: 0.11.0RC5
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
Example: you don't want the normal "error" class to be assigned to
checkbox inputs, because those just look real bad with a border. You can
control that using CSS only, but that doesn't work in IE6, so the whole
thing is a PITA.
The idea: XPath expressions to map to class names!
{{{
<parameter name="error_class_map">
<parameter
name="self::[EMAIL PROTECTED]'checkbox']">error_checkbox</parameter>
</parameter>
}}}
The context node for the XPath query is always the element in question,
i.e. the form element, or the label(s) of the element.
--
Ticket URL: <http://trac.agavi.org/ticket/575>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets