test-auth.lzx

<!-- Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved. -->
<canvas title="test-auth.lzx">

<include href="../classes/dataman.lzx"/>
<simplelayout axis="y" spacing="10"/>
<button onclick="gDataMan.doAuth()">authorize</button>
<button onclick="gDataMan.doToken()">renew token (after authorizing)</button>
<edittext name="idtext">153387</edittext>
<edittext name="tagtext">lzpixtest4</edittext>
<button>tag it
    <handler name="onclick">
            var argobj = [
                {argname:"method", 
                argvalue:"flickr.photos.addTags"},
                {argname:"photo_id",
                argvalue: idtext.text},
                {argname:"tags",
                argvalue: tagtext.text}                
                ];
            gDataMan.doAuthFlickrRequest(canvas.infods, argobj);                                                                
    </handler>
</button>

<text datapath="infods:/rsp/@stat">
</text>

</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2011 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

Cross References

Includes

Named Instances