Hi Yee!
> Qestion - what is the purpose of th e following test?
>
>       if (component instanceof UIInput ||
> UIInput.COMPONENT_FAMILY.equals(component.getFamily()))       {
>   
The idea behind this converter is, that in case of an input component
the conversion has to be reversible (or symmetric), thus, the
[EMAIL PROTECTED] rendering, in any other case - usually output components
only - it uses enum.toString() to have a nice user-readable
representation (assumed that toString() has been overloaded)

Ciao,
Mario

Reply via email to