[MGNLUI-4911] As a dev I want to be able to layout forms/editors in arbitrary way Created: 14/May/18 Updated: 10/Mar/21 Resolved: 01/May/19 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Antti Hietala | Assignee: | Andrei Ichimescu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | v8-wishlist | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 10d 2h 17m | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Epic Link: | Declarative layout | ||||||||||||||||||||||||
| Sprint: | Foundation 8, Foundation 9 | ||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||
| Description |
|
Carried over from DEV-945:
|
| Comments |
| Comment by Saimir Gasa [ 30/Aug/18 ] |
|
Team sees issue as not necessary for 6.0 release. |
| Comment by Roman Kovařík [ 26/Apr/19 ] |
|
QA: If test test it right, it's not possible to bind non magnolia fields (read or write values, adding fields works).
We should either not support those fields or rather bind those as well, right? |
| Comment by Andrei Ichimescu [ 26/Apr/19 ] |
|
According to the vaadin documentation, the binding works hand in hand with a @DesignRoot class, that maps the _id attribute to a property (e.g.: email) defined in the DesignRoot class. For the binding we need to call Design.read(InputStream stream, Component rootComponent), and vaadin relies on reflection to do the binding. Since the magnolia framework is in charge of producing the layout, and an instance of the DesignRoot class (created by the developer) named rootComponent is needed in the LayoutProducer.createLayout interface, so matching the 2 of them together looks like quite an effort. |
| Comment by Roman Kovařík [ 02/May/19 ] |
|
For the record: we've implemented binding also for non magnolia fields. Since those have no field definition, it behaves as i18n=false. |