Hi,

check that the associated .tml is really named correctly and is part of the
correct package. The case matters, it must be same in .java as it is in
.tml. The tml file is not mandatory, if it is omitted then the component
outputs only what the java class writes directly to the writer.

 - Ville


daniel joyce wrote:
> 
> The component is in a subpackage projects under components,
> 
> I use it via <t:projects.viewConfig ...
> 
> I know it IS getting picked up ( at the class is ) because the debug
> statements are getting logged. But the tml doesn't render AT ALL.
> 
> On Tue, May 12, 2009 at 8:30 AM, daniel joyce <daniel.a.jo...@gmail.com>
> wrote:
>> I have a method in the java file annotated with @SetupRender. Debug
>> statements show it should be rendering. The code is being called. But
>> no content is emitted by the .tml
>>
>> <t:container
>> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>    <table>
>>        <thead>
>>            <tr>
>>                <th align="left" colspan="${nameColSpan}">${cName}</th>
>>                <th align="right"></th>
>>            </tr>
>>            <tr>
>>                <th>&nbsp;</th>
>>                <!-- build headers -->
>>                <t:loop source="pNames" value="pName">
>>                    <th>${pName}</th>
>>                </t:loop>
>>            </tr>
>>        </thead>
>>        <tbody>
>>            <!-- build body -->
>>            <t:loop source="pNames" value="pName">
>>                <td></td>
>>            </t:loop>
>>            <td>Edit</td>
>>            <td>Delete</td>
>>        </tbody>
>>    </table>
>>
>>
>> At the bare minimum, it should be emitting a empty table into the
>> completed page. Is there another method I need to implement? Something
>> I am missing?
>>
>> I've tried having the method annotated with @SetupRender return void
>> and true; No content at all is emitted by the tml file in either case.
>>
>>
>> -Daniel
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Component-won%27t-render-its-body-tp23504925p23505797.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to