You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/01/25 15:40:47 UTC
[23/50] [abbrv] isis git commit: ISIS-993: remove the 'first-field'
class appender, since doesn't seem to be used
ISIS-993: remove the 'first-field' class appender, since doesn't seem to be used
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/f9f43c29
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/f9f43c29
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/f9f43c29
Branch: refs/heads/ISIS-993
Commit: f9f43c29685c6bc8d7c26c7331f75bcd2b5faf54
Parents: d41f2d1
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Sun Jan 10 14:17:02 2016 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Mon Jan 25 14:38:24 2016 +0000
----------------------------------------------------------------------
.../entity/properties/EntityPropertiesForm.java | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/f9f43c29/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/properties/EntityPropertiesForm.java
----------------------------------------------------------------------
diff --git a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/properties/EntityPropertiesForm.java b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/properties/EntityPropertiesForm.java
index ea35848..02230e9 100644
--- a/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/properties/EntityPropertiesForm.java
+++ b/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/entity/properties/EntityPropertiesForm.java
@@ -128,7 +128,6 @@ public class EntityPropertiesForm extends FormAbstract<ObjectAdapter> implements
private NotificationPanel feedback;
- private boolean renderedFirstField;
public EntityPropertiesForm(
final String id,
@@ -167,8 +166,6 @@ public class EntityPropertiesForm extends FormAbstract<ObjectAdapter> implements
columnSpans = memberGroupLayoutFacet.getColumnSpans();
}
- renderedFirstField = false;
-
// left column
// (unlike middle and right columns, the left column is always added to hold the edit buttons and feedback)
MarkupContainer leftColumn = new WebMarkupContainer(ID_LEFT_COLUMN);
@@ -263,7 +260,8 @@ public class EntityPropertiesForm extends FormAbstract<ObjectAdapter> implements
private void addPropertiesAndCollections(
final MarkupContainer middleColumn,
final EntityModel entityModel,
- final Tab tabMetaDataIfAny, final Hint hint) {
+ final Tab tabMetaDataIfAny,
+ final Hint hint) {
final Column columnMetaDataIfAny = hint.from(tabMetaDataIfAny);
final EntityModel entityModelWithHints =
@@ -367,11 +365,6 @@ public class EntityPropertiesForm extends FormAbstract<ObjectAdapter> implements
otoa, getDeploymentType());
entityActions.addAll(EntityActionUtil.asLinkAndLabelsForAdditionalLinksPanel(entityModel, associatedActions));
-
- if(!renderedFirstField) {
- component.add(new CssClassAppender("first-field"));
- renderedFirstField = true;
- }
}
@Override