Annotation of kupu/default/form.kupu, revision 1.1
1.1 ! dwinter 1: <?xml version="1.0" ?>
! 2: <kupu:feature
! 3: name="form"
! 4: implementation="default"
! 5: xmlns="http://www.w3.org/1999/xhtml"
! 6: xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
! 7: >
! 8: <kupu:id>$Id: form.kupu 9520 2005-02-26 16:30:23Z duncan $</kupu:id>
! 9:
! 10: <!-- This is an example of how to wrap the kupu editor in an HTML
! 11: form. -->
! 12:
! 13: <kupu:part name="form">
! 14: <form id="kupuform" action="handler" method="post">
! 15: <kupu:define-slot name="form" />
! 16: </form>
! 17: </kupu:part>
! 18:
! 19: <!-- Now you need the appropriate wiring, too. Instead of appending
! 20: the fulleditor part directly to the body, we append form part first
! 21: and the fulleditor to that. -->
! 22:
! 23: <kupu:wire append-slot="body" feature="form" part="form" />
! 24: <kupu:wire append-slot="form" feature="body" part="fulleditor" />
! 25:
! 26: </kupu:feature>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>