add memberAsset
This commit is contained in:
parent
c826fc5170
commit
277d9f3399
@ -55,6 +55,11 @@ public class GenericEditorFactory implements IEditorFactory, Serializable {
|
|||||||
return getMemberShareActionEditor(action, propertyInfo, session, whereContext);
|
return getMemberShareActionEditor(action, propertyInfo, session, whereContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ("memberAsset".equals(module)) {
|
||||||
|
if ("action".equals(inputName)) {
|
||||||
|
return getMemberAssetActionEditor(action, propertyInfo, session, whereContext);
|
||||||
|
}
|
||||||
|
}
|
||||||
return getEditor(action, propertyInfo);
|
return getEditor(action, propertyInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,6 +75,14 @@ public class GenericEditorFactory implements IEditorFactory, Serializable {
|
|||||||
field.setEnabled(isWriteAble(propertyInfo, action));
|
field.setEnabled(isWriteAble(propertyInfo, action));
|
||||||
return field;
|
return field;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private IHSEditor getMemberAssetActionEditor(String action, PropertyInfo propertyInfo, HSAdminSession session, Map<String, String> whereContext) {
|
||||||
|
final String[] items = new String[] { " PAYMENT", "PAYBACK", "ADOPTION", "HANDOVER", "LOSS", "CLEARING", "PRESCRIPTION" };
|
||||||
|
final HSSelect field = new HSSelect(propertyInfo, 0, Arrays.asList(items));
|
||||||
|
field.setWidth("100%");
|
||||||
|
field.setEnabled(isWriteAble(propertyInfo, action));
|
||||||
|
return field;
|
||||||
|
}
|
||||||
|
|
||||||
private IHSEditor getEMailTargetEditor(final String action, final PropertyInfo propertyInfo, final HSAdminSession session, final Map<String, String> whereContext)
|
private IHSEditor getEMailTargetEditor(final String action, final PropertyInfo propertyInfo, final HSAdminSession session, final Map<String, String> whereContext)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user