Linked Questions

7 votes
2 answers
11k views

I'm working and learning about JSF + Facelets these days. I have a BackingBean and a Facelet xHTML page. When I request the facelet-page (only one time) the backing-bean-method is called multiple ...
c0d3x's user avatar
  • 701
0 votes
2 answers
556 views

Environment: Seam, Richfaces The following code snippet causes the method getUsers to be called multiple times, how do I avoid this in my application so that it gets called only once. <c:forEach ...
Joe's user avatar
  • 15.5k
1 vote
1 answer
935 views

I am using "c:forEach" in an xhtml in the following way: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java....
emm's user avatar
  • 19
0 votes
1 answer
1k views

In my ADF project , I have a table component on JSF page whose value attribute is bound to method in Managed bean which returns List type object . I am able to show the data on the table but i can see ...
Sid's user avatar
  • 489
0 votes
0 answers
808 views

Can I get value of DataTable in JSF from method that will return a list of objects instead of getting from getter of an attribute? FilmBean.java @ManagedBean(name = "filmBean") @SessionScoped public ...
Newbie's user avatar
  • 1,734
0 votes
1 answer
701 views

I'm really new to JSF, I've been learning it exactly 2 days now. Besides the initial confusion about the concepts, I have issues with eclipse too. I'm using JSF 2.0 with obviously Eclipse and Tomcat 7....
user3588536's user avatar
0 votes
1 answer
382 views

I'm using JSF 2.0. I wanted to use h:dataTable and I realized that the function from value in dataTable is invoked 2 times when I open view in browser. I'm confused with that and I don't know what I'...
Allen's user avatar
  • 181
0 votes
0 answers
430 views

I have a problem using a <ui: repeat> inside another <ui: repeat>. Let's see the code to explain it better: <h:form> <ui:repeat value="#{myManagedBean.listDocsFather}" var="...
Dagon's user avatar
  • 155
1 vote
1 answer
420 views

I used for internationalization the JSF configuration, and I have a list of countries from the class Locale in <p:selectOneMenu>, but I am facing a problem of duplicate values of the countries ...
Spartan's user avatar
  • 1,172
1 vote
1 answer
241 views

I'm using Jboss. I have a bunch of checkboxes which I generated via a producer(@Named, @SessionScoped), the data comes from a mysql database (using hibernate). When I click a checkbox I print out (p:...
OschtärEi's user avatar
  • 2,275
1 vote
0 answers
191 views

I have a primefaces wizard containing a ui:repeat, as follows: <p:wizard flowListener="#{reportWizard.onFlowProcess}" widgetVar="wiz" showStepStatus="false" showNavBar="false"> <p:tab id=...
BLuFeNiX's user avatar
  • 2,624
0 votes
2 answers
101 views

I'm using Glassfish Server 4.1 with bundled JSF. I've enabled JPA FINE logging in "persistence.xml". I have this Facelets page: <p:dataTable var="customer" value="#{customerService.customers}">...
user avatar
0 votes
0 answers
51 views

I am new with Primifaces and JSF framework I am using PRimefaces 5, JSF 2, Spring 4 and Hibernate 5 The problem that I am facing is that when adding a button into dataTable the number of request to ...
Shalom Ohayon's user avatar
0 votes
0 answers
42 views

Currently, I try to make a game based on JSF 2.x with XHTML, JavaScript and Java as back-end. This game is round based with up to 6 players. Creating player (objects) and make some settings on it (...
tiga05's user avatar
  • 13
0 votes
0 answers
40 views

I have currently the following code: <h:form id="activitiesListForm" rendered="#{activitiesRequestByObjectController.init('BOOKING_DATE', bookingDateEditController.bookingDate.id)}"> &...
vished2000's user avatar
0 votes
0 answers
27 views

I need some light about something strange we have noticed in our project. We have a Primefaces 10 (Omnifaces) + JSF 2 project and we see that when we click a button (or trigger an AJAX request) log ...
Rafa's user avatar
  • 95
0 votes
0 answers
26 views

i am working on big web application which is developed in java, using jsf framework, running on jboss server. I face a problem: I have a function in which we call some soap web services. This works ...
shrawan tiwari's user avatar
0 votes
0 answers
23 views

I am showing list of reports in my web page by iterating list of objects using h:datatable. Here is the code for that <p:dataTable emptyMessage="#{msg.reports_message}" var="fileData" value="#{...
Hemachandra's user avatar
0 votes
0 answers
19 views

On a Liferay plugin project I've got a JSF+PF based portlet on which I've created a minimal, complete, and verifiable example dealing with <p:dataTable> and <p:rowExpansion> elements ...
txapeldot's user avatar
0 votes
0 answers
20 views

I have a simple JSF2.0 from page as shown below: <h:body> <div><center><h1><big><u>Java Learning Center</u></big></h1></center></...
Amitesh Rai's user avatar
79 votes
5 answers
160k views

I am creating a web application, where you have to read a list of objects / entities from a DB and populate it in a JSF <h:selectOneMenu>. I am unable to code this. Can someone show me how to do ...
Illep's user avatar
  • 16.9k
69 votes
4 answers
128k views

Is there a way to execute a JSF managed bean action when a page is loaded? If that's relevant, I'm currently using JSF 1.2.
DD.'s user avatar
  • 22.1k
57 votes
4 answers
99k views

I'm trying to display image bytes which is saved in database as a StreamedContent in the <p:graphicImage> as follows: <p:graphicImage value="#{item.imageF}" width="50" id="grpImage" height=...
minhltnt's user avatar
  • 571
66 votes
2 answers
98k views

Is it possible to define variable and reuse the variable later in EL expressions ? For example : <h:inputText value="#{myBean.data.something.very.long}" rendered="#{myBean.data.something....
Bertie's user avatar
  • 17.8k
31 votes
3 answers
19k views

Does the <ui:repeat /> tag support iterating over a java.util.Set? I've tried iterating over my JPA domain entity objects contained in a Set, but receive errors. Is there something I'm missing?...
Shadowman's user avatar
  • 12.1k
43 votes
2 answers
34k views

I'm trying to get used to how JSF works with regards to accessing data (coming from a spring background) I'm creating a simple example that maintains a list of users, I have something like <h:...
PDStat's user avatar
  • 5,905
23 votes
6 answers
45k views

I've got a problem with an ajax request in a JSF page. When I click on the button, I get this exception: SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang....
alinoe's user avatar
  • 231
10 votes
3 answers
38k views

I'm trying to persist some values to a MySql database from a small facelet application but keep getting this error. I had this same application with a JPS page and a servlet and it worked fine with ...
Sergei's user avatar
  • 605
12 votes
5 answers
33k views

I' have a question about initialization of List in the POJO as it follows the next code: public class Person { //other fields... private List<String> friends=new ArrayList<>(); ...
Mitja Rogl's user avatar
20 votes
2 answers
16k views

Related to a previous example, i tried to monitor my get/set methods on the server (when they are called, and how often). So, my actual been look such : @ManagedBean(name="selector") @RequestScoped ...
markzzz's user avatar
  • 48.3k

15 30 50 per page
1
2 3 4 5
9