diff options
author | Artur Signell <artur@vaadin.com> | 2012-09-14 19:50:24 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-09-18 12:43:24 +0300 |
commit | 2a9e60812575a6a15647d45300c5f279903205d5 (patch) | |
tree | c2242f8b8d601fb0f9a39eb2d6b166ecd2f4d217 /server/src/com/vaadin/data/fieldgroup | |
parent | ef87ac540927bff6db259af8f5af9019d588bbbe (diff) | |
download | vaadin-framework-2a9e60812575a6a15647d45300c5f279903205d5.tar.gz vaadin-framework-2a9e60812575a6a15647d45300c5f279903205d5.zip |
FieldGroup.setReadOnly should propagate to all fields (#9600)
Diffstat (limited to 'server/src/com/vaadin/data/fieldgroup')
-rw-r--r-- | server/src/com/vaadin/data/fieldgroup/FieldGroup.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java index 9fe99610b2..5d0c23e779 100644 --- a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java +++ b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java @@ -209,6 +209,9 @@ public class FieldGroup implements Serializable { */ public void setReadOnly(boolean fieldsReadOnly) { readOnly = fieldsReadOnly; + for (Field<?> field : getFields()) { + field.setReadOnly(fieldsReadOnly); + } } /** |