I am new to jsp and jsf. I want to insert '%' symbol in textbox. But I am not able to insert % symbol in textbox using jsp and jsf. My jsf code is : <h:inputText class="form-control input-sm input-element" id="oligoName" name="
I'm trying to export my PF chart as picture following the showcase: enter link description here <h:form id="form1"> <p:chart type="line" value="#{chartView.lineModel1}" style="width:500px;height:300px" widg
I am getting the following error when I want to save the data of my picklist 'Group [id=null, groupName=TEST, distinguishedName="distinguishedNameForGroup"' für 'null Converter'. This is the converter I use for it @FacesConverter(value="gro
In my work we develop an JSF 2 application. And I need to create a listener bean with one method which have to be executed on every page request. How to accomplish this task?The answer of your question can be found here. This method is crucial: publi
I am creating a form that posts data to a external url (authorizeNet DPM). I need jsf to validate the inputText prior to allowing the submission to happen. How do I get the validation rules to work in this case? <form action="EXTERNAL_URL" me
i have external javascript file for drawing google charts and in this js file i want to access backing bean to get json string. js file: window.onload = function(){ if(typeof(google)!= undefined){ google.load('visualization', '1.0', {'packages':['cor
I have a datatable <p:dataTable id="db" value="#{notificationBox.notificationsList}" var="notificationForm" rows="15" emptyMessage="${msgs.getMessage('table.empty.message')}" paginator="true"
I want to use to generate a pdf dataexporter, use the method preprocessor to insert some content. By giving the type letter size page assimilates well as formats of texts. Then make a page break to put the chart on a new page, right there is the prob
I have a dialog for adding some data: <p:commandButton id="save" actionListener="#{adminNationalController.saveTeam}" action="#{adminManageInternationalTournamentController.updateTeamList}" value="#{msg.save}" aj
I have a Facelet that might be used in different applications. I don't to copy it, but reuse it. I need to pass the backing bean that will manage the view as a parameter, as some logic may vary according to the application where it is used in. I don'
I was using the Richfaces4, everything looks good. But just right after I add following line to my pom.xml: <dependency> <groupId>org.primefaces</groupId> <artifactId>primefaces</artifactId> <version>3.5</version>
I am trying to use JSF Facelet template/Facelet template client first time. I am creating template and template client with Netbeans 7.2.1. When I run that created JSF project and call http://localhost:8080/jpaweb/template.xhtml I can see template st
Based on the value of the inputHidden field, certain functionality should be performed on the javascript side. <h:inputHidden id="onlyCaseSensitive" value="#{testBean.isPageAllowed()}"/> Afer the javascript is executed, the appli
I was checking out the code for this template from the OmniFaces Showcase app, when I encountered the following condition used in a p:selectOneMenu: disabled="#{facesContext.postback and not facesContext.renderResponse}" From using the app, it s
We are in the process of moving to JSF 2 from JSF 1.x and I am was really looking forward to using many of the new features. I have been searching around and can't seem to find either a reason and/or a solution to a problem I am having with explicit
I am almost finished with a page that builds out it fields dynamically and sets validation of data types using regular expressions, but ran into an issue on Friday when I started tying the fields to actual data types instead of just Strings. The prob
Ok i have the following problem: In my web app i have the CRUD all one page via dialogs controls of Primefaces. In the new dialog i have some validators. For example: when a user does not fill the necessary fields for form submission obviously the fo
I downloaded Primefaces 3.2 but I cant find the javadocs for the client side API. They say it has rich client side api so I'd could take a look at it also. Thanks.Everything about PrimeFaces is here https://www.primefaces.org/documentation/
I am not able to get username and password values that I am entering on the xhtml page in my ManagedBean. This is why i am getting NullPointerException in goodBye method when I am checking username and password Login.xhtml <?xml version="1.0"
the project is developed in Spring 3, Spring web flow 2.3, Spring security 3 and Primefaces 3.2. When I use dispatcher servlet of JSF2 the view reload with AJAX perfectly and I can use tag h:link. But since I use dispatcher servlet from SWF I have st
I have created a DIV section in my page in the following way: <div id="modalAlert" style="display: none;"> <h:panelGroup layout="block"> <p>My Heading </p> </h:panelGroup> <h:panelGroup layout
In my sample application using JSF2.0 + Richfaces3.3.3. I want to show loading status for all a4j action. It means, when i click button, then show loading status in modal panel. Otherwise, When i click button, show loading status and at the same time
I am using JSF 2.0 and PrimeFaces 2.2. I have a data table whose columns need to be updated according to the selection from drop down menu. I do not want to create multiple data tables as there are many values in drop down according to which column v
Hi am trying to get the value of p:selectOneMenu from jquery , but i dint got as yet. am using JSF and primefaces as my UI component. <p:selectOneMenu style="width:150px" id="skill" value="#{loginBean.skill}" required=&quo
i have a Spring JSF 2 project which is using IceFaces 2, and i made the project use JSF and IceFaces libraries from properties>project facets, and added jsf capabilities to the project, then used a user library JSF 2.1 Mojara, then added icefaces cap
I have some dynamically generated files which I want my JSF 2.0 app to download for the user. I've been able to get this working using the code found in the solution here : Forcing a save as dialogue from any web browser from JSF application and a co
I am starting out a new project that involves the use of JSF 2.0. From my initial reading, the Mojarra and Apache Implementation of the project covers the basic components that you will need. But I know that user's would seek gui with better presenta
Update: Updated once more now. I think my previous analysis was wrong, because I have now been able to create an example for this. It appears to be related to composite components and the insertChildren tag. Here is my facelet: <?xml version='1.0' en
We are creating a new project using jsf2.0, richfaces 4.0, jjdk 6 and tomcat 7.0 I want to know the standard way of creating project. I mean folder structure. Any sample application or book or link will be a great help to me.I participated once in a
I am using eclipse to create my jsf project. I created my own components, and I don't want the other programmers to be able to use jsf regular components like h:inputtext etc. How can I do it in eclipse, that if the user adds specific tags like h:inp