p:datatable emptyMessage not shown

UI Components for JSF
Post Reply
Strider
Posts: 70
Joined: 03 Dec 2009, 22:24

05 Oct 2010, 13:57

Hi there,
as in the subject written, the emptyMessage is not shown using 2.2.M1 and 2.2.RC1-SNAPSHOT (tested today) when getting no values for the data table. It shows only the header and if activated the pagination footer line.

Code: Select all

            <p:dataTable var="mailing" paginator="true" value="#{indexBean.mailings}" rows="15"
                         emptyMessage="Es wurde noch kein Mailing verschickt">
Tested with GF 3.0.1

jaideralba
Posts: 51
Joined: 06 Sep 2010, 23:01
Location: São Paulo - Brazil

05 Oct 2010, 18:15

I found the same problem, but with the loadingMessage.

In the primefaces 2.1 both messages works fine.
Mojarra 2.0.2 (FCS b10)
GlassFish 3.0.1
PrimeFaces 2.2.1

Strider
Posts: 70
Joined: 03 Dec 2009, 22:24

05 Oct 2010, 18:33

AFAIK, all *Message except emptyMessage are deprecated and not longer supported.

smallya
Posts: 264
Joined: 19 Mar 2010, 19:22
Contact:

05 Oct 2010, 21:40

But anyway to get the emptyMessage to work - all data tables are showing weird without the empty message
Netbeans 7.2| GlassFish 3.2 | PostgreSQL 9.1| MongoDB | Primefaces 3.4.2
_______________________________________________________________
Subraya Mallya
http://tinyhabit.com |http://twitter.com/tinyhabit

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

05 Oct 2010, 22:33

With new datatable introduced in 2.2.M1 all messages except empty message is deprecated yes, it should display the empty message. I'll double check. Thanks for your feedback. Feel free to create an issue ticket if you are sure empty message is ignored.

anivijen143
Posts: 6
Joined: 01 Mar 2012, 21:30

13 Mar 2012, 20:04

It is not working for me also :(

I am new to this forum...please tell me
Where should I create a ticket?

User avatar
T.dot
Expert Member
Posts: 620
Joined: 01 Feb 2012, 15:39
Location: Vienna/Austria

13 Mar 2012, 20:06

You're replying to a thread that's about 18 months old.
Read this first viewtopic.php?f=3&t=1194 before you think of an issue.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 40 guests