JavaServer Faces (JSF) is a model-view-presenter framework typically used to create web applications. Using the standard components and render kit, stateful HTML views can be defined using JSP or Facelets tags and wired to model data and application logic.

learn more… | top users | synonyms

0
votes
1answer
9 views

How to know a selectonemenu is empty onLoad of the page

I have a simple requirement to display an error message in the page when selectOneMenu is empty because of no data returned from the DB. I am not seeing any appropriate listener for the selectOneMenu ...
0
votes
0answers
24 views

p:InputTextArea value doesn't get the newest value

I have a strange behaviour in my app and I'm running out of options to solve it, because sometimes it works and other times it doesn't (depending on the component hierarchy). Basically, I'm using an ...
0
votes
0answers
12 views

error while parsing JSON data in the bean using simple-json

I am getting the following error when passing JSON data from a javascript function to a bean. ***java.lang.String cannot be cast to org.json.simple.JSONArray***. I am using json-simple to parse the ...
2
votes
0answers
13 views

NoSuchMethodException on eclipselink

I'm developing a javaEE project using Glassfish and EclipseLink. ALthough, when i run my app i get the following exceptions: Exception [EclipseLink-60] (Eclipse Persistence Services - ...
0
votes
0answers
7 views

How to render multiple PanelGrids with different text fields in PrimeFaces DataTable? [duplicate]

The following is just an example but imagine I have a list of Vehicles and that list is divided up into Cars, Trucks, etc. From my understanding you're only allowed to have one rowexpansion in a ...
1
vote
1answer
9 views

Are server side checks necessary using JSF?

In a JSF page a select is populated based on logged in user privileges. The aziende4ReportList contains only data related to the logged in user <h:selectOneMenu id="comboAziende" ...
0
votes
1answer
18 views

How to deal with session timeouts in AJAX requests?

I am using Spring-Security and Primefaces as view. How can i redirect user to login page after session timeout? I have a Tabview and several tabs inside it. so I need to deal with session timeouts in ...
0
votes
1answer
21 views

Changing style of first column of panelGrid

I have a <h:panelGrid> with two columns, and I want to left align the first column and right align the second column. I have tried giving all the elements in the first column a class and then ...
0
votes
1answer
8 views

Can we use Hibernate Search with MySQL 5.1 InnoDB in a JSF app

I am sorry to post such question here. I have no stack to show yet. Before going deeper! I want to know whether it is possible to use Hibernate Search in a JSF application that communicates with an ...
1
vote
0answers
15 views

JSF composite components: optional attribute should default to another (required) attribute's property

I have a composite component (for search components), like: <cc:interface> <cc:attribute name="dialogWidgetVar" required="true" /> <cc:attribute name="dialogTitle" ...
-1
votes
2answers
14 views

Why this call from JSF to Hibernate controller returns javax.el.MethodNotFoundException?

I'm trying to execute a query to a mySQL database through Hibernate, for that I've developed a simple JSF page to introduce two words and search by these fields, but when I try to execute the method ...
2
votes
1answer
15 views

Use Mojarra as the JSF implementation with JBoss Server

How to tell Jboss server to use given mojarra2.x.jar instead of jboss-jsf-api_2.1_spec-2.0.1.Final.jar ? I want to use Jboss AS 7.1. Thank you.
0
votes
2answers
27 views

Push messages for JSF and PrimeFaces

I'm developing an online chess board where you can play with others humans. At the moment users are notified about new moves by email. Is there any elegant way to push new moves instantly to the ...
0
votes
1answer
15 views

Why I can not making another layout unit into layout unit

this is my code but when I remove the layout inside the layout unite it works fine <p:layout style="width:850px;height:300px;" id="layout"> <p:layoutUnit position="west" resizable="true" ...
0
votes
2answers
47 views

Java Bean getter not returning values

I am trying to design a simple java bean/xhtml setup for a homework assignment. The implementation seems simple enough, however I can not get GlassFish to pull the info from the java bean and display ...

1 2 3 4 5 1034
15 30 50 per page