Found the problem.

5.0.18 can't look up components of the form foo.fooSomeExtension

So my component was called
project.ProjectCompilerConfigView.(tml|java) under components, and
taps couldn't find the tml file. Called the java code, but the tml
file never rendered.

When I changed it to project.CompilerConfigView, it started rendering
the template.

So the 'autotrimming' doesn't seem to work reliably.


On Tue, May 12, 2009 at 8:34 AM, daniel joyce <daniel.a.jo...@gmail.com> 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

Reply via email to