Subversion Repositories linkit

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

Compare with Previous | Blame | View Log

<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">

    <t:uploadComponent divId="literal:flexUpload" t:id="uploadComponent"/>
    <br/>
    <br/>

    <!--a href="#" onclick="javascript:flexUpload.sendFiles();">send documents</a-->
    <a href="#" onclick="javascript:document.getElementById('flexUpload').sendFiles();">send documents</a>
    <br/>
    <a href="#" onclick="javascript:launchUpload('flexUpload');">new test</a>
    <br/>
    <br/>

    <script type="text/javascript" language="javaScript">
        function processUploadCompleteEvent(message) {
            alert("processUploadCompleteEvent javascript method \nis called when upload is finished !");
        }
    </script>

    <t:uploadComponent divId="literal:flexUpload2" t:id="uploadComponent2"/>

</t:layout>

Compare with Previous | Blame | View Log