The problem with the "readOnly" attribute was that it did not just
affect the
appearance, like "greyout", the select element, but changed what was
rendered
structurally. This caused lots of complications in the implementation,
as well
as the layout of the page, when the attribute was toggled dynamically on
the client.
Get the values of the dropDown, if it is multiple selections, or the
single value
if it is single selection and render the result as a string of
StaticText in the format
that is consistent with your application.
You may have to use a converter if the values are not String. It depends
on your application.
-rick
Sergey wrote:
> Hello,
>
> I use component dropDownList. I need to use attribute ReadOnly. The
> attribute is deprected starting from version 4.1.
>
> Why?
>
>
> How do now I realize the regime ReadOnly for component dropDownList?
>
>
>
> Sergey.
>