<p:ajax> not working

UI Components for JSF
Post Reply
angeloleena
Posts: 2
Joined: 22 Feb 2009, 21:08

22 Feb 2009, 22:55

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

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Feb 2009, 10:11

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?

angeloleena
Posts: 2
Joined: 22 Feb 2009, 21:08

24 Feb 2009, 19:35

JSF version is 1.2. Other components work. I tried p:editor. That seems to work. p:ajax never works.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Feb 2009, 17:36

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;

Code: Select all

<h:inputText id="firstname" value="#{pprBean.firstname}">
    <p:ajax event="keyup" update="out1" />
</h:inputText>
id="firstname" is needed.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests