掲示板

Portlet compatible version of Omnifaces

thumbnail
7年前 に Jan Eerdekens によって更新されました。

Portlet compatible version of Omnifaces

New Member 投稿: 11 参加年月日: 08/08/01 最新の投稿
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
7年前 に Koen Olaerts によって更新されました。

RE: Portlet compatible version of Omnifaces

New Member 投稿: 19 参加年月日: 10/12/21 最新の投稿
It would definitely be a great addition!
thumbnail
7年前 に Juan Gonzalez によって更新されました。

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.
7年前 に Marcus Geißler によって更新されました。

RE: Portlet compatible version of Omnifaces

New Member 投稿: 1 参加年月日: 16/07/01 最新の投稿
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.