Hi everybody,
I'm trying to submit a t5 form that contain a component build on a t5 grid
modification

<div class="t-data-grid"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
        
        <t:if t:test="filtred" negate="false">
                        <table>
                                <tr>
                                        <td>
                                                <t:beaneditor 
t:object="gridModel.filterObject">
                                                </t:beaneditor>          
                                        </td>
                                        <td>
                                                <div    t:MyLinkableImage
                                                         
t:iconPathKey="literal:ico_search" 
                                                         t:linkType="submit"
                                                         t:id="filter" 
                                                />
                                        </td>
                
                                </tr>

                        </table>                
        </t:if>
        
        
        <div t:id="pagerTop"/>
        
        <div t:id="gtb" 
                 t:type="MyGridToolbar"
                 t:source="prop:toolbarModel"
                 />
                 
        <table cellspacing="0" class="t-data-grid" name="SailingTable">
                <thead t:id="columns"/>
                <tbody>
                        
                        <tr t:id="rows"/>
                </tbody>
        </table>

        <div t:id="pagerBottom"/>
        
        <t:block>
                <div t:id="pager"/>
        </t:block>      

        <t:block id="empty"> There is no data to display. </t:block>
</div>


I'd like to use bean editor to create dinamically the components to filter
the grid contents.
And I'd like to associate this filter at my grid component.

the gridModel.filterObject is initialized on the beginRender in this way

gridModel.setFilterObject(_model.getBeanType().newInstance());

model il the BeanEdit model parameter of the grid component.


In that way t5 creates the components correctly but on form submit
booom the virtual machine crash.
Any ideas ?

Many thanks!

-Rick







-- 
View this message in context: 
http://www.nabble.com/t5-beaneditor-vm-lock-tp15718288p15718288.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to