Hello,
I am trying to implement this sample : http://www.primefaces.org/showcase/ui/pprSelect.jsf (AJAX - Select Components)
If I add <p:ajax update="corporateid" listener="#{addUserBean.valueChangeMethod}" /> to my code, I get "Cannot resolve symbol p:ajax" error on my IDE (IntelliJ). And nothing happens on my application.
My xmlnses are just like that :
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
template="/pages/templates/ui.xhtml"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:f="http://java.sun.com/jsf/core">
<h:outputScript name="jsf.js" library="javax.faces" target="head"/>
What could be the wrong?
Thanks in advance
Brad
PrimeFaces and ajax
- brad.revolver
- Posts: 21
- Joined: 16 Aug 2010, 15:35
Prime Faces 2.2MI
JSF 2.0.3
Mojarra 2.0.3 (FCS b03)
Apache Tomcat-7.0.0
FireFox 3.6.10, IE 8, Google Chrome 6.0.472
Windows 7
IntelliJ Idea
JSF 2.0.3
Mojarra 2.0.3 (FCS b03)
Apache Tomcat-7.0.0
FireFox 3.6.10, IE 8, Google Chrome 6.0.472
Windows 7
IntelliJ Idea
-
- Posts: 30
- Joined: 14 Sep 2010, 19:00
Hi,
Other p:XXX tags works?
Give us whole JSF page.
best regards,
artur
Other p:XXX tags works?
Give us whole JSF page.
best regards,
artur
- brad.revolver
- Posts: 21
- Joined: 16 Aug 2010, 15:35
aye, accordionPanel, ajaxStatus,autoComplete, barchart, breadcrumb etc.. is displaying.
but there is no tag "name"d ajax on my c:\repository \primefaces\primefaces\2.2.M1.jar!\META-INF\primefaces-p.tld
my best regards
but there is no tag "name"d ajax on my c:\repository \primefaces\primefaces\2.2.M1.jar!\META-INF\primefaces-p.tld
my best regards
Prime Faces 2.2MI
JSF 2.0.3
Mojarra 2.0.3 (FCS b03)
Apache Tomcat-7.0.0
FireFox 3.6.10, IE 8, Google Chrome 6.0.472
Windows 7
IntelliJ Idea
JSF 2.0.3
Mojarra 2.0.3 (FCS b03)
Apache Tomcat-7.0.0
FireFox 3.6.10, IE 8, Google Chrome 6.0.472
Windows 7
IntelliJ Idea
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
p:ajax is not in tld but it is in facelet taglib but just some metadata is missing for facelet attributes;
http://code.google.com/p/primefaces/iss ... il?id=1226
Eclipse Helios and NetBeans scan the facelet taglib not tld, it seems intellij version you have scans tld. New version of intellij supports PrimeFaces out of the box so should not complain.
However these should not effect the functionality, can you please post your code.
http://code.google.com/p/primefaces/iss ... il?id=1226
Eclipse Helios and NetBeans scan the facelet taglib not tld, it seems intellij version you have scans tld. New version of intellij supports PrimeFaces out of the box so should not complain.
However these should not effect the functionality, can you please post your code.
I know this thread is a bit dated, but I wanted to wake it up because the problem still exists. IntelliJ 10.0.1 still flags <p:ajax> as an error. Of course everything works fine, but it's disconcerting to see the error and the code completion stops working.
Is this something you can fix or at least submit a bug report to the IntelliJ folks?
Just started using PrimeFaces (switching from IceFaces) and very happy so far. Good work!
Is this something you can fix or at least submit a bug report to the IntelliJ folks?
Just started using PrimeFaces (switching from IceFaces) and very happy so far. Good work!
PrimeFaces 2.2 SNAPSHOT Build #251 (Jan 26, 2011 1:03:27 AM)
JSF 2.0 (Mojarra 2.0.4)
Glassfish 3.0
JSF 2.0 (Mojarra 2.0.4)
Glassfish 3.0
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
p:ajax metadata is in facelet taglib which netbeans and eclipse uses for code completion, it is up to intellij to support JSF 2.0 as we provide the metadata for IDEs.
For those who find this problem, here's the IntelliJ issue tracker: http://youtrack.jetbrains.net/issue/IDEA-56083
Please vote to have this fixed.
Please vote to have this fixed.
PrimeFaces 2.2 SNAPSHOT Build #251 (Jan 26, 2011 1:03:27 AM)
JSF 2.0 (Mojarra 2.0.4)
Glassfish 3.0
JSF 2.0 (Mojarra 2.0.4)
Glassfish 3.0
-
- Information
-
Who is online
Users browsing this forum: No registered users and 42 guests