[jira] [Commented] (OFBIZ-9258) Render form values from pulled data

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9258) Render form values from pulled data

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933098#comment-15933098 ]

James Yong commented on OFBIZ-9258:
-----------------------------------

Sometimes a form can display the row ID in a few locations e.g. in header & at start of the form. To make it simplier to update the form from the pull data, we can have a model (javascript object) and implementing 2-way binding between inputs and model. The data, pulled from the server, will be pushed into the model which will in-turn update the form. When the user updates the form, the model will also be changed.

Also proposing using VueJS for the 2-way binding.
VueJS supports computed properties. More info at https://vuejs.org/v2/guide/computed.html

What do you think?

> Render form values from pulled data
> -----------------------------------
>
>                 Key: OFBIZ-9258
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9258
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Upcoming Release
>            Reporter: James Yong
>            Assignee: James Yong
>            Priority: Minor
>         Attachments: OFBIZ-9258.patch
>
>
> Currently, form data is being rendered together with the form widgets. To better facilitate the use of Single Page or Mobile Application in the future, it would be better to let the form widgets pull data from the server instead.
> An initial discussion was made at http://ofbiz.135035.n4.nabble.com/Render-table-rows-from-pulled-data-td4703142.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)