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

591 questions
0
votes
1 answer

omnifaces validator causes submit + 1 message on p:messages

I have a form with custom email validator like this: And I have a commandButton with…
czetsuya
  • 4,143
  • 13
  • 48
  • 91
0
votes
1 answer

Ominifaces FullAjaxExceptionHandler and FacesExceptionFilter redirection mistake from exception thrown by ManagedBean

In Tomcat7.0.40 JSF2.1 OF1.4.1 PF3.5 I have configured FacesExceptionFilter and FullAjaxExceptionHandlerFactory as in docs - http://showcase.omnifaces.org/exceptionhandlers/FullAjaxExceptionHandler -…
user1594895
  • 597
  • 1
  • 7
  • 30
0
votes
1 answer

NoClassDefFoundException using Omnifaces 1.4/1.5 with jsf2 and primefaces

I saw a similar topic here but the problem was not the same in my case. I keep getting this when working with primefaces datatable ajax events: java.lang.NoClassDefFoundError: Could not initialize class org.omnifaces.config.WebXml And the actions…
baron5
  • 557
  • 2
  • 11
  • 24
0
votes
0 answers

How to prevent PrimeFaces poll from continuous polling after calling OmniFaces "FullAjaxExceptionHandler"

I'm using PrimeFaces 3.5 and OmniFaces 1.5. On my main page I've a poll component to refresh some content. Additionally I'm using FullAjaxExceptionHandler to show an error page in case of exceptions during ajax requests. index.xhtml
RueKow
  • 203
  • 3
  • 10
0
votes
1 answer

Set only entity ID instead of whole entity in p:selectOneMenu

I'm using JSF 2.1 and Tomcat 7. I have the following PrimeFaces select one menu:
user1594895
  • 597
  • 1
  • 7
  • 30
0
votes
1 answer

ExtensionlessURLs JBoss AS7

starting a new project, and I don't have anything really added in the project yet except base stuff. First thing I wanted to do was clean up the .xhtml/.jsf extensions. I installed: org.omnifaces
Sector7B
  • 113
  • 1
  • 11
0
votes
0 answers

OmniFaces' enableRestorableView restores empty view root

I have a page anchors.xhtml which contains a form and an which submits to the same page using redirect: public String onRefresh() { refresh(); return…
Pavel S.
  • 1,058
  • 1
  • 11
  • 25
0
votes
1 answer

UnsupportedOperationException using Ajax.update or getRenderIds().add

I'm trying to refresh a jsf component using java code. First, i try using this : FacesContext.getCurrentInstance().getPartialViewContext().getRenderIds().add("MyCompId"); but it produce an "UnsupportedOperationException". Then, i try to install…
Clément
  • 3
  • 5
0
votes
1 answer

placeholder not recognized when using omnifaces

I'm new to JSF. Well, I'm trying to pass attributes like placeholder through jsf with omnifaces. But somehow the attributes are not recognized. Am I missing something? Omnifaces.jar is in the Java Server Faces library and I added the…
user1451130
  • 135
  • 1
  • 9
0
votes
0 answers

ValidateOnePer row

I really love your project, It is really amazing! I have an observation about this scenario which would be great to validate and I think, from my humble perspective, is not covered. I have a repeated component (e.g. data table, data grid, etc..)…
0
votes
1 answer

Omnifaces EAR deployment issue on glassfish 3.1.2.2

I have a maven enterprise project (skinny) with omnifaces 1.4.1 glassfish 3.1.2.2 primefaces 3.5 primefaces extensions 0.6.3 myfaces extcdi 1.0.5 When i deploy the ear, the error is: remote failure: Error occurred during deployment: Exception while…
Helge Waastad
  • 141
  • 1
  • 9
0
votes
0 answers

AJAX: OmniFaces FullAjaxExceptionHandler says it will show the error page, but it doesn't

When I get a ViewExpiredException (in development I force this by cleaning Tomcat's work directory) FullAjaxExceptionHandler is not redirecting to the error page after an PrimeFaces' AJAX request. See the stack trace below: GRAVE:…
EliandroRibeiro
  • 781
  • 7
  • 8
0
votes
0 answers

FullAjaxExceptionHandler with datatable and lazydatamodel

I'm building a search page with primefaces 3.4 and omnifaces 1.3. Managed bean is SessionScoped. I have a xhtml page with a:
Li Nu
  • 1
  • 1
0
votes
1 answer

MyFaces 2.0.4 cannot render h:form tag

I have a simple JSF 2.0 xhtml page that will not render when I insert an h:form tag. I can use a normal tag and things render just fine. Here's my specs: - Java 1.6 - WebSphere 8.0.0.5 & its built-in Apache MyFaces 2.0.4 - PrimeFaces 3.4.2 -…
Chris Harris
  • 1,241
  • 3
  • 17
  • 27
0
votes
2 answers

primefaces p:outputLabel not set label for UIInput use its value when it is a child of Omnifaces tree

p:outputLabel will set label for related UIInput, But when it is a child of Omnifaces o:tree It is not work. The validate error message still use clientId. Omnifaces outputLabel can set label for related UIComponent, and it can work with…
Yaocl
  • 184
  • 11
1 2 3
39
40