hi,
this is one of these 'mysterious' problems. i have a component (report)
which takes a datasource and draws a table filled with data. something
like a grid component provided by tapestry.

this is essencial part of .tml:

        <t:loop source="items" value="row">
                <tr>
            <td> test </td>
                        <t:body />
                </tr>
        </t:loop>

and this is part of .tml of the page which uses my component:

        <t:report t:id="users" model="reportModel" row="userObject">
        <td>  blah blah </td>
                <td>  ${userObject.username}  </td>
        </t:report> 


it works perfectly ok. well, almost. sometimes it happens that
component's body is not drawn! precisely it is not returned inside
response to XHR which updates the component. 

i ensured that 'items' collection is not empty (<td> test </td> is drawn
correctly as many times as items.size()) and checked assigned userObject
(which is correct non-null object).

the problem is that whole the component is drawn as it should but
<t:body/> tag is _sometimes_ ignored. i cannot even reproduce this
problem easily. 

there is no @BeforeRenderBody function in my component.

could you please give me a hint where should I start investigating this
problem?

thanks a lot,
m.

 
-- 
Mess with the best, die like a rest!


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

Reply via email to