[jira] [Commented] (OFBIZ-8048) Show "Any", where allow-empty is set true in Find Screens.

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

[jira] [Commented] (OFBIZ-8048) Show "Any", where allow-empty is set true in Find Screens.

Nicolas Malin (Jira)

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

Deepak Dixit commented on OFBIZ-8048:
-------------------------------------

I think empty option make more sense to me. As Any option looks good for find screen but apart from find screen it does not make sense as business logic may be different for empty values.

> Show "Any", where allow-empty is set true in Find Screens.
> ----------------------------------------------------------
>
>                 Key: OFBIZ-8048
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8048
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Renuka Srishti
>            Assignee: Renuka Srishti
>
> At some places in drop-down it shows empty title (generated through form widget) and at some places it shows "Any" (in ftl).So need to make them consistent.
> We can either enhance form widget render to show "Any" while rendering drop-down where allow-empty is set to true or we can change drop-down  option from "Any" to empty in freemarker files.
> My preference is to use empty instead of "Any". "Any" make sense on find screen but on create/update form it does not make sense. So its good idea if we use empty as generic solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)