primefaces 1 « PrimeFaces « JSF Q&A





1. Can we mix JSF RI 1.1 and Tamhawk and primefaces,etc in one application    stackoverflow.com

Can we mix JSF RI 1.1 with Tomahawk, Primefaces, MyFaces, etc in one application?

2. Primefaces p:fileupload component problem    stackoverflow.com

I am using Primefaces 2.0.1 but the FileUpload component is not working properly. It uses JQuery uploadify behind the scenes. This is my web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

 ...

3. JSF 2.0 Problem    stackoverflow.com

I am doing a project where I am using JSF 2.0 & Primefaces UI Components. There is a tab view component with tabs, "Day","Week" & "Month". In all tab, I have to ...

4. problem with primefaces library (jsf)    stackoverflow.com

i am new to primeface. i have tried to test an example of primefaces about tag as in its documentation, this is my jsf page code:

<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://primefaces.prime.com.tr/ui" ...

5. ActiveMQ messagedriven bean to JSF    stackoverflow.com

I am currently reading from ActiveMQ with a Message driven bean (EJB3) in the back end. The problem I am facing is that I have to update a table in my ...

6. JSF2 PrimeFaces Installaion    stackoverflow.com

I would like to use PrimeFaces. I followed all the instructions on the webpage My POM:

<dependency>  
    <groupId>org.primefaces</groupId>  
    <artifactId>primefaces</artifactId>  
 ...

7. RequestScope bean and Prime Faces Collector    stackoverflow.com

I got a problem. I have a bean CreateProjectBean which is RequestScope bean. I want to use Prime Faces component called Collector so i can dynamicly change in view createProject table ...

8. Primefaces 1.1 and jsf1.2    stackoverflow.com

Can anybody share me an example using primefaces 1.1 and jsf 1.2 , and the required jar files. Regards, Amarshi

9. JSF 2.0(Primefaces) - composite component is unreachable, if to refer by ID    stackoverflow.com

Have simple composite component(compositeComponent.jsf),that is embedded to global.jsf page. The problem is that ajax can't update this component. Neither :componentId, not formId:componentId declaration doesn't work. Should i write own method generator in my bean ...





10. JSF: Showing page while backingBean is still working    stackoverflow.com

maybe this title is not really precise, but here's the problem. I'm doing some JSF project and I need a following: When user logs on my application (ie. when he navigates to Home ...

11. Primefaces fileUpload working locally but not on server    stackoverflow.com

I have developed an application which allows the user to upload a file. I am using Primefaces 2.2RC2 / JSF 2.0 / Tomcat 6 / Firefox Everything works great when I am ...

12. Using Primefaces JavaScript to call a JSF method on a bean on the server    stackoverflow.com

In the Primefaces User Guide it shows examples of how to make AJAX calls to the server

PrimeFaces.ajax.AjaxRequest('/myapp/createUser.jsf',
{
    formId: 'userForm',
    oncomplete: function(xhr, status) {alert('Done');}
});
What I can't ...

13. Primefaces Fileupload Patch    stackoverflow.com

I have the same problem as the guy in this post. Can you help me apply the patch from here I have no idea if that solves it, ...

14. Primefaces sources jsf    stackoverflow.com

I've downloaded primefaces sources to see if I can learn from them. The jar contains a bunch of java classes that use writers to handle the rendering etc. I was expecting ...

15. jsf and primefaces update problem    stackoverflow.com

I have a JSF page with two forms (pseudo-code below). First form is for a user and has text fields and a table of phone numbers, and a link for ...

16. Primefaces Proper technique for Ajax updating when Item Selecting    stackoverflow.com

I have a dataGrid and a carousel component that have image links for each item in the respective lists whose details gets expanded (for update purposes) on a dialog with a ...





17. Dynamic forum in JSF    stackoverflow.com

I am developing a JSF2.0 + PrimeFaces 2.2 + ObjectDB web application. It is a forum kind of thing taken a step further: new posts appear 'instantly' in every online users ...

18. JSF and PrimeFaces Strategy    stackoverflow.com

What is or could be a best practice?

  1. Using standard JSF components and combine them by PrimeFaces components when needed (for example when DHTML or AJAX components are needed)
  2. Forget all JSF Components ...

19. Custom NavigationHandler cannot be cast to javax.faces.application.ConfigurableNavigationHandler    stackoverflow.com

Following my previous question, i have a question about why is it this exception is being thrown if i use <p:button> from primefaces after registering the RedirectNavigationHandler in the faces-config.xml. ...

20. Calling a javascript function from Managed Bean    stackoverflow.com

Is there a way to call(Execute) a JavaScript Function from Managed Bean in JSF primefaces(2.2.1).

21. primefaces configuration issue    stackoverflow.com

I am newbie to Primefaces.I have tried to create the sample page with Primefaces.But i got the following error.Please help me to resolve this. My Code is:

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ ...

22. Partial page update when navigating (PrimeFaces ajax)    stackoverflow.com

I have done a basic JSF app, using facelets templates. My template is as follows:

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
    ...

23. What is the function of @this exactly?    stackoverflow.com

As far as I know the @this is to denote the current component triggering the event, such as :

<p:commandButton process="@this" ... />
And in JSF 2 Ajax, the @this can also mean ...

24. why notification bar does not work?    stackoverflow.com

I use primefaces notification Bar for my app. I want it to appear just when an user logs in and gets redirected to a page called main.xhml I am trying ...

25. How to make reusable component in JSF?    stackoverflow.com

I would like to have a reusable ui component which is tied to the model. For example :

  1. I have a selectonemenu that is chained to another selectonemenu (like department -> sub-department)
  2. Would like ...

26. Why my Controller setters aren't working in my PrimeFaces project?    stackoverflow.com

I'm creating some pages with PrimeFaces 2.2.1 using the Showcase source-code as support. I created a page exactly like Spinner Showcase, with the same structure: ...

27. Unable to execute Backing bean method    stackoverflow.com

Command button onclick event is not working its not invoking Banking bean Method. There are some other commandButtons like

action="#{editBean.editQuestionAction}" 
action="#{editBean.addNewQuestionAction}" 
were working fine but its not in the case of ...

28. JSF2, PrimeFaces, and Highcharts - Ajax    stackoverflow.com

Has anybody used JSF2, PrimeFaces, and Highcharts together? I am really confused on how I should put all these together, specially regarding the ajax request to get the data from the server ...

29. PrimeFaces 2, how to use ajax with a h:selectOneBooleanCheckbox?    stackoverflow.com

I have a JSF / PrimeFaces 2.x UI with a check box (h:selectOneBooleanCheckbox) whose value affects other widgets. Something like:

[X] checkbox1
  [____|V] combobox1
  [X] checkbox2
When checkbox1 is false, ...

30. How can I use javascript to draw diagrams?    stackoverflow.com

I'm new in the world of JavaScript and I haven’t found a good framework to draw diagrams in JavaScript. This is for a school project, so I have little time to ...

31. Desktop-like jsf-web-application    stackoverflow.com

I want to create a desktop-like application with JSF 2.0 and Primefaces 2.2.1 I created a main Layout with two divs, the upper div containing a menubar with several submenus. When the ...

32. Getting the co-ordinates of a component    stackoverflow.com

How to get the co-ordinates of a JSF component after onclick event ? I need to place an overlay just below an icon that was clicked. Is there any such in-built facility ...

33. Best practice for readOnly / edition modes in JSF?    stackoverflow.com

Anyone can suggest a way to perform the edition/read-only modes? I am using PF, and I have done this:

<composite:interface>
        <composite:attribute name="size"/>
    ...

34. Help with PrimeFaces    stackoverflow.com

I am working slowly through the PrimeFaces showcase, I am using NetBeans 7.0, JDK1.6, PrimeFaces 2.2.1, GlassFish 3.1, JSF 2.0, Win XP Prof Some of the examples work fine, others ...

35. Problem with PrimeFaces and Composite Components    stackoverflow.com

I have a piece of code similar to "Data Table - Instant Row Selection". However, when I break it down into composite components the selection values are not displayed. I have ...

36. Dynamic primefaces component values not updated in backing bean    stackoverflow.com

I have created a webpage using primefaces, dynamically. Everything renders correctly. But when I change the values it does not get updated in the backing bean.

<h:panelGrid columns="2" cellpadding="10" >
   ...

37. Ajax suddenly not working    stackoverflow.com

i got this error in my console.and suddenly the selectOneMenu did not fire any listener when the value changes.im using primefaces-3.0.M2.jar.

    Unhandled by MetaTagHandler for type org.primefaces.component.behavior.ajax.AjaxBehavior
and this ...

38. Problem understanding component scoping in jsf. Special syntax needed for 'id' reference?    stackoverflow.com

So I'm having a hard time understanding scoping of components in JSF. Here's an example piece of code I'm working on. I have three separate panels, in the first panel I ...

39. Select a component and display - Ajax    stackoverflow.com

I need to output the text that is selected in the selectOneMenu-list. My code is as follows;

<h:selectOneMenu value="#{DataForm.stationed}" id="globalFilter" onchange="carsTable.filter()" style="width:350px;font-size:13px;"  >
    <f:selectItems value="#{DataForm.listHotel}" var="user" itemValue="#{user[1]}" itemDisabled="false" ...

40. search paramters between 2 snippets    stackoverflow.com

I have 2 snippets, which are in 2 ui:composition : (1)

     <p:panel id="pSearchParamas" >
     <div class="fieldset">
        ...

41. Is there any JSF or Primefaces Photo tagger component?    stackoverflow.com

Is there any built-in component for facebook like photo-tagging in JSF(Preferably in Primefaces). Or will it be in near future? I have googled a lot but found nothing -- I found ...

42. Conversation scope unexpected behavior    stackoverflow.com

I have a JSF page where users can enter their car into my database. The form has three input fields:

  • Manufacturer
  • Model
  • Registration
The Manufacturer and Model field are both autocompletion fields. In order to ...

43. Rules for ids to update components    stackoverflow.com

I'm new to JSF2 and Primefaces and realized an issue to update components. Lets' assume I have the following piece of code, I can directly update="counter"

<h:form id="f1">
  <h:outputText id="counter" value="#{clientBean.counter}" ...

44. Help on JSF 2.0 Custom Components and Primefaces    stackoverflow.com

I have a requirement to create a panel dynamically using jsf 2.0 custom components. The controls within the panel will be dynamically read from an xml and rendered on the selection ...

45. How have full control of your Primefaces' components by Managed Beans?    stackoverflow.com

Is it possible create a component (Prime) to use in JSF pages in which MB has full control of it's components used on their own pages? For example: User.xhtml

<!-- whatever code xhtml -->

<ComponentsPrimeCustom:MBControl ...

46. function called many times for no reason    stackoverflow.com

i have an init() function that returns a list of Domaines needed to populate a datatable, each row of this datatable have two commandlinks one for edit and another for delete, ...

47. Enhancement of existing primefaces 2.2.1 components    stackoverflow.com

I've a requirement to enhance the exixting primefaces 2.2.1 components with more look and feel like a watermark with calendar and so on. How can this be achieved? Thanks in advance

48. Problems with control of primefaces components by Managed Bean    stackoverflow.com

I hope somebody could help me with the trouble I am having with JSF 2 and Primefaces 3.0M3. the problem is that the back bean methods do not fired from any component ...

49. Unable to start with Primefaces    stackoverflow.com

I'm trying to start with Primefaces but I can't!! I have the following definition in pom.xml:

<repository>  
    <id>prime-repo</id>  
    <name>PrimeFaces Maven Repository</name>  
 ...

50. PrimeFaces 3.0.M3    stackoverflow.com

I have been using PrimeFaces-2.0 with Tomcat 6.0 and now, I want to migrate to PrimeFaces 3.0 M3. I've added the jar into the classpath and into the /WEB-INF/lib but when ...

51. Navigate to another page using specific commands inside a jsf 2 primefaces terminal?    stackoverflow.com

My question is, is there a way to navigate to another page using the terminal component in primefaces 2.2.1 for jsf 2? For example if a user inputs a command ...

52. Send mail from JSF page using beans    stackoverflow.com

i am creating a web application using jsf and primefaces, and my question is how to send an email through site's contact form (i've done this using php before, very easily, ...

53. Ajax update does not work    stackoverflow.com

Why is the #{uImanager.select} never updated?

<p:panel id="EditDetailsPanel" header="Edit Details">
    <h:panelGrid columns="2" cellpadding="5">
        <h:outputLabel value="Simple :" />
     ...

54. RowselectionListener    stackoverflow.com

I have a query about PrimeFaces. Is it possible to implement a RowSelectionListener component that is similar to

<h:commandLink value ="selection" action="#{usuariosGruposBean.selectionOfGroupObject}"> <f:setPropertyActionListener target="#{usuariosGruposBean.grps}" value="#{groups}"/> ...

55. Can I add/remove Primefaces components dynamically?    stackoverflow.com

How can I add/ remove the primefaces inputText dynamically?

56. JSF 2 (PrimeFaces) - Is it good for high traffic applications    stackoverflow.com

Is JSF good for high traffic applications? I'm working on a application and I noticed that it does many resource requests for single page. Its client-server stateful approach makes me think ...

57. Shall i use JSF 2 (PrimeFaces) in big load and high traffic web site?    stackoverflow.com

I am developing admin part of our web application with JSF 2 (PrimeFaces). I have made a research that JSF is not suitable for big load and high traffic sites, because it ...

58. Are there data grid components in JSF/PrimeFaces?    stackoverflow.com

I need an iterating component like a <h:datatable> which generates <div> elements on every iteration and adds pagination. Something like an <ui:repeat> with pagination. Does it exist in PrimeFaces or any other ...

59. How can I reset JSF UIInput components to their managed bean values    stackoverflow.com

I want to reset JSF inputs to their original managed bean values on a cancel operation, after validation failed. The form is inside a dialog on a page that is opened/closed through ...

60. JSF 2.0 + Primefaces: Find all child components of a certain type    stackoverflow.com

I have several different primefaces dialogs and I've implemented a close listener which receives a org.primefaces.event.CloseEvent. Inside of this close event I can access the UI component which generated the close ...

61. p:collector display only one record    stackoverflow.com

I test the example of p:collector on the primefaces site but it didn't work for me, the add button only added one record, when I add a second, the datatable display only ...

62. A better way to get the real ID of an component in a naming container    stackoverflow.com

I got the following scenario: I got several tabs (TabView is a naming container ) and in one of the I got a p:inputText which shows a dialog(which is located in other xhtml ...

63. PrimeFaces Push and Multithreading    stackoverflow.com

I have correctly set up a Push server using PrimeFaces p:push component (using a Jetty web server to handle Websockets). However, the Push mechanism does not work when trying to display an ...

64. xss problem    forum.primefaces.org

65. JSF 2.0 and PrimeFaces Training    forum.primefaces.org

66. Missing component classes in the PF source    forum.primefaces.org

01 May 2011, 18:14 by honyk Missing component classes in the PF source Hello Everyone, I am investigating possibilities of extending one PF component to satisfy my needs... I've downloaded source ...

67. Javascript to Java    forum.primefaces.org

I'm not very familiar with Javascript and my question might be a bit of topic. For an app I need to know the screens width and height and I believe I ...

68. Sample application available for learning & comment    forum.primefaces.org

Hi, I have been working the last two weeks in reworking an academic project I made few years ago with apache myfaces and jsf 1.2. These reworks includes using primefaces 3.0.M1 ...

69. PrimeFaces push[SOLVED]    forum.primefaces.org

07 Jan 2010, 07:28 by bardu PrimeFaces push[SOLVED] I'm trying to push JPEG frames of a Motion JPEG stream from the server to the client. A code snipped: Code: ...

70. Beginning with prime faces    forum.primefaces.org

Hi, I am totally new to prime faces.I want to try a simple sample application in eclipse.I saw some tutorials but i am not completely clear.Can you please let me know ...

71. Making an update with Javascript or in a MB, It's possible?    forum.primefaces.org

People, Hello. I have a dialog that list my costumers, but, If doesn't exist the costumer that I need, I can create in another dialog, but when I finish, I would ...

72. Expierence with CDI (without EJB and without a AS)    forum.primefaces.org

Hi, has anyone already tried this combination in production environments? Which implementation do you use? Weld, OWB,...? Which modules do you use? CODI, Seam Modules? Are there any benefits for using ...

73. inpuText with HotKey    forum.primefaces.org

74. Suggest some useful features for PrimeFaces, and so on    forum.primefaces.org

04 May 2011, 11:22 by sharedata Suggest some useful features for PrimeFaces, and so on In my first feeling, I like Primefaces and hope to use it for my next project. ...

75. p:fileUpload and reverse proxy    forum.primefaces.org

Hi, I am using Tomcat 7, PrimeFaces 2.2.1 and I run into a problem with p:fileUpload. It works when browser connects directly to Tomcat (on tcp/8080 but I don't think port ...

76. basic question    forum.primefaces.org

77. How to change default stylesheets for Primefaces Components    forum.primefaces.org

I am using menubar, submenu and menuitem components for my navigation. I want to override the default styles to get custom look. I don't want to override inside the META-INF of ...

78. LayoutUnitToggleEvent in Prime faces 1.0    forum.primefaces.org

79. Problem to stop polling from java    forum.primefaces.org

Poll primefacesPoll = (Poll) FacesContext.getCurrentInstance ().getViewRoot ().findComponent ( "form:poll" ); if (theEvent ) { ...

80. Create components programatically    forum.primefaces.org

>> << aexon Posts: 5 Joined: 07 May 2009, 22:03 07 May 2009, 22:26 by aexon Create components programatically Hi, I successfully integrated prime faces into my web application. Because I ...

81. Is there anybody can use SNAPSHOT.2.0    forum.primefaces.org

I m striving but i cant use checkbox selection trees or editable schedule. It s drawn on web browser but there is no activity on buttons or smthg. Pls could you ...

82. Access to sources from behind a firewall    forum.primefaces.org

I'm afraid it could not be possible as project is hosted at google and we're restricted to their services and as I know firewall access is not supported at google code. ...

83. Add and Delete Nodes    forum.primefaces.org

Hello i'm working with the Tree component an i search a method to add and delete nodes the database relationships ar availabel. The problem is how does it works greetz drzeeb ...

84. richface + primeface conflicts    forum.primefaces.org

Using richfaces 4.0 and primefaces 3.0.M1. The whole page is primefaces except the fileupload which is primeface (as I could not make the primeface one workinf on glassfish). I'm getting this ...

85. Primefaces Turkce Kaynak    forum.primefaces.org

Merhaba, primefaces kullanmaya basliyacam, primefaces_guide_301109.pdf bu dokumani indirdim ancak, bunun turkcesi varmi acaba, cok aradim ama bulamadim, yardimci olursaniz cok sevinirim simdiden cok tesekkur ederimm

86. 3.0.M1 fileUpload life cycle ?    forum.primefaces.org

Hi All, I'm starting to use fileUpload. I have a listener and a h:panelGroup which displays the list of files uploaded. The problem is that the listener is called AFTER the ...

87. FileUpload dosint working !!!!!    forum.primefaces.org

wher i put this filter ??? PrimeFaces FileUpload Filter org.primefaces.webapp.filter.FileUploadFilter PrimeFaces FileUpload Filter Faces Servlet in web.xml ????

88. Primeface ile kullanilan jar`lar    forum.primefaces.org

Merhaba, Baslik tam uygun olmayabilir kusuruma bakmayin, sormak istedigim, mesala richfaces kullanirken, fileupload vs. componentlerinde richfaces jar disinda apache`ninde comman-benautils vs. bazi jar larini kullanmamiz gerekiyordu ve bunlari bi liste halinde ...

89. Why PF community can't build more functional samples?    forum.primefaces.org

Javaserver faces 2 is not popular enough now, but it's growing now. Small(but not helloworl level) and functional(such as CRUD with ajax, project level template especially the page composition layout) sample ...

90. Proposal: Community contributed add-ons    forum.primefaces.org

The PrimeFaces source is fairly easy to follow and lends itself to modification by any competent person with the will to do so. There are also a lot of requests for ...

91. Search inteface    forum.primefaces.org

Hello: I'm integrating hibernate search (lucene search indexes)with my web application and i was wondering what kind of component should i use to display the search results. The issue is that ...

92. [SOLVED] JSF 2.0 &     forum.primefaces.org

List, "" is in the JSF 2 spec, but don't get autocompletion for it, which suggests it was omitted in Primefaces. Is that a correct assumption?

93. Updates doesn't work in "composite:implementation"    forum.primefaces.org

JSF has the ability to easily create components using the composite:implementation interface. However, inside the components made this way, using primefaces components has proven to be problematic. For example, if you ...

94. Problem after migrate to 2.2.1    forum.primefaces.org

95. Bea Server da PrimeFaces kullanamyorum ???    forum.primefaces.org

>> << necipakca Posts: 7 Joined: 13 Jan 2010, 16:07 13 Jan 2010, 17:10 by necipakca Bea Server da PrimeFaces kullanamyorum ??? merhabalar, Bea Server 9.2 de problem yayorum projede ...

96. collector and datable    forum.primefaces.org

14 Jan 2010, 00:26 by cororo collector and datable Good day; I am working with colector like your primefaces showcase example, I am supposing you are making a onclick=submit() and update="datables ...

97. Is www.primefaces.org down?    forum.primefaces.org

98. Primefaces fileupload    forum.primefaces.org

Hi, Is it possible to get only new file upload component without migrating to primefaces 3 version? My problem is that 2.2.1 version component is using flash and there is no ...

100. Primefaces Website down    forum.primefaces.org

Primefaces.org is down. For the last 3 days, it was down in the fore noon. I just moved to primefaces and relying heavily on showcase demo. Please let me know if ...