This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.