I am using the primefaces schedule p:schedule component to create a outlook like scchedule
the jsf tag is as follows
<p:schedule value="#{scheduleController.eventModel}"
editable="true" widgetVar="myschedule">
I have created the bean ScheduleController as specified here
but i am getting an exception when ever this component is render...
I am just trying to make a simple web page using drag drop of primefaces but it's not working, i mean it's behaving strangely. I have two outputpanel side by side with droppable each containing one graphic image with draggable. Problem is :-
While dragging and dropping i want the photo should be laid side by side in outputpanel if it al...
Hello,
I am using primefaces and JSF. Can anybody tell me how do i reorder rows of datatable usng primefaces drag and drop component?
...
I have the following h:selectOneRadio:
<h:selectOneRadio id="#{prefix}_rating" value="#{examinationPanel.tempResult}" >
<f:selectItems value="#{examinationPanel.options}"></f:selectItems>
</h:selectOneRadio>
And then the backing bean is loading the options based on some userpreferences:
public List<SelectItem> loadOptions (Set<Result...
Has anybody able to use the PrimeFaces lightbox component successfully on IE6 and IE7? I have a data table with grey borders within a lightbox, the grey borders are visible before the lightbox is even clicked. The data within the table shows only after the lightbox is clicked as it should, but the borders are showing up before the lightb...
Hello,
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://j...
I have a JSF application using Primefaces. I use the multiselect tree component which includes a checkbox on each tree node. My problem is that I need to preselect the tree nodes with values coming from the backing bean. It seems that jquery will be the way to go but I don't know how to retrieve the object values from the managedbean in ...
Hi people!
I have the next code to load a set of images whose streams are in a datamodel called names. My problem is when I declare the var inside the p:datatable tag seems like has nothing. Any idea?
thx!
<p:dataTable value="#{controlador.names}" var="nombre" rendered="true">
<p:column rendered="true">
...
Being new to primefaces, I have been researching a way to have TreeView in dynamic mode update a separate tab pane given the id on Node expansion. This works great for node selection with the "update" attribute. Can it work the same way on Node Expansion was well?
Here is my code that works when a node is selected:
<p:tree id="tree" dy...
I'm developing a pure JavaEE6 application with JSF 2.0 and Glassfish.
My JSF implementation is Primefaces (beside Mojarra provided by Glassfish).
I want to verify if the values of 2 password fields in a JSF form are equal.
With Seam, there is the neat component <s:validateEquality for="pw1"/>.
I want do to the same without Seam, just us...
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 display Bar Charts in each. For the same, I am fetching three list using the following three method. In the following code, UpdateCountHelper is fetching the data from database...
I have three drop down list <h:selectOneMenu>, and a <p:dataTable>. I want the three drop down list to be side by side with the dataTable. As I have right now, The three drop down lists are above the dataTable. I try to create bigger table and put the three drop down lists in one column, and put <h:dataTable> in another column to get the...
hi all
i'm facing a litte problem with primefaces and facelets
here's the problem: i got a template file, that will be my base for all my screens.
<p:growl id="cadastroMessages" />
<p:panel header="#{header}">
<h:form id="#{formId}">
<h:panelGrid columns="4">
<p:commandButton value="#{msg.novo}" action="#{ma...
I have this:
<h:selectOneMenu id="facility" value="#{document.facility}">
<f:selectItem itemLabel="A" itemValue=""/>
<f:selectItem itemLabel="B" itemValue=""/>
<f:selectItems value="#{document.facilities}"/>
<p:ajax actionListener="#{document.test}" update="project" event="change"/>
</h:selectOneMenu>
document is t...
hi all.
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" prefix="p"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<...
hi all
i am using primefaces library this is my jsp page source:
<%@taglib uri="http://primefaces.prime.com.tr/ui" prefix="p"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request...
I develop something like a shopping cart. I can select multiple items (by clicking on the checkbox next to that item) and add them to a list. How can I know which checkbox I am selecting. If I do this
<h:selectBooleanCheckbox value="#{document.checked}"/>
it only tell me a state of a checkbox is selected or not, but does not tell me w...
Hi,
I have a calendar, editor, fileUpload and a dataTable primefaces controls on a jsf facelet.
Code is as follows,
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/js...
I am using jsf and jsp tags in apache server for web application and I want to use primefaces for graphs.I don't no exactly how to configure web.xml when primefaces jar file is used.and how the jsp page will be having code using primefaces tags and components.please give simple example.I want to use prime faces only for graphs and its ...
I'm trying to implement proper logout for my Java EE / JSF2 application.
It requires two things:
I need to logout from JAAS and invalidate the session
I then have to navigate to an external URL to fire Siteminder logout
The Siteminder logout URL (configured on the Policy server -> I cannot change it) is outside my applications conte...