[jira] Created: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

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

[jira] Created: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

Nicolas Malin (Jira)
Add ability to specify format template in UtilFormatOut.formatQuantity()
------------------------------------------------------------------------

                 Key: OFBIZ-783
                 URL: https://issues.apache.org/jira/browse/OFBIZ-783
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: framework
            Reporter: Adrian Crum
            Priority: Minor


Existing implementation has a hard-coded format template. Need a way to specify format template.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum updated OFBIZ-783:
------------------------------

    Attachment: UtilFormatOut.patch

Attached patch adds ability to specify format template.

> Add ability to specify format template in UtilFormatOut.formatQuantity()
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-783
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-783
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilFormatOut.patch
>
>
> Existing implementation has a hard-coded format template. Need a way to specify format template.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

David E. Jones commented on OFBIZ-783:
--------------------------------------

Isn't it easier to just call the format method on the object? This new method actually makes the calling code bigger... not by much, but it strikes me that way...

> Add ability to specify format template in UtilFormatOut.formatQuantity()
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-783
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-783
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilFormatOut.patch
>
>
> Existing implementation has a hard-coded format template. Need a way to specify format template.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adrian Crum commented on OFBIZ-783:
-----------------------------------

You are absolutely right. Sorry to waste your time. This issue can be closed.

> Add ability to specify format template in UtilFormatOut.formatQuantity()
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-783
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-783
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: UtilFormatOut.patch
>
>
> Existing implementation has a hard-coded format template. Need a way to specify format template.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-783) Add ability to specify format template in UtilFormatOut.formatQuantity()

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-783.
---------------------------------

    Resolution: Won't Fix
      Assignee: Jacques Le Roux

> Add ability to specify format template in UtilFormatOut.formatQuantity()
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-783
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-783
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>         Attachments: UtilFormatOut.patch
>
>
> Existing implementation has a hard-coded format template. Need a way to specify format template.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.