Hi all,
first of all, this issue I am facing is rather particular since I am using Vaadin 6.8.15 and am experiencing the behavior in a Liferay 6.0.6.
I am using Vaadin to quickly create a demo of an application that’s supposed to be running as a portlet in a Liferay 6.0.6 (CE) with the constraint of using Vaadin 6.8.15.
When double clicking on the table the underlying BeanItem is passed to a form that shows the fields.
I am extending the form since I need to override the createField method because some fields have to render as combos some other as TextArea.
What is happening is the following :
- if the TextArea already contains data then is editable otherwise it is not
- all combo items render as if they were read-only, not matter what I pass the .setReadOnly method
- if, instead of a combo box, I use a NativeList then the component is rendered correctly but is I cannot edit the data no matter what value is inside the component
- the DateField doesn’t render correctly
I have already tried the following, without success:
- change the liferay theme of the page
- enabled the form (setEnable(true))
- navigated the fields in the form and manually set bot setEnable(true) and setReadOnly(false)
Any help would really be appreciated.
Thanks
Marco