<p:log/> - Am I missing something?

UI Components for JSF
Post Reply
andromak979
Posts: 7
Joined: 29 Oct 2011, 16:33

29 Oct 2011, 17:24

Hello all,

trying to use <p:log/> control, but having two issues:

1. The "PrimeFaces.info" js call gives following error: "Uncaught TypeError: Object #<Object> has no method 'info'"; however, if I call directly "log.info" instead, it's working fine and the log message is displayed in the <p:log/> control as expected;
2. My "ajax" traffic is not logged automatically by the <p:log/> control, as done, for example, in the showcase (copied the same showcase sample in my pages to make sure I am not missing something).

Most probably there's still some configuration to be done on my side, but I am not able to figure out what. Can you please help?

Thanks a lot,
Ovidiu.
Windows [7], IE [9], Chrome, FF [7], Java [1.6.0_27], GlassFish [3.1.1], JSF [2.0], Mojarra [2.1.3], PrimeFaces [3.0.RC1-SNAPSHOT], EclipseLink [2.3.0], JPA [2.0], Oracle XE [11g], Eclipse [Indigo]

andromak979
Posts: 7
Joined: 29 Oct 2011, 16:33

30 Oct 2011, 12:06

Solved, by making sure the classpath contains only one version of PrimeFaces jar (I had like 3 :?) - thanks to Prime for quick support.
Windows [7], IE [9], Chrome, FF [7], Java [1.6.0_27], GlassFish [3.1.1], JSF [2.0], Mojarra [2.1.3], PrimeFaces [3.0.RC1-SNAPSHOT], EclipseLink [2.3.0], JPA [2.0], Oracle XE [11g], Eclipse [Indigo]

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests