Where is the blc tag lib documentation?
Posted: Mon Oct 21, 2013 4:30 am
by jayhuang
Hi,
Is there a documentation for the framework tag lib, etc.<blc:categories>?
Thanks
Re: Where is the blc tag lib documentation?
Posted: Sun Dec 01, 2013 12:35 am
by bpolster
Admittedly, this is an area that has not been documented well and I've added it to our documentation backlog.
Instead of "TagLib", Thymeleaf uses a similar concept called "Processors". Broadleaf provides a number of these out of the box.
The classes are fairly easy to understand and the source should go along way to helping you out with them ...
The "categories" processor you mentioned is located here:
org.broadleafcommerce.core.web.processor.CategoriesProcessor
Other commonly used processors have been definitions located in the following applicationContext files:
/broadleaf-framework-web/src/main/resources/bl-framework-web-applicationContext.xml
/broadleaf-contentmanagement-module/src/main/resources/bl-cms-contentClient-applicationContext.xml
Re: Where is the blc tag lib documentation?
Posted: Thu Dec 05, 2013 8:51 pm
by phillipuniverse
Somebody in the Thymeleaf community has already made a good attempt at standardizing this via an Eclipse plugin:
https://github.com/thymeleaf/thymeleaf- ... ur-dialect. We should really just write docs in this XML way, very similar to how a taglib would work.
Added a feature issue for it at
https://github.com/BroadleafCommerce/Br ... issues/581.