[
https://issues.apache.org/jira/browse/OFBIZ-11409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Yong updated OFBIZ-11409:
-------------------------------
Description:
Proof of concept for Model–view–viewmodel (MVVM) in form widgets.
Added data-bind attribute to the field, form and grid tag.
Example 1:
Go to [https://localhost:8443/humanres/control/NewEmployee] and try the
following field:
# First name
# Middle name
# Last name
Added Full Name field to demonstrate computed observable/property.
Example 2:
Page at
[https://localhost:8443/ordermgr/control/ListQuoteItemsDemo?quoteId=CQ0001]
duplicated the functionality of Quote Items page, but done using data-binding
way.
mbrohl: here is a link to the discussion on the dev mailing list:
[https://lists.apache.org/thread.html/r1cddbc8041e5a6559bfad979bc8570581a3d1f662a0f8692c7ee9e59%40%3Cdev.ofbiz.apache.org%3E]
was:
Proof of concept for Model–view–viewmodel (MVVM) in form widgets.
Added data-bind attribute to the field tag.
Only implemented for Text field.
Go to [https://localhost:8443/humanres/control/NewEmployee] to try the
following field:
# First name
# Middle name
# Last name
Added Full Name field at the bottom to demonstrate computed property.
mbrohl: here is a link to the discussion on the dev mailing list:
https://lists.apache.org/thread.html/r1cddbc8041e5a6559bfad979bc8570581a3d1f662a0f8692c7ee9e59%40%3Cdev.ofbiz.apache.org%3E
> POC for Dynamic Screen Using MVVM
> ---------------------------------
>
> Key: OFBIZ-11409
> URL: https://issues.apache.org/jira/browse/OFBIZ-11409
> Project: OFBiz
> Issue Type: Improvement
> Components: base
> Affects Versions: Trunk
> Reporter: James Yong
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-11409.patch, OFBIZ-11409.patch, OFBIZ-11409.patch
>
>
> Proof of concept for Model–view–viewmodel (MVVM) in form widgets.
> Added data-bind attribute to the field, form and grid tag.
> Example 1:
> Go to [https://localhost:8443/humanres/control/NewEmployee] and try the
> following field:
> # First name
> # Middle name
> # Last name
> Added Full Name field to demonstrate computed observable/property.
> Example 2:
> Page at
> [https://localhost:8443/ordermgr/control/ListQuoteItemsDemo?quoteId=CQ0001]
> duplicated the functionality of Quote Items page, but done using data-binding
> way.
> mbrohl: here is a link to the discussion on the dev mailing list:
> [https://lists.apache.org/thread.html/r1cddbc8041e5a6559bfad979bc8570581a3d1f662a0f8692c7ee9e59%40%3Cdev.ofbiz.apache.org%3E]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)