Template and Themes for JSF / Primefaces

3

I would like to ask a question and I believe it is very simple. There are a wide variety of templates for AngularJS, WordPress and etc. In the same site as Primefaces, there are themes such as Modena, Sentinel, Spark and others.

I was searching some "Admin Template" style templates and found some in HTML on the ThemeForest site with great design. With this I came up with a question, can you use any of these templates and integrate with JSF / Primefaces?

    
asked by anonymous 20.08.2015 / 02:04

3 answers

1

With JSF in newer versions the answer is yes , but with a few butches. With PrimeFaces, which is a specialization of JSF with specific themes, the thing becomes even more complicated.

Only with JSF you can take advantage of a different theme, but will have a great job to merge the theme with the peculiarities of JSF.

PrimeFaces will be even more complicated because you would need to create a new theme for the PF, which is not trivial.

JSF may be flexible to accept HTML5, but then you lose all those features that would already be ready to use.

If the interface is essential to your application, I suggest using a more flexible technology that is independent of the front end as some action based framework.

>

If practicality is more important, I suggest simply using some standard PrimeFaces theme.

    
31.08.2015 / 04:48
1

You can use HTML (5) Friendly Markup .

It is basically the insertion of JSF attributes into normal HTML tags or HTML attributes into JSF tags.

See a link to more details:

  

link

    
28.08.2015 / 23:02
1
  

... you can use any of these templates and integrate with   JSF / Primefaces?

Yes, take a look at the AdminFaces project that integrates Primefaces with the bootstrap and AdminLTE template.

Here's a link to the sample showcase: link

    
24.01.2017 / 16:38