I am trying to set the displayValueOnly property to true for a textarea component in the backing bean Java code. But it does not work. The widget is still displayed. The same works when I give t:inputTextArea directly in the JSP. All the components that I am creating in the backing bean are from org.apache.myfaces.component.html.ext package. Is this the correct package to use the displayValueOnly? I need to create components in the backing bean since I do not know the number of components until run time. The textarea is embedded in a panelGrid which is also from the same package.
By the way .. What's in your opinion the difference between:
Joined: Sep 27, 2004
I could not know the difference. When I tried, both approaches seemed to create the component. Could you please explain how one should decide upon choosing an approach to creating the components given a situation. But in either of the approaches, the displayValueOnly is still not working.