[
https://issues.apache.org/jira/browse/OFBIZ-4750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235509#comment-13235509
]
Hans Bakker commented on OFBIZ-4750:
------------------------------------
sounds very food....however, please note only categories are loaded which have
at least a relation to one product OR a lower level category has at least a
single product......
Then you proposal gets difficult to implement?
Regards,
Hans
> ProductCategories.groovy loads the full Category-Tree
> -----------------------------------------------------
>
> Key: OFBIZ-4750
> URL: https://issues.apache.org/jira/browse/OFBIZ-4750
> Project: OFBiz
> Issue Type: Improvement
> Components: specialpurpose/ecommerce
> Affects Versions: SVN trunk
> Reporter: Markus M. May
> Priority: Minor
>
> For the leftbar-screen in the ecommerce application the
> ProductCategories.groovy loads the full category tree. This is nice as long
> as the data records are beneath a certain amount. Also currently the "center"
> of the main decorator is loaded via AJAX.
> This is in principle a valid solution, but IMHO the ecommerce application is
> a showcase, where we should think slightly more about the design.
> I would suggest the following:
> Load only the first category-level via the ProductCategories.groovy and
> reload a certain branch of the category-tree via ajax. This would speed up
> the load process and enables users of ofbiz to not use the projectlist reload
> via ajax, which is impossible due to changes in the leftbar during the
> navigation in the category-tree.
> What do you think?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira