Hi Isomorphic,
thanks a lot, just the information I needed.
I think that this would be a valuable addition to the linked docs as well.
Best regards
Blama
Announcement
Collapse
No announcement yet.
X
-
All attributes are copied except those that don't apply, such as primaryKey/foreignKey, or validators/required (since includeFrom fields are not editable. So you don't have to reiterate any of the properties you mention.
Leave a comment:
-
.ds.xml-DataSourceField includeFrom copied attribute explanation
Hi Isomorphic,
could you explain if DataSourceField.includeFrom implies anything else than written in the docs?
Are attributes of the targeted field also copied? I know for example that you exclude validators from being copied, so I assume, some attributes must be copied.
I find myself in a situation were I use many includeFrom-fields and always copy attributes like type, length, escapeHtml (and others, but mainly these).
It is annoying to always have keep the length attributes in sync and to always repeat oneselfes.
Thank you & Best regards
Blama
Tags: None
Leave a comment: