Skip to content

Commit 1458592

Browse files
Add yet another thing to document in dynamic element description
1 parent 102eed5 commit 1458592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ng-appserver/src/main/java/ng/appserver/templating/NGDynamicElementDescription.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* FIXME: Allow marking a binding as deprecated (including an explanation/docs, e.g, what bindings to use instead)
3737
* FIXME: Default values for bindings (i.e. what it defaults to if the binding is not bound)
3838
* FIXME: Specify binding directionality, i.e. if they pull/push or both.
39+
* FIXME: Speciy whether an element allows "additional attributes", and what happens to them. I.e. in the case of a <wo:img />, additional attributes get pushed to the tag. In some cases, we also might want to specify that additional bindings are illegal (or at least discouraged, if they're not documented)
3940
* FIXME: Specify types allowed to be passed to a binding
4041
* FIXME: And if an element pushes values, _what_ do they push. An element might accept a variety of types for a binding but always push back a single type (e.g. a textfield will take whatever and use whatever.toString() - but always push back a String (well, unless you use a formatter, which is an entire different story)
4142
* FIXME: Support "sets" of valid values that can be passed to a binding, i.e, a list of values, the legal values of a certain enum etc.

0 commit comments

Comments
 (0)