Hello,

I am starting to use Tapestry 4.1.1 and want to build a filter with
checkboxes that filters a result list.
The checkboxes are being generated from a list and when a checkbox is
checked a list is filtered by means of a Ajax call.
After that the results in the div with id=SearchResults is updated.

Is there someway to use the @EventListener for this? Because beforehand
don't know how many check boxes there will be.

Below is an example template:

           <SPAN jwcid="@For" source="ognl:listCheckBoxes"
value="ognl:checkId">

               <input jwcid="@Checkbox" id="ognl:checkId"
value="ognl:checkboxValue"/>

           </SPAN>

         <div class="SearchResults" id="SearchResults">
             <table>
               <tr jwcid="[EMAIL PROTECTED]" source="ognl:foundList"
value="ognl:foundItem" element="tr">
                   <td>
                       <table>
                           <tr>
                               <td>
                                   <span jwcid="@Insert"
value="ognl:concept"/>
                               </td>
                           </tr>
                          </table>
                   </td>
               </tr>
            </table>
        </div>

Regards,
Diego

Reply via email to