[ 
https://issues.apache.org/jira/browse/TAP5-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639011#action_12639011
 ] 

Geoff Callender commented on TAP5-262:
--------------------------------------

I think this one just needs an example in the Grid page.  eg.

    <table t:type="grid" t:source="users" t:empty="block:empty">
        <t:block t:id="empty">
            <div class="nodata">(No Users to display)</div>
        </t:block>
    </table>

or

    <table t:type="grid" t:source="users" t:empty="block:empty">
        <t:block t:id="empty">
            <div class="nodata">${message:no-users-to-display}</div>
        </t:block>
    </table>

There may be even simpler ways to write it but who knows - there are simply no 
adequate examples of how to use Blocks or what's considered a Block.



> "There is no data to display." is hard coded in Grid.tml
> --------------------------------------------------------
>
>                 Key: TAP5-262
>                 URL: https://issues.apache.org/jira/browse/TAP5-262
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.0.16
>            Reporter: Francois Armand
>
> It should be a localized entry of Grid.properties file

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to