Personal tools

Views

Dreamweaver Widget Packager:Sample WDF

From Adobe Labs

<?xml version="1.0" encoding="utf-8" ?>

<widget name="foo Button" version="2.5.2" aboutUri="http://www.Foo.com/foo/" id="http://www.fooButton.com">

<authors> <author name="Foo Inc." /> </authors>

<javascript location="afterContent"> <![CDATA[ var oButton = new Foo.widget.Button( "@@id@@", { checked: false, } ); ]]> </javascript>

<content> <![CDATA[

<button type="button">Add</button>

]]> </content>

<requires> <require type="css" src="includes/button/assets/button.css" includeRef="true"/> <require type="image" src="includes/assets/sprite.png" includeRef="true"/> <require type="javascript" src="includes/Foo.js" includeRef="true"/> <require type="javascript" src="includes/min.js" includeRef="true"/> </requires>

<categories> <category name="foo"/> </categories>

<description> <![CDATA[

    The foo Button Widget enables the creation of rich, graphical buttons that function like traditional HTML form buttons. Unlike traditional HTML form buttons, buttons created with the Button Control can have labels that are different from their value. 
     <br><br>
     The Foo Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. The foo Library also includes several core CSS resources. All components in the foo Library have been released as open source under a BSD license and are free for all uses.

]]> </description> </widget>

Retrieved from "http://labs.adobe.com/wiki/index.php/Dreamweaver_Widget_Packager:Sample_WDF"