On Sunday 12 February 2006 11:53, Alan Chandler wrote:
>
> does the Prefix/Suffix surround just the component in error, or its
> associated field label as well?

OK, I found the answer, in that there is both a writeLabelPrefix and a 
writePrefix (and the same for suffix)

This leads to two more questions though. 

1) In order to create a div that surrounds them both I need to know the order 
of label and field.  Can I find that out simply?

2) In order to get the error message out of the FieldTracking I need to know 
which one it is.  There is a routine called findCurrentTracking().  At what 
point does this get set to the field I want to surround with a div (ie can I 
call it inside writeLabelPrefix thus

findCurrentTracking().getErrorRenderer().render()

to output an error message

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to