Questions tagged [omnifaces]

OmniFaces is a library for JSF 2.x that focusses on utilities that ease everyday tasks.

OmniFaces is a library for JSF 2.x that focuses on utilities that ease everyday tasks.

OmniFaces stands out from other JSF libraries like PrimeFaces or RichFaces in the fact that it isn't just about components, but instead it focuses on providing utility classes and functions for working with the JSF and Servlet APIs.

Some of its capabilities include:

Resources

606 questions
5
votes
2 answers

JSF scroll bar at the top of the page

I was wondering how to make the scroll bar of the browser. go to top of page. I am developing a registration screen that is too big, and it contains some fields that are needed. It displayed an error message to the user if the required fields are…
Alfaville
  • 543
  • 7
  • 16
5
votes
2 answers

Validate a group of fields as required when at least one of them is filled

In a basic registration screen (with button register records the screen) there are two panels: Data panel: Address panel: I can register by completing only the Data panel. It is not necessary to fill the Address panel. However, if at least one…
Alfaville
  • 543
  • 7
  • 16
4
votes
1 answer

java.lang.AbstractMethodError: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl does not inherit of abstract javax.xml.parsers.DocumentBuilderFactory

General: OmniFaces / Xercex / Naming-Conflict while Migration of JSF-Web-Projekt (Java and Tomcat) Introduction We started building and enterprise JSF-Application (Eclipse, Maven, CDI (Open-Web-Beans), Omni-Faces, PrimeFaces, ...) in the last…
Luqqu
  • 186
  • 1
  • 9
4
votes
1 answer

The warning of "Unable to save dynamic action with clientId 'j_idX' because the UIComponent cannot be found" occur, with using CombinedResourceHandler

I get the warnings of below once, when I submit and update="@form". 14:03:23,139 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-27) Unable to save dynamic action with clientId 'j_id2' because the UIComponent…
hir0ku
  • 185
  • 7
4
votes
1 answer

Handling a domain exception happened during template evaluation

I'm designing an error page for a particular exception type. xxx.AbstractConfigurableNotFoundException /xxx/page-not-found.xhtml I am using OmniFaces and their…
Andrew Tobilko
  • 48,120
  • 14
  • 91
  • 142
4
votes
0 answers

OmniFaces not destroying ViewScoped bean after closing tab/window

I have a simple jsf app with one Bean. import org.omnifaces.cdi.ViewScoped; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.inject.Named; import java.io.Serializable; @Named @ViewScoped public…
armin momeni
  • 181
  • 2
  • 10
4
votes
2 answers

OmniFaces loading/unloading ViewScopedBean

Trying to narrow in on our issue we are upgrading from Jboss 6 EAP (JSF 2.1) to Jboss 7 EAP (JSF 2.2). Our working application now has an issue with OmniFaces ViewScoped beans. Versions: Mojarra 2.2.14 OminFaces 2.6.9 PrimeFaces 6.2.5 We have a…
Melloware
  • 10,435
  • 2
  • 32
  • 62
4
votes
1 answer

How to display apostrophe ' in faces message added via OmniFaces Messages#add

I am using p:messages for display error no UI in primefaces XHTML page. I want to display String like Employee's. When I am trying to use OmniFaces Messages utility, it is not showing. For more detail look code below. XHTML:
ankush yadav
  • 422
  • 3
  • 13
4
votes
1 answer

Get list all initialized @Named-beans on runtime

I use javax.inject.Named and javax.enterprise.context.*Scoped plus org.omnifaces.cdi.ViewScoped to define the life-scope of my view-beans. Now I want to get a list of all instantiated beans. First, I thought this blog-entry covers this issue, but it…
Rokko_11
  • 837
  • 2
  • 10
  • 24
4
votes
1 answer

o:graphicImage does not change when actual image is deleted or updated in database

I am trying to display a which is stored in a database. I have a . Note: The ID (1) is only for testing. My property looks like: @Lob private byte[] image; and my dao/service is…
alexander
  • 1,191
  • 2
  • 20
  • 40
4
votes
1 answer

WELD-001409 Ambiguous dependencies for type [EagerBeansRepository]

I'm trying to migrate my JSF application to CDI. I have implented the following changes: Added an empty beans.xml file to WEB-INF Changed @ManagedBean 's to @Named Changed All the scopes I have to CDI Scopes (Session, View, Request) Changed all…
fareed
  • 3,034
  • 6
  • 37
  • 65
4
votes
1 answer

NullPointerException at org.omnifaces.facesviews.FacesViewsForwardingFilter

I run a Java EE 7 application on WildFly 8.2. I use OmniFaces 1.8.1. I see in log files NullPointerExceptions related to FacesViewsForwardingFilter: 2015-02-11 15:42:22,870 ERROR [io.undertow.request] (default task-12) UT005023: Exception handling…
4
votes
1 answer

NoAutoGeneratedIdViewHandler and production?

The OmniFaces 2.0 introduced a NoAutoGeneratedIdViewHandler. This is a great feature but surely it should be off for production mode? Even after reading the docs and source I am not sure if it's development mode only or not. Crossing my fingers :-)
Karl Kildén
  • 2,415
  • 22
  • 34
4
votes
1 answer

'omnifaces.SelectItemsConverter' converter id is not registered

I'm trying to create a selectManyCheckbox feature in my application, but now I'm in "converter problem". To take care this, I'm trying to use Omnifaces that already have a converter to objects. My solution is based on this and this question (both…
Paladini
  • 4,522
  • 15
  • 53
  • 96
1 2
3
40 41