tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-238) Default for Grid's empty parameter does not work
Date Tue, 28 Oct 2008 23:56:46 GMT

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

Howard M. Lewis Ship commented on TAP5-238:
-------------------------------------------

Defaults for component parameters are evaluated in the context of the component itself, not
its container.  So block:empty refers to a block with id 'empty' inside Grid.tml.

I'm updating some of the documentation to give a clearer example of how to use the empty parameter.

> Default for Grid's empty parameter does not work
> ------------------------------------------------
>
>                 Key: TAP5-238
>                 URL: https://issues.apache.org/jira/browse/TAP5-238
>             Project: Tapestry 5
>          Issue Type: Bug
>            Reporter: Geoff Callender
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> Doco says default for empty is "block:empty" but this doesn't work.  If I leave out the
empty parameter then my block with id="empty" is ignored and the standard message about "no
data to display" appears.  However, if I specify empty="block:empty" then my block is displayed.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message