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
0
votes
1 answer

Ajax Session Time Out FullAjaxExceptionHandlerFactory not working with shiro

Details of the code that i have added for using Ajax Session time out, as described by BaluC Faces-Config.xml
Dileep
  • 5,362
  • 3
  • 22
  • 38
0
votes
1 answer

Problems with Omnifaces GzipResponseFilter and page redirect (Glassfish only)

I get an error when I try to redirect a page in JSF action with a h:commandLink when I use the Omnifaces GzipResponseFilter (only in Glassfish). Exception: java.lang.IllegalStateException: Current state = FLUSHED, new state =…
Tyemy
  • 1
0
votes
1 answer

Cancel button jsf not resetting entity

I'm trying to implement a cancel button to clear the fields from my entity. Though, when I'm setting the entity to null my fields still keep their value. Code: The EntityBB's cancel method (note that the debugger can reach the cancel method): public…
GregD
  • 1,884
  • 2
  • 28
  • 55
0
votes
1 answer

Multiple call PreDestroy method by omnifaces ViewScoped

Invoke PostConstruct method at Initial requests. But, when I upload the images, there are multiple call PreDestroy method. That's mean, view id of ImageActionBean has been change for each FileUploadEvent. As I thought ViewID does not changed before…
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
0
votes
0 answers

Omnifaces ValidateMultiple causes page to refresh constinously

I have added the validateMultiple tag from last Omnifaces 1.7 release, and for some reason it causes my application to refresh the view continously. I would like to validate several time fields with my custom validator. This is the code snippet I'm…
Jaime Casero
  • 371
  • 2
  • 6
0
votes
0 answers

p:dialog closes even if omnifaces validation is required

Suppose having a p:dialog with an on submit button where p:dialog will close after that the dialog closes even if the validation is still required
bob-cac
  • 1,272
  • 2
  • 17
  • 35
0
votes
1 answer

Adding omnifaces project gives incorrect url at redirect

Using omnifaces 1.6 in a jsf project with primefaces 3.5 on glassfish 3.1.2 FacesContext.getCurrentInstance().getExternalContext().redirect("localhost/my-project/views/index.jsf"); Using this code will redirect to a page with url…
bob-cac
  • 1,272
  • 2
  • 17
  • 35
0
votes
2 answers

Multiple h:inputTextarea to single back-end variable

I'm trying to create a comment page with a variable set of comments (layed out via o:tree, thanks BalusC) that anyone can reply to. I'm displaying the h:inputTextArea via p:inplace, so there are multiple textinputareas per page with multiple…
David D
  • 83
  • 1
  • 1
  • 5
0
votes
1 answer

Update jsf page dynamically with either pdf or html response

Currently i am using jsf2, primefaces 4 and omnifaces in my report project. I have jsf form with as follows:
0
votes
1 answer

Adding entities to a in JSF using selectonemenu and/or selectmanymenu

Evening! I've got a DB structure which includes a join table (User-Groups) that relates the Users entity to Group entities for authorisation purposes. This is a many-to-many relationship (Users is the owner). Following hints & tips kindly provided…
rustproofFish
  • 931
  • 10
  • 32
0
votes
1 answer

How to declare XML namespaces when using conditional tags

I'm trying to implement this using JSF: