ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taher Alkhateeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10224) Add a way to add a specific condition to performFind service
Date Sun, 18 Feb 2018 11:37:00 GMT

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

Taher Alkhateeb commented on OFBIZ-10224:
-----------------------------------------

Hi Gil,

As usual my brain automatically tries to go for a generic solution. This solution seems to
specific.

So perhaps one generic solution is to convert this andCondition to a "List", and instead of
pulling it from the inputFields, you instead trigger a service / script or something along
these lines to augment your search criteria.

This has the flexibility of adding as much complexity as you want while at the same time being
able to inject this complexity directly to the form you're targeting. WDYT?

> Add a way to add a specific condition to performFind service
> ------------------------------------------------------------
>
>                 Key: OFBIZ-10224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10224
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Gil Portenseigne
>            Assignee: Gil Portenseigne
>            Priority: Minor
>         Attachments: OFBIZ-10224.patch
>
>
> Add andCondition optional hidden parameter within inputFields performFind parameter map.
> If present this condition will be added to default widget condition
> Add a unit test in PerformFindTests



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message