Brilliant ! thanks dude !

<ui:fragment rendered="#{empty home.sharedUrlList}">
        <div style="margin:5px 0 5px 0;padding:10px;border:1px solid
#ff3366;background-color:#ffcccc">
           <div>
              Sorry no data found !
           </div>
        </div>
</ui:fragment>


bashan wrote:
> 
> 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.
> 
> 
> 

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

Reply via email to