Page 1 of 2

Different templates

Posted: Tue Aug 02, 2011 1:02 pm
by karthikguru
Hi are there any different templates available for the front end store. :?: Also I'm not able to find any documents related to template customization. :( Can anyone help me out wit this ?

Re: Different templates

Posted: Tue Aug 02, 2011 1:15 pm
by jefffischer
The short answer is there are no user interface templates included with Broadleaf Commerce and creating the presentation layer for each Broadleaf Commerce implementation is a custom creative endeavor.

Broadleaf Commerce is a cart engine framework. As such, we primarily focus on the backend actions related to the shopping experience. We are agnostic to the presentation layer approach used to call this engine. As a result, the user experience portion of the shopping experience is left to each individual Broadleaf Commerce implementer. The presentation layer could take form using any common approach (i.e. Grails, JSF, Spring MVC, etc...) Because we don't limit Broadleaf Commerce to a specific presentation layer approach, we also don't include a template mechanism. We do however, offer several pre-made controllers for use with Spring MVC, if desired (these were used to fashion the coffee store demo).

We are currently evaluating including an optional template-based presentation layer approach in a future release for those users that don't mind some of the constraints.

Re: Different templates

Posted: Wed Aug 03, 2011 4:17 am
by karthikguru
Thanks for the immediate reply. But do you have any documentation on how to customize the existing the demo store ?

Re: Different templates

Posted: Wed Aug 03, 2011 9:36 am
by jefffischer
I assume when you say customize that you're referring to customizing the presentation layer of the demo. We don't have documentation regarding this type of task. However, the demo was built using Spring MVC, tiles and JSTL. If you are already familiar with these technologies, then tweaking the demo should be relatively straightforward. If not, you can familiarize yourself with these technologies on their respective documentation sites.

Re: Different templates

Posted: Wed Aug 03, 2011 9:39 am
by jefffischer
FYI - if you haven't visited the documentation site for Broadleaf Commerce already, all the documentation we currently have is available at:

http://www.broadleafcommerce.org/conflu ... BLC15/Home

Re: Different templates

Posted: Sun Aug 07, 2011 3:13 am
by karthikguru
Can i get the template model done for "TheContainerstore.com" ?

Re: Different templates

Posted: Wed Nov 23, 2011 4:46 pm
by karim.hj
jefffischer wrote:The short answer is there are no user interface templates included with Broadleaf Commerce and creating the presentation layer for each Broadleaf Commerce implementation is a custom creative endeavor.

Broadleaf Commerce is a cart engine framework. As such, we primarily focus on the backend actions related to the shopping experience. We are agnostic to the presentation layer approach used to call this engine. As a result, the user experience portion of the shopping experience is left to each individual Broadleaf Commerce implementer. The presentation layer could take form using any common approach (i.e. Grails, JSF, Spring MVC, etc...) Because we don't limit Broadleaf Commerce to a specific presentation layer approach, we also don't include a template mechanism. We do however, offer several pre-made controllers for use with Spring MVC, if desired (these were used to fashion the coffee store demo).

We are currently evaluating including an optional template-based presentation layer approach in a future release for those users that don't mind some of the constraints.


Are you sure we can use jsptaglibs you provide (broadleafdemo.tld, blc_cms_taglib) inside a JSF (.xhtml) page ? The JSF servlet (javax.faces.webapp.FacesServlet) cannot handle these jsp taglibs. Maybe I am wrong or missing something but it appears to me I have to use jsp pages...and renounce my jsf.

(in broadleafdemo.tld there is no <uri> element )

Re: Different templates

Posted: Wed Nov 23, 2011 8:45 pm
by jefffischer
You are correct. The packaged taglibs would only be helpful to project that utilize presentation layer technologies that are compatible. The controllers, taglibs, etc.. that we have are samples of one possible approach, but of course, you are free to use a different display technology altogether. As long as you can get a message into a Spring environment at some point in the application flow, then Broadleaf will work.