New Liferay Faces release - The alloy:accordion component

Company Blogs 14 avril 2015 Par Vernon Singleton Staff

Continuing in the spirit of Juan Gonzalez’s excitement over the new portal components, let me introduce a new Liferay Faces Alloy component which will be included in the the upcoming GA release.  Following the example set by our friends on the AlloyUI team, we packaged their toggler as a  JSF component.  


Q: What advantages does JSF bring to the table?

A: All the power you would expect from the Java EE standard webapp UI framework.


AlloyUI Toggler + JSF Liferay Faces alloy:accordion

 
 

features added using JSF:

  • renders your menu from a collection, providing developers with the ability to iterate over a data model via the standard “value” and “var” attributes.

  • usage of @ResourceDependency support from JSF 2.

  • Broadcasts the tabExpanded and tabCollapsed server-side events when the users selects a tab.


features brought to the table by AlloyUI:

  • Beautiful easing animation!


features brought to you by the Liferay Faces team:

  • auto-detects Liferay and uses its bootstrap css … your portlet looks like an out of the box portlet.

  • all of the Liferay Faces Alloy components work outside of Liferay in a plain webapp.


For more information, take a look at the Liferay Faces Showcase, or visit our documentation.  Enjoy using Liferay Faces Alloy!

 

New features

General Blogs 19 février 2014 Par Vernon Singleton Staff

Whew!   A new release of Liferay Faces is out the door for you to use.

But I also wanted to mention some cool new features that the gurus of Liferay Faces have been working on.   These new features can be gleaned from the parent pom in the master branch, so let's take a look:

First
<faces.spec.version>2.2</faces.spec.version>
<mojarra.version>2.2.5</mojarra.version>

What does this mean?

1) HTML5 support
2) Resource Library Contracts (a toned down Multi-Templating)
3) Faces Flows
4) Stateless views

and two new demos to show off some of these features

1) jsf2-html5-portlet
2) jsf2-flows-portlet

Second
<primefaces4.version>4.0</primefaces4.version>

What does this mean?

a new primefaces4-portlet demo

Finally
<liferay.version>6.2.0-ga1</liferay.version>
<liferay.deploy.version>6.2.10.1-ga1</liferay.deploy.version>

What does this mean?

This means that all of these portlets and features above are currently being tested on the newest versions Liferay Portal (6.2.0-ga1 and the Enterprise Edition 6.2.10.1-ga1)

You can try these new demo portlets and features for yourself by building Liferay Faces From Source.

Also, if you are new to Liferay, or if you learn by doing, try one of these two new tutorials to get a feel for using Liferay Faces.

1) PrimeFaces Portlet Tutorial
2) Generate a portlet using maven

Enjoy.

 

 

Liferay Faces 3.1.3-ga4 Released

General Blogs 7 septembre 2013 Par Vernon Singleton Staff

This release was about doing lots of hard work to get things that are just nice to have.  Or rather, lots of hard work to get things to the point that you do not have to have them anymore, like zero configuration of those silly listeners we always had to declare in the bottom of every web.xml whenever we wanted to simply publish a new portlet.

 
But yet this release was also more great icing on the cake that we did not expect to get done.  Indeed, some things that many developers do not expect to get done ... like Documentation.
 
Near and dear to many developers is that special kind of documentation that is complete, thorough, and even readable to the point that it looks like it was painful to create, but then on closer inspection, you see that it is complete because it was more automated than painful.
 
And then, you realize that you may benefit from this documentation even more than when you were simply thinking of it as a reference, because now you see that the tool they used to automate their documentation is useful on your current faces apps.  You too can get that same bling that your project desperately needs.
 
Yes, that's what I am talking about: useful documentation, and useful tools for making documentation.  Take a look at the View Decoration Language tool Vdldoc.
 
Originally forked and recently updated by this fellow who has some ridiculous reputation over on stackoverflow.
 
Vdldoc has now been enhanced to support composite as well as custom components. This helped our project publish complete vdldocs here.
 
It was great fun to work on a tool like Vdldoc that will help many developers whether they use Liferay or not.
 
If you still need to know more about this release, get some here.
 
 

CDI for portlets is here

General Blogs 4 juin 2013 Par Vernon Singleton Staff

Yay!

 
For those of you egg heads who have been wondering where the support for Context and Dependency Injection is, well this is your day.  Liferay now has support for your favorite annotations like: @Named and @Inject.
 
Cruise over to the demos page and checkout the new jsf2-cdi-portlet:
http://www.liferay.com/community/liferay-projects/liferay-faces/demos#jsf2-cdi-portlet
 
My buddy Neil Griffin also wrote a new wiki article for you How to develop Liferay portlets with CDI:
http://www.liferay.com/community/wiki/-/wiki/Main/Developing+JSF+Portlets+with+CDI
 
Enjoy.
 
Affichage de 4 résultat(s).