File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Not able to use Calendar tag(p:Calendar) PrimeFaces Taglib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Not able to use Calendar tag(p:Calendar) PrimeFaces Taglib" Watch "Not able to use Calendar tag(p:Calendar) PrimeFaces Taglib" New topic
Author

Not able to use Calendar tag(p:Calendar) PrimeFaces Taglib

rohit chawla
Greenhorn

Joined: Apr 05, 2011
Posts: 8
I am not able to use the calendar tag
<p:calendar>, through which I want to display a pop-calendar through which user can select the date easily.

The pop-up doesnt come.......

I have placed primefaces2.2.jar in the lib folder under web-inf.....
Following is a dummy.....i am not able to see a pop-up,,,when i click on the link....



<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="p" uri="http://primefaces.prime.com.tr/ui"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Insert title here</title>
</head>
<body>
<f:view>
<p:resources/>
<h:form>

<p:calendar></p:calendar>
</h:form>
</f:view>
</body>
</html>
rohit chawla
Greenhorn

Joined: Apr 05, 2011
Posts: 8
do reply guys...am in urgent need...i need to submit my project within few days and am stuck in this...................anyone among you faced this problem???

Is there any other alternative by which i can make Date picker in JSF???
HtaraS reddy
Greenhorn

Joined: Jul 14, 2009
Posts: 8
check the following link for examples on how to create prime faces calendar

PrimeFaces Calendar


Learning Java is a Never Ending Process .....
rohit chawla
Greenhorn

Joined: Apr 05, 2011
Posts: 8
I have done that...The textbox and the image(on which we click to see popup) both gets rendered.......
But when i click on the image...nothing gets happened....no popup......ie7 browser shows the error as "primefaces not defined".....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to use Calendar tag(p:Calendar) PrimeFaces Taglib
 
Similar Threads
Problem with JSTL in RAD7.5
jstl in eclipse
t calender problem
JSF
IllegalStateException: Cannot forward. Response already committed.