Gritter Error when updating from 1.0.0.RC to 1.0.0.final

UI Components for JSF
Post Reply
Frank
Posts: 3
Joined: 27 Nov 2009, 11:59

25 Feb 2010, 15:22

Hi

I'm just testing the new version 1.0.0.
We used the 1.0.0.RC version until now.

When using the <x:growl> tag for showing infos like 'login successful', 'changes written in database' and others we had no problem.
Now I tested this with the new 1.0.0. version ( and even with the 1.0.1-SNAPSHOT you use in the showcase .war file).
Each time we try to generate a GROWL message we get:
Gritter Error: You need to fill out the first 2 params: "title" and "text"
Of course the mentioned params are set, as you can see in the source text of the side:
<script type="text/javascript"><!--
PrimeFaces.onContentReady('start:growl', function() {
jQuery.gritter.add({title:'Login erfolgreich',text:'',image:'/_A_Framework/primefaces_resource/1.0.1-SNAPSHOT/jquery/plugins/gritter/assets/info.png',sticky:false});
});

//--></script><span id="start:growl"></span>
What is wrong there? No other changes...

Thanks in advance ....

Frank

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

01 Mar 2010, 11:56

Hi Frank,

It is a backward compatibility issue that is pretty easy to fix. See the issue created;

http://code.google.com/p/primefaces/iss ... ail?id=559

This will be fixed very soon, star the issue if you'd like to get email notifications regarding issue updates.

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

06 Mar 2010, 20:33

This is fixed now.

sky_java_seb
Posts: 10
Joined: 20 Mar 2010, 03:12

30 Mar 2010, 00:46

Hi,

It seems I have same issue in 2.0, was it only fixed in 1.0 ?

I use :
Glassfish v3
Mojarra 2.0
Primefaces 2.0

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

30 Mar 2010, 01:52

Hi,

It is fixed in 2.0.1-SNAPSHOTs as well. You can get it via a nightly build.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 31 guests