<ae:parameter name="field_error_messages">
<ae:parameter name="preceding-sibling::${htmlnsPrefix}label">
<ae:parameter name="location">child</ae:parameter>
<ae:parameter name="markup"><![CDATA[<span>${errorMessage}</
span>]]></ae:parameter>
</ae:parameter>
</ae:parameter>On 30.09.2009, at 13:15, Michal Charemza wrote:
Hi,
Two related questions:
- I would like to use the FPF to put error message inside the
associated label for form elements. For for
<label for="yourname">Your name</label>
<input type= "text" name="yourname" id="yourname" />
I would like the error to appear as:
<label for="yourname" class="error">Your name (The error message)</
label
<input type= "text" name="yourname" id="yourname" class="error" />
How would this be done?
- I thought such things are done with XPath: how exactly is it used?
If I wanted something a bit more complex in future, is there a source
of information that would avoid me having to post again? I have seen
examples with the "name" parameter like: "parent::${htmlnsPrefix}dd" :
what do they mean? is there an explanation available somewhere? Any
general help with this would be great...
Regards,
Michal.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
