For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 3 voices, and was last updated 13 years, 8 months ago by
support-tony.
-
AuthorPosts
-
gustavo2840MemberGood Afternoon,
Presents problems when working with MyEclipse + Primefaces there features of version 3.0 that did not work, I understand that by default along with the 2.1, I’ve added the jar and similarly I do not recognize the tag selectOneMenu. I wonder what I do. In the Navigator, this is the message that gets me out of error:
"javax.servlet.ServletException: / jsf / employee / createEmpleado.xhtml @ 21.22 <p:selectOneMenu> Supports Tag Library namespace: http://primefaces.prime.com.tr/ui, but no name tag for defined WAS : selectOneMenu javax.faces.webapp.FacesServlet.service (FacesServlet.java: 321) com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent (SiteMeshFilter.java: 129) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter (SiteMeshFilter.java: 77) org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java: 76) "
I hope I can lend a hand to solve the problem. thanks
January 16, 2012 at 10:57 pm #322384
support-swapnaModeratorgustavo2840,
Sorry that you are seeing this issue.
Which version of MyEclipse are you working with?
Please take a look at this link which discusses the same issue and check if you still the issue with version 3.0 M4 :
http://forum.primefaces.org/viewtopic.php?f=3&t=15899I suggest you cross post to ICEfaces forums for better support.
January 17, 2012 at 9:10 pm #322414
gustavo2840MemberMy Version is : MyEclipse Blue Edition – Version: 10.0 Blue
I was checking the link, it suggests changing the namespace for “xmlns: p =” http://primefaces.org/ui “but to change it gives me the following error:
javax.servlet.ServletException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): source.domain.Empleado javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
January 18, 2012 at 3:55 am #322424
support-swapnaModeratorgustavo2840 ,
Sorry that you are seeing this issue with MyEclipse. I could not replicate the issue at my end.
Here are the steps I followed :
1) Downloaded the PrimeFaces 3.1SNAPSHOT from http://www.primefaces.org/downloads.html
2) Create a Web project. Add JSF capabilities. Now add the Primefaces 3.1 jar to the project from Build Path > Configure Build Path > Libraries > Add External Jars.
3) Create a new JSP page with template “ICEFaces JSPX page ” and add xmlns:p=”http://primefaces.org/ui” to the JSP page.
Let us know how it works for you.
January 18, 2012 at 9:49 pm #322448
gustavo2840MemberGoodnight, thank you very much for your help. I’m working with Spring CRUD Scaffold and desire is to add Primefaces 3.0 to MyEclipse code generation that gives me. Attached some screenshots with the steps and the result with Error. By adding the-3.1-SNAPSHOT.jar primefaces the project.
thanks again
Attachments:
You must be logged in to view attached files.January 19, 2012 at 3:00 am #322457
support-tonyKeymasterGustav,
I’m not sure that Primefaces 3.0 is supported with the Spring tooling. I’m moving this topic to the MyEclipse for Spring forum and escalating to our Spring support to try and help you better.
One thing I noticed, in trying to find a way round this, is that I don’t get any errors if I don’t include the Primefaces 2.1 library when scaffolding the code but add the 3.0 jar file after scaffolding, but I also had to remove the definition and reference to the Primefaces Resource Servlet, in the web.xml, as that isn’t in the 3.0 version. When I did this, I could create the tutorial application and run it without error though the application wasn’t showing any customer records, so some other incompatibility might exist. However, for your application, there may not be a problem.
This gives you something to try – let us know how it goes. For more support on moving from 2.1 to 3.0, you should try the Primefaces forum.
January 19, 2012 at 3:23 am #322460
support-tonyKeymasterGustav,
After posting my reply, I realised that the Primefaces web site gives the namespace as http://primefaces.org/ui. When I changed the namespace in all of my jsf files, the tutorial application seemed to function OK (and tags were recognized). So performing the steps I mentioned previously and changing the namespace may provide the total answer for you but our Spring team may provide additional advice.
-
AuthorPosts