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

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

My opinion on this: 

1. the search parameters form should start out expanded
2. the results form should start out empty, ie there should not be an initial 
query in place

The reason for this is pretty simple: the only reason to have a lookup window 
is because there will likely be a lot of results, too many for the alternative 
of a simpler drop down field. In the case when we know there will be lots of 
results we don't want to just show results with no constraints, unless the user 
explicitly submits the parameters form with no constraints to request it. That 
is the point of the parameter/field to not do a search with no 
parameters/constraints.

> Using collapsable screenlet in Lookups
> --------------------------------------
>
>                 Key: OFBIZ-1841
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1841
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Bruno Busco
>            Assignee: Adrian Crum
>         Attachments: callapsable-lookupdecorator.patch, 
> order-newlookup.patch, party-newlookup.patch, product-newlookup.patch
>
>
> In the attached patch a new CollapsableLookupDecorator has been defined.
> With this decorator the lookup pops up with the search section collapsed and 
> with the elements list not filtered.
> The following lookups have been changed to use this new decorator:
> LookupProduct, LookupProductAndPrice, LookupProductCategory, 
> LookupProductFeature, LookupProductStore.
> If everybody is fine with the CollapsableLookupDecorator I will try to change 
> the other lookups also.

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

Reply via email to