Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Generate subset of FormItems in DynamicForm with ValuesManager.

    When you have a DynamicForm with DataSource, you can use setUseAllDataSourceFields to generate the items.
    When the form is bound to ValuesManager and you only need to display some of the values (divide them to different forms), is it possible to just pass a list of the field names to a form without generating FormItems by hand?

    #2
    See DataBinding chapter of QuickStart Guide. You can pass just "new FormItem(fieldName)" - you don't have to provide any details but the fieldName, and the appropriate FormItem subclass is still chosen automatically. So this just like passing a list of Strings, except you can intermix overrides wherever you need to.

    Comment

    Working...
    X