Hi Folks, I am taking a bite out of the grid component.
I was hoping maybe I could get some help with it so i can move onto more meatier frontiers. Aside from sorting which i havent got working yet... I am caught with this stack trace... with a double submit problem. My initial submit works and my grid renders beautifully. A second submit causes this exception. Any help is appreciated. I placed a grid.reset() inside my submit to try and fix it but it keeps happening. I thought a grid.reset() was sufficient inside setupRender(). Thanks for any assistance org.apache.tapestry5.ioc.internal.OperationExceptionIndex: 0, Size: 0locationclasspath:org/tynamo/examples/pphl/pages/LeadersQuery.tml, line 72 xmlns:p="tapestry:parameter"3 xmlns:j="tapestry-library:jquery">4 5 <t:block id="leadersQueryMainBlock">6 7 <t:form t:id="criteriaForm" id="criteriaForm" clientValidation="false" >8 <t:errors/> 9 10 <fieldset class="k-sub-group" style="fieldset.k-sub-group { border:1px; background: ${adminLayout.dividerBackGroundColor}; }">11 <legend>12 Selection CriteriatraceTriggering event 'action' on LeadersQuery:criteriaformorg.apache.tapestry5.runtime.ComponentEventExceptionIndex: 0, Size: 0context eventTypeactionlocationclasspath:org/tynamo/examples/pphl/pages/LeadersQuery.tml, line 7org.apache.tapestry5.ioc.internal.util.TapestryExceptionIndex: 0, Size: 0locationclasspath:org/apache/tapestry5/corelib/components/Grid.tml, line 83 <div t:id="pagerTop"/>4 5 <table t:id="table">6 <thead t:id="columns"/>7 <tbody>8 <tr t:id="rows"/>9 </tbody>10 </table>11 12 <div t:id="pagerBottom"/>13 java.lang.IndexOutOfBoundsExceptionIndex: 0, Size: 0Filter stack frames Stack trace java.util.ArrayList.RangeCheck(ArrayList.java:547) java.util.ArrayList.get(ArrayList.java:322) org.apache.tapestry5.internal.grid.CollectionGridDataSource.getRowValue(CollectionGridDataSource.java:111) org.apache.tapestry5.corelib.components.Grid$CachingDataSource.getRowValue(Grid.java:318) org.apache.tapestry5.corelib.components.GridRows.setupForRow(GridRows.java:297) org.apache.tapestry5.corelib.components.GridRows$SetupForRowByIndex.execute(GridRows.java:88) org.apache.tapestry5.corelib.components.GridRows$SetupForRowByIndex.execute(GridRows.java:75) org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:661) org.apache.tapestry5.corelib.components.Form.advised$onAction_304c8bd2e421(Form.java:522) org.apache.tapestry5.corelib.components.Form$Invocation_onAction_304c8bd2e420.proceedToAdvisedMethod(Unknown Source) org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84) org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45) org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86) org.apache.tapestry5.corelib.components.Form.onAction(Form.java) org.apache.tapestry5.corelib.components.Form.dispatchComponentEvent(Form.java) org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:935)