I am using Facelets, GlassFish, woodstock components and I am trying to use the p:ajax from prime faces.
Whenever I use p:ajax on a page I get Object doesnt support property or method and ajax does not work. I tried it within select items, input text etc. Nothing works.
Please help
<p:ajax> not working
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What is the jsf version are you using? Also can you try with the 0.8.1 release? Can you use any other primefaces component or is the error specific to p:ajax?
-
- Posts: 2
- Joined: 22 Feb 2009, 21:08
JSF version is 1.2. Other components work. I tried p:editor. That seems to work. p:ajax never works.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I see, so does it fail on all browsers you've tried? I just cannot reproduce the problem. The important thing is to manually add an id to the ajaxified component, it may be the reason. For example;
id="firstname" is needed.
Code: Select all
<h:inputText id="firstname" value="#{pprBean.firstname}">
<p:ajax event="keyup" update="out1" />
</h:inputText>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 41 guests