[
https://issues.apache.org/jira/browse/OFBIZ-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sascha Rodekamp updated OFBIZ-3964:
-----------------------------------
Attachment: OFBIZ-3964_uiLabelFromJsCode_POC.patch
Hi,
here is a POC for solving the label issue in js files.
The Idea is to have a method which takes a JSON Object with uiLabel Resources and label entries and returns the resolved labels in a JSON Object which can be used directly in the JS Code.
The advantage of this way, is that we have only one Ajax request which reads all labels. The alternative is an ajax request for each label, which simplify the request (because you haven't to create a complex JSON Object) but is very expansive.
What do you think of this idea, maybe some can have a quick look to the code. But as i said it's just a POC to see that this work. For testing i changed modified the party uploading formula.
Have a good day
Cheers
Sascha
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.