svn changeset:2939/svn branch:trunk
// Visibility
boolean visible = !uidl.getBooleanAttribute("invisible");
component.setVisible(visible);
+ // Set captions
+ if (manageCaption) {
+ Container parent = getParentLayout(component);
+ if (parent != null) {
+ parent.updateCaption((Paintable) component, uidl);
+ }
+ }
+
if (!visible) {
return true;
}
}
}
- // Set captions
- // TODO Manage Error messages
- if (manageCaption) {
- Container parent = getParentLayout(component);
- if (parent != null) {
- parent.updateCaption((Paintable) component, uidl);
- }
- }
-
// Styles + disabled & readonly
component.setStyleName(component.getStylePrimaryName());