[
https://issues.apache.org/jira/browse/OFBIZ-9258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907844#comment-15907844 ]
James Yong commented on OFBIZ-9258:
-----------------------------------
Hi [~jacques.le.roux],
Let say you navigate to any form that has values on it.
On the browser address bar, you appended '&pullData=true', and press Enter.
OFBiz will return a form where text input values are initially empty. (I haven't implement for other input type yet.)
The form will ajax-call the same URL (but appended with '&dataOnly'), to fetch the missing data and populate the form.
For testing, you can look at the code at Line 374 of HtmlFormMacroLibrary.ftl, try changing true to false to turn off the populate-form function.
Hope this helps. Thanks.
Regards,
James
> 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)