Subversion Repositories linid-dm

[/] [sample/] [branches/] [Tapestry-5.4-beta/] [src/] [main/] [resources/] [org/] [linid/] [dm/] [sample/] [tap5/] [components/] [edit/] [HoursInWeekEditor.tml] - Rev 505

Compare with Previous | Blame | View Log

<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd" xmlns:p="tapestry:parameter">
         
         <table class="hoursInWeek">
         <tr>
                <th class="dayName">${message:components.hoursInWeek.hours}</th>
                <th t:type="loop" t:source="0..23" t:index="hourIndex">${hourIndex}</th>
         </tr>
         <tr t:type="loop" t:source="0..6" t:index="index">
                <th class="dayName">${dayName}</th>
                <t:loop t:source="0..23" t:index="hourIndex">

                        <t:if test="hour">
                                <td class="hourOn" title="${index}_${hourIndex}" ></td>
                        <p:else>
                                <td class="hourOff" title="${index}_${hourIndex}"></td>
                        </p:else>
                        </t:if>

                        
                </t:loop>
         </tr>
         </table>
         
         <t:loop t:id="days" t:value="currentday" t:index="index">
                <t:textfield t:value="day" t:clientid="day_${index}" class="hidden" />
         </t:loop>
        
</t:container>

Compare with Previous | Blame | View Log