#575: Allow different error class names for different html elements in FPF
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: assigned
Priority: normal | Milestone: 0.11
Component: filter | Version: 0.11.0RC5
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by david):
* status: new => assigned
Comment:
Note that in XHTML mode, you need to use namespaces in the XPath.
FPF is using "html" as the namespace prefix, so you can do:
{{{
<parameter name="error_class_map">
<parameter
name="self::html:[EMAIL PROTECTED]'checkbox']">error_checkbox</parameter>
</parameter>
}}}
Or, more flexible, just use a placeholder that's filled with the namespace
prefix and colon, or nothing if no XHTML mode is used:
{{{
<parameter name="error_class_map">
<parameter
name="self::[EMAIL PROTECTED]'checkbox']">error_checkbox</parameter>
</parameter>
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/575#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets