Tagged Questions

JavaServer Faces (JSF) is a model-view-presenter framework typically used to create web applications. Version 2.x is a major step ahead compared to JSF 1.x, significantly expanding the standard set of components and component libraries.

After reading RichFaces Vs PrimeFaces, I was tempted to use both in my web application to get the maximum benefit from both.
Do you think that is possible? What are the advantages and disadvantages?
...

Mojarra 2.1.29
I've read that usually it's not necessary to use EL to generate id-attribute dynamically. I also know that the id-attribute resolved at view-building phase. But in our projects we have ...

I am starting on JSF2.0 I used a tutorial as a reference but I have the following question:
The tutorial used 2 libs only: jsf-api.jar, jsf-impl.jar (but also had JSTL) from Mojarra Project.
I tried ...

I need some support with this, I'm out of ideas of what can be:
I'm using JSF 2 and Primefaces, to develop a website where I need to dynamically create a MenuBar, I'm using the basic structure of the ...

I have a datatable created in PrimeFaces which receives and render a list of objects. At the end of the row I have a commandButton element and when it is used it do some stuff on the managedBean on ...

I have a JSF 2 application that has two pages, one to list students and one to show details of a given student. The listing page has a link to the details page in each row of the students table, that ...

When should one use the preRenderView event to initialize data for a page verses using the @PostConstruct annotation? Is the rationale to use one or the other based on the type of scope of the backing ...

The problem is that when i select first value in first SelectOneMenu it is working fine but when select the value in the second selectonemenu,it is not working.How can i do this.Please help me.
View
...

I have a JSF page with 2 components, a button and panel. The button calls jQuery toggle to hide and show the panel. I would like that when the page loads, the panel is initially hidden, so that when I ...

I am developing a primefaces 5.2 application and using tomcat. I have a file upload component. For the file upload component to work, I changed the enctype. Later I decided to split the form into two. ...

I use Shiro 1.2.3 in a JSF2 project. I couldn't find a way to update the principal of an authenticated subject without a logout. I need this when a logged-in user wants to update his/her profile info. ...