HI ............
I am making a prototype for one of our products using Primefaces ....
I am using JSF2.0/Spring /JPA hibernate
primefaces-2.2.M1.jar
My Eclipse as IDE ? Is that an issue ?
It looks impressive but I am having issues with simple things
It is not working what I expect it to work ..Using very simple examples from Showcase .Infact I copied the same code still having issues.Is it specific to jsf 2.0 ?
Web.xml is configured properly ..
Was able to view p:editor etc components so it is configured properly ..
<context-param>
<param-name>com.sun.faces.allowTextChildren</param-name>
<param-value>true</param-value>
</context-param>
Example
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:c="http://java.sun.com/jsp/jstl/core" >
<h:head>
</h:head>
<h:body>
This works
<p:editor />
<p:growl id="growl" showDetail="true"/>
<h3>Simple Panel</h3>
Does not show the options
<p:panel header="F.C. Barcelona" footer="Visca el Barca!" toggleable="true" closable="true">
<h:outputText value="FC Barcelona is ..." />
</p:panel>
<h3>Advanced Panel</h3>
<p:panel id="pnl" header="About Barca" toggleable="true" closable="true" toggleSpeed="500" >
</p:panel>
</h:body>
</html>
Issues
1) <p:panel header="Panel" toggleable="true"> cannot see the closable or toggle
2) Used Dashboard with Panel same issue .
3) I want to use DataGrid and display simple checkboxes and radio button and when user hits the next /previous etc button to navigate it should perform some action on server side .How do u do that ?
4) I was first using apache trinidad and simple example work but I need the once mentioned above to work as they are very basic requirement .,
Not sure if there any archetypes I can use for jsf2/spring archetype
The way I configured by project was using coreservlet basic-jsf example
thanks for the help in advance
B
<p:panel header="Panel" toggleable="true"> not working
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You don't need;
or Resource Servlet with PrimeFaces 2.2+.
Code: Select all
<context-param>
<param-name>com.sun.faces.allowTextChildren</param-name>
<param-value>true</param-value>
</context-param>
-
- Posts: 2
- Joined: 27 Dec 2010, 18:01
Hi, this did not work, for me ... Any ideas?
Thanks in advance.
Almir Campos.
Sao Paulo, Brazil.
Thanks in advance.
Almir Campos.
Sao Paulo, Brazil.
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
Try playing with the showcase. It can be downloaded from hudson (source zip):
http://www.primefaces.org/hudson/job/Ex ... owcase/ws/
Or PrimeFaces Maven Repository (binary):
http://repository.prime.com.tr/org/prim ... -showcase/
Or Subversion repository (source):
http://code.google.com/p/primefaces/source/checkout
http://www.primefaces.org/hudson/job/Ex ... owcase/ws/
Or PrimeFaces Maven Repository (binary):
http://repository.prime.com.tr/org/prim ... -showcase/
Or Subversion repository (source):
http://code.google.com/p/primefaces/source/checkout
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests