留言板

Portlet compatible version of Omnifaces

thumbnail
Jan Eerdekens,修改在7 年前。

Portlet compatible version of Omnifaces

New Member 帖子: 11 加入日期: 08-8-1 最近的帖子
During Neil Griffin's 2nd talk at this year's Liferay Devcon in Darmstadt a question came up about what Liferay's plans are for support for the Omnifaces library: http://omnifaces.org/. Contrary to Primefaces/Richfaces/etc... Omnifaces isn't a graphical component library, but a utility library for JSF 2 that focusses on utilities that ease everyday tasks with the standard JSF API. It is a very good and useful library, but as a lot of JSF portlet developers will have discovered (and as is stated explicitly on the Omnifaces site) it sadly isn't compatible for use in portlets.

Personally we've been already successful in pulling out a few specific parts, such as the CacheControlFilter, ListConverter and ListIndexConverter, but a straightforward fork and quick & dirty conversion of the showcase to a portlet wasn't successful (yet).

This thread, at the request of Neil, is to see how many other JSF portlet developers are out there that would like to see a partially or fully compatible version of Omnifaces happen. Let us know that you're out there, what parts of Omnifaces you want/need or maybe are already using in JSF portlets.

If there are enough people out there that have a use for this we could try to get this done together with the wonderful Liferay Faces team! So let's get a discussion started and see where it takes us.
thumbnail
Koen Olaerts,修改在7 年前。

RE: Portlet compatible version of Omnifaces

New Member 帖子: 19 加入日期: 10-12-21 最近的帖子
It would definitely be a great addition!
thumbnail
Juan Gonzalez,修改在7 年前。

RE: Portlet compatible version of Omnifaces

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi Jan. Thanks for your input.

In order to have some sort of organization, it would be great that everyone writing here tells which exactly issues they are finding with Omnifaces, with some very simple steps to reproduce, or at least some snippet. That way we (Liferay Faces team) can make some tests in advance and maybe estimate where the issue comes from (Liferay Faces or Omnifaces) and how long would it take to fix it.

Thanks very much for your cooperation.
Marcus Geißler,修改在7 年前。

RE: Portlet compatible version of Omnifaces

New Member 发布: 1 加入日期: 16-7-1 最近的帖子
I can only second that. OmniFaces looks like a great utility library which I have never been able to use.

@Juan I cannot provide an example right now, but there are e.g. some ClassCastExceptions when it comes to the ServletContext (if I remember correctly). We got those when we tried to use http://showcase.omnifaces.org/validators/validateBean, which should be easy to test in any JSF portlet using bean validation.