Nico Klasens wrote:
> Guess, this only not true for the owner field, but that is already
> handled by BasicNode.java.
>
> public void setValueWithoutProcess(String fieldName, Object value) {
> edit(ACTION_EDIT);
> if (MMObjectBuilder.FIELD_OWNER.equals(fieldName)) {
> setContext(Casting.toString(value));
> return;
> }
Yes, I added this, just to make a complete generic check on
'system' possible, and not needing a special case in editors/taglib any
more.
This is actually a minor sabotage of the 'context' property, but well..
>
> if (isVirtual()) return false;
> if (isSystem()) {
> return getDataType().isModifiable();
> }
> return true;
Well, in that case I would rather make the system and modifiable
properties completely independent. Perhaps only the default value of
modifyibility being based on systemness. But if one explicitely defines a
non-modifiable non-system field, it must be that!
Michiel
--
Michiel Meeuwissen mihxil'
Peperbus 111 MediaPark H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers