Author: lou
Date: 2007-10-08 14:47:08 -0700 (Mon, 08 Oct 2007)
New Revision: 6761
Modified:
openlaszlo/trunk/docs/src/developers/components-design.dbk
Log:
Change 20071008-lou-j by [EMAIL PROTECTED] on 2007-10-08 11:45:31 AST
in /Users/lou/src/svn/openlaszlo/trunk/docs/src
for http://svn.openlaszlo.org/openlaszlo/trunk/docs/src
Summary: Add section 4. Component auto-include to Designing Custom Components
chapter of the dguide
New Features:
Bugs Fixed: LPP-1083: setting up component auto-include
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
Modified: openlaszlo/trunk/docs/src/developers/components-design.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/components-design.dbk 2007-10-08
20:45:40 UTC (rev 6760)
+++ openlaszlo/trunk/docs/src/developers/components-design.dbk 2007-10-08
21:47:08 UTC (rev 6761)
@@ -647,4 +647,21 @@
</canvas>
</programlisting><?lzx-edit programs/custom-components-$15.lzx></example?>
-<para/></section></section></chapter>
+<para/></section></section>
+<section>
+<title>Component auto-include</title>
+<para>You can auto-include a component so you can use the new tag anywhere
without having to include it.</para>
+<orderedlist>
+<listitem><para>Copy your component somewhere under lps/components. Be sure to
explicitly include all auto-included lzx files, for example, if you use
simplelayout, be sure to add:</para>
+<para><literal><include
href="util/layouts/simplelayout.lzx"/></literal></para>
+<para>Notice how the path is relative to the root of the components
directory.</para>
+</listitem>
+<listitem><para>Add the tag name and component path to
WEB-INF/lps/misc/lzx-autoincludes.properties. For example, to add an
+image component under base/image.lzx, add this line to the properties
file:</para>
+<para><literal>image: base/image.lzx</literal></para>
+<para>Once again, notice how the path is relative to the root of the
components directory.</para>
+</listitem>
+<listitem><para>Restart LPS. You should now be able to use the new tag
anywhere without having to include it. </para></listitem>
+</orderedlist>
+</section>
+</chapter>
\ No newline at end of file
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins