Always check first whether the data you passed to Grid is actually
non-empty. And, for the love of everything that is sacred, please think
more before you post, specially replying to yourself four or five times in
a mailing list. Otherwise, people will end up just ignoring your posts.


On Thu, May 30, 2013 at 5:26 PM, nhhockeyplayer nashua <
nhhockeypla...@hotmail.com> wrote:

> Here is the new simplified template
>
> <t:layout title="literal:Leaders Query" xmlns:t="
> http://tapestry.apache.org/schema/tapestry_5_3.xsd";
>
>                 xmlns:p="tapestry:parameter"
>
>                         xmlns:j="tapestry-library:jquery">
>
>
>
>     <t:block id="leadersQueryMainBlock">
>
>
>
>                 <t:form t:id="criteriaForm" id="criteriaForm"
> clientValidation="false" >
>
>                         <t:errors/>
>
>
>
>                     <fieldset class="k-sub-group"
> style="fieldset.k-sub-group { border:1px; background:
> ${adminLayout.dividerBackGroundColor}; }">
>
>                         <legend>
>
>                             Selection Criteria
>
>                         </legend>
>
>
>
>                         <ul class="k-check">
>
>                                         <table width="100%" border="1" >
>
>                                                 <tr>
>
>                                                         <th>Year</th>
>
>                                                         <th>League</th>
>
>                                                         <th>Season</th>
>
>                                                 </tr>
>
>                                                 <tr>
>
>                                                         <td>
>
>                                                                 <select
> t:type="Select" t:id="yearSelect" t:clientId="yearSelect" id="yearSelect"
>
>
> t:model="prop:yearSelectModel" t:encoder="prop:yearValueEncoder"
>
>
> t:value="prop:year" blankOption="never"
>
>                                                                     />
>
>                                                         </td>
>
>                                                         <td>
>
>                                                                 <select
> t:type="Select" t:id="leagueSelect" t:clientId="leagueSelect"
> id="leagueSelect"
>
>
> t:model="prop:leagueSelectModel" t:encoder="prop:leagueValueEncoder"
>
>
> t:value="prop:league" blankOption="never"
>
>                                                                     />
>
>                                                         </td>
>
>                                                         <td>
>
>                                                                 <select
> t:type="Select" t:id="seasonSelect" t:clientId="seasonSelect"
> id="seasonSelect"
>
>
> t:model="prop:seasonSelectModel" t:encoder="prop:seasonValueEncoder"
>
>
> t:value="prop:season" blankOption="never"
>
>                                                                     />
>
>                                                         </td>
>
>
>
>                                                         <td
> style="width:20%">
>
>                                                                 <t:submit
> t:id="go" event="go" class="button" value="GO" align="right"/>
>
>                                                         </td>
>
>                                                 </tr>
>
>                                         </table>
>
>                         </ul>
>
>                 </fieldset>
>
>
>
>                         <hr/>
>
>                         <B>Players</B>
>
>                         <t:If test="source">
>
>
>
>                                 <t:grid t:id="grid" source="source"
> row="bean" inPlace="true" add="__id__" reorder="__id__"
> t:mixins="tynamo/BeanModelAdvisor">
>
>                                         <p:__id__header>
>
>                                         </p:__id__header>
>
>
>
>                                         <p:__id__cell>
>
>                                                 <t:pagelink t:page="Show"
> context="showPageContext"><t:tynamo.identifier object="bean"/></t:pagelink>
>
>                                         </p:__id__cell>
>
>                                 </t:grid>
>
>
>
>                         <p:else>
>
>                                 <B><CENTER><H3>No objects to
> render</H3></CENTER></B>
>
>                         </p:else>
>
>                         </t:If>
>
>                 </t:form>
>
>         </t:block>
>
>
>
>     <t:delegate to="block:leadersQueryMainBlock" />
>
>
>
> </t:layout>
>




-- 
Thiago

Reply via email to