[ 
https://issues.apache.org/jira/browse/TAPESTRY-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship reassigned TAPESTRY-2542:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Add a new method hasBody() to ComponentRessources
> -------------------------------------------------
>
>                 Key: TAPESTRY-2542
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2542
>             Project: Tapestry
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.0.13
>            Reporter: Martin Papy
>            Assignee: Howard M. Lewis Ship
>
> Same idea as in Tapestry-2541 but in a much lighter way :
> In my case, I use the Layout pattern for rendering my pages, but depending on 
> the situation, sometimes the body of the layout is empty. In that case I 
> would like to display a generic content. So I imagine something like this : 
> <t:if test="hasBody"> 
> Blah blah blah 
> <t:parameter name="else"> 
> <t:body /> 
> </t:parameter> 
> </t:if> 
> But I don't know how to write the test "hasBody".

-- 
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