Skip to content

Commit

Permalink
RW: Disabled assignmentPolicyRef in schemaHandling.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Jun 10, 2016
1 parent 2433eed commit 6c8413c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
Expand Up @@ -165,15 +165,15 @@ <h3 class="box-title"><span wicket:id="editorName"></span></h3>
<div wicket:id="editorAssociations" />
</dl>

<dl class="dl-horizontal">
<dt>
<label><wicket:message key="SchemaHandlingStep.label.assignmentPolicyRef" /></label>
<i wicket:id="assignmentPolicyRefTooltip" wicket:message="title:SchemaHandlingStep.tooltip.assignmentPolicyRef"/>
</dt>
<dd>
<select wicket:id="editorAssignmentPolicyRef" class="form-control input-sm"></select>
</dd>
</dl>
<!--<dl class="dl-horizontal">-->
<!--<dt>-->
<!--<label><wicket:message key="SchemaHandlingStep.label.assignmentPolicyRef" /></label>-->
<!--<i wicket:id="assignmentPolicyRefTooltip" wicket:message="title:SchemaHandlingStep.tooltip.assignmentPolicyRef"/>-->
<!--</dt>-->
<!--<dd>-->
<!--<select wicket:id="editorAssignmentPolicyRef" class="form-control input-sm"></select>-->
<!--</dd>-->
<!--</dl>-->

<!-- Iteration and Protected -->
<div class="row">
Expand Down
Expand Up @@ -495,13 +495,13 @@ protected void performRemoveValueHook(AjaxRequestTarget target, ListItem<Resourc
editorAssociations.setOutputMarkupId(true);
editor.add(editorAssociations);

DropDownChoice editorAssignmentPolicyRef = new DropDownChoice<>(ID_EDITOR_ASSIGNMENT_POLICY,
new PropertyModel<AssignmentPolicyEnforcementType>(schemaHandlingDtoModel,
getExpression(ResourceObjectTypeDefinitionType.F_ASSIGNMENT_POLICY_ENFORCEMENT)),
WebComponentUtil.createReadonlyModelFromEnum(AssignmentPolicyEnforcementType.class),
new EnumChoiceRenderer<AssignmentPolicyEnforcementType>(this));
parentPage.addEditingEnabledBehavior(editorAssignmentPolicyRef);
editor.add(editorAssignmentPolicyRef);
// DropDownChoice editorAssignmentPolicyRef = new DropDownChoice<>(ID_EDITOR_ASSIGNMENT_POLICY,
// new PropertyModel<AssignmentPolicyEnforcementType>(schemaHandlingDtoModel,
// getExpression(ResourceObjectTypeDefinitionType.F_ASSIGNMENT_POLICY_ENFORCEMENT)),
// WebComponentUtil.createReadonlyModelFromEnum(AssignmentPolicyEnforcementType.class),
// new EnumChoiceRenderer<AssignmentPolicyEnforcementType>(this));
// parentPage.addEditingEnabledBehavior(editorAssignmentPolicyRef);
// editor.add(editorAssignmentPolicyRef);

AjaxSubmitLink editorIteration = new AjaxSubmitLink(ID_EDITOR_BUTTON_ITERATION) {

Expand Down
Expand Up @@ -3526,7 +3526,13 @@
</xsd:element>
<xsd:element name="dependency" type="tns:ResourceObjectTypeDependencyType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="association" type="tns:ResourceObjectAssociationType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="assignmentPolicyEnforcement" type="tns:AssignmentPolicyEnforcementType" minOccurs="0"/>
<xsd:element name="assignmentPolicyEnforcement" type="tns:AssignmentPolicyEnforcementType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Currently not implemented.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="volatility" type="tns:ResourceObjectVolatilityType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Expand Down

0 comments on commit 6c8413c

Please sign in to comment.