yui datatable custom message for MSG_LOADING

UI Components for JSF
Post Reply
tuono
Posts: 6
Joined: 21 Oct 2009, 21:25

21 Oct 2009, 21:40

I am a novice with primefaces. Is it possible with primefaces to internationalize the message by default MSG_LOADING = "Loading" of yui datatable script (datatable-min.js)? If yes please say to me how.
Thanks.

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

21 Oct 2009, 22:02

Hi, not with 0.9.3 but with 1.0.0 a new attribute called loadingMessage is coming.

tuono
Posts: 6
Joined: 21 Oct 2009, 21:25

21 Oct 2009, 22:09

Thank you for your answer. It will be also possible for messages: MSG_EMPTY, MSG_ERROR and MSG_SORTDESC.

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

21 Oct 2009, 22:41

Yes, emptyMessage is already there, I'll just add the rest of them this week so later you can grab a snapshot build to use these customization features.

You can monitor the status at;

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

Thanks for the feedback!

tuono
Posts: 6
Joined: 21 Oct 2009, 21:25

21 Oct 2009, 22:50

Thank you for your answers.

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

21 Oct 2009, 22:56

Done :)

Please try with a 1.0.0.RC-SNAPSHOT.

Four new attributes are added: errorMessage, loadingMessage, sortAscMessage, sortDescMessage.

tuono
Posts: 6
Joined: 21 Oct 2009, 21:25

22 Oct 2009, 20:42

Hi,

Thanks for your quick update. I tested the functions MSG_LOADING and MSG_ERROR it works very well.

tuono
Posts: 6
Joined: 21 Oct 2009, 21:25

24 Oct 2009, 14:37

I have a problem with the example DataTable - Lazy Loading, when I replace the number one hundred million(100000000) with zero and what I do not call the method populateLazyRandomCars(lazyCars, pageSize, first) or what I replace the variable "first" with zero, the message contained in emptyMessage does not appear. I do not make maybe what it is necessary to make. Thank you for your answer.

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

24 Oct 2009, 17:35

Please open a new post for different questions.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 45 guests