Hi,

For the table:
You can use <t:dataTable> property: renderedIfEmpty="false".

For showing "no data found" you can simply put above or below the table:
<h:outputText value="no data found" rendered="#{empty home.sharedUrlList}"
/>

Guy.

-----Original Message-----
From: Plant More Tree [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 06, 2008 1:21 PM
To: [email protected]
Subject: how to display 'not found' message when no data found t:dataTable


Hi guys,

   I need to display message like 'no data found' when there is no data
found when using t:dataTable.

<t:dataTable id="suls" var="sul" style="margin-top: 10px"
    value="#{home.sharedUrlList}" rows="#{appConfig['maxRow']}">

which attribute to set ? or is there such attribute to set ?

appreciate any help. Thanks !

Mark
-- 
View this message in context:
http://www.nabble.com/how-to-display-%27not-found%27-message-when-no-data-fo
und-t%3AdataTable-tp18300680p18300680.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to