Subversion Repositories linkit

[/] [trunk/] [demo/] [src/] [main/] [resources/] [org/] [linagora/] [linkit/] [demo/] [pages/] [TimelineDemo.tml] - Rev 1

Compare with Previous | Blame | View Log

<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
        <p>Hello from timeline demo page !</p>
        <t:form>
                Choose the default interval unit : <t:select t:id="intervalUnit" validate="required"/>
                <!-- Here is an example of how you can store / reuse the current date of the timeline -->
                <t:linkit.hiddenfield t:id="startTime"/>
                <t:submit onclick="document.getElementById('startTime').value=getCenterDate(tl,0);return true;"/>
        </t:form>
        <t:zone t:id="timelineZone">
                <t:linkit.timeline startTime="prop:startTime" intervalUnit="prop:intervalUnit" timelineEvents="prop:timelineEvents" baseUrl="literal:demo" />
    </t:zone>
</t:layout>

Compare with Previous | Blame | View Log