Please provide the details how to use the tree grid component.

I tried in this way.

<div t:type="cl/TreeGrid" id="indentedTable"
columnHeaders="containerFieldModel" source="containerVOList"/>

in java


        public List<ContainerVO> getContainerVOList() {
                return containerVOList;
        }

        /**
         * Returns a model for containerFieldValue.
         * 
         * @return BeanModel
         */
        @SuppressWarnings("unchecked")
        public BeanModel getContainerFieldModel() {
                BeanModel model = 
beanModelSource.createEditModel(ContainerVO.class,
resources.getMessages());
                model.get("ref").label(messages.get("label_containerRef"));
                return model;
        }

But I get an error as 

Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException:
Component Product/catalogue/products/TestAdd:treegrid has rendered
unbalanced elements; either it has started an element with
MarkupWriter.element() and not followed up with MarkupWriter.end(), or it
has invoked MarkupWriter.end() without first invoking
MarkupWriter.element(). [at
classpath:net/awl/tapestry5/massilia/product/pages/catalogue/products/TestAddProduct.tml,
line 24]

where line 24 is the line in tml which includes this component.

Thanks In advance.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-Announce-TreeGrid-component-tp2416233p4662221.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