Author: lou
Date: 2007-09-26 02:38:21 -0700 (Wed, 26 Sep 2007)
New Revision: 6608
Modified:
openlaszlo/trunk/docs/src/developers/animation.dbk
openlaszlo/trunk/docs/src/developers/constraints.dbk
openlaszlo/trunk/docs/src/developers/fonts.dbk
openlaszlo/trunk/docs/src/developers/programs/text-$6.lzx
openlaszlo/trunk/docs/src/developers/proxied.dbk
Log:
Change 20070921-lou-l9Z4aa by [EMAIL PROTECTED] on 2007-09-21 14:17:20 AST
in /home/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: correct minor doc issues
New Features:
Bugs Fixed: LPP-4762, fix minor issues (mostly typos) reported by user
Technical Reviewer: Ben Shine
QA Reviewer: (pending)
Doc Reviewer: John Sundman
Documentation:
Release Notes:
Details:
Tests:
Modified: openlaszlo/trunk/docs/src/developers/animation.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/animation.dbk 2007-09-26 08:55:39 UTC
(rev 6607)
+++ openlaszlo/trunk/docs/src/developers/animation.dbk 2007-09-26 09:38:21 UTC
(rev 6608)
@@ -253,7 +253,7 @@
<para>The <indexterm><primary>indirect</primary></indexterm><sgmltag
class="attribute">indirect</sgmltag> attribute allows you to reverse
the direction in which an animation occurs while still arriving at the
-same result. In the example below, setting the
+same result. In the example below, the
<indexterm><primary>indirect</primary></indexterm><sgmltag
class="attribute">indirect</sgmltag> attribute is set to <literal>true</literal>
for the animation on <varname>B23</varname>. This causes the
animation to go to the left, rather than the right, disappearing off
Modified: openlaszlo/trunk/docs/src/developers/constraints.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/constraints.dbk 2007-09-26
08:55:39 UTC (rev 6607)
+++ openlaszlo/trunk/docs/src/developers/constraints.dbk 2007-09-26
09:38:21 UTC (rev 6608)
@@ -356,7 +356,7 @@
<para>
How does it work? When you drag
-the red view to change its on y position, it sends an <indexterm><primary>ony
event</primary></indexterm><literal>ony</literal> event. The blue view is
listening for the
+the red view to change its own y position, it sends an <indexterm><primary>ony
event</primary></indexterm><literal>ony</literal> event. The blue view is
listening for the
red view's <indexterm><primary>ony
event</primary></indexterm><literal>ony</literal> event and responds by
updating its own y position. The red view is listening
for the blue view's <indexterm><primary>ony
event</primary></indexterm><literal>ony</literal> event; however, it doesn't
respond to that event because an event handler only gets
called one time on each event.</para>
@@ -515,7 +515,7 @@
</programlisting>
<para>
in which the value of a parameter is constrained to that returned by a
serializing function.
-Upon inspection, we see that he dependencies of </para>
+Upon inspection, we see that the dependencies of </para>
<programlisting>
value="escape(canvas.options.serialize())"
Modified: openlaszlo/trunk/docs/src/developers/fonts.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/fonts.dbk 2007-09-26 08:55:39 UTC
(rev 6607)
+++ openlaszlo/trunk/docs/src/developers/fonts.dbk 2007-09-26 09:38:21 UTC
(rev 6608)
@@ -259,9 +259,9 @@
<para/></section><section><title>Syntax</title>
<para>
-There are two ways to identify which font your application, or any element of
it, should to use: the <indexterm><primary>font</primary></indexterm><sgmltag
class="attribute">font</sgmltag> attribute on
<indexterm><primary>view</primary></indexterm><sgmltag
class="element"><view></sgmltag><remark role="fixme">[unknown
tag]</remark>
+There are two ways to identify which font your application, or any element of
it, should use: the <indexterm><primary>font</primary></indexterm><sgmltag
class="attribute">font</sgmltag> attribute on
<indexterm><primary>view</primary></indexterm><sgmltag
class="element"><view></sgmltag><remark role="fixme">[unknown
tag]</remark>
<!--unknown tag: view-->
-s and classes derived from views, ant the
<indexterm><primary>font</primary></indexterm><sgmltag
class="element"><font></sgmltag>.
+s and classes derived from views, and the
<indexterm><primary>font</primary></indexterm><sgmltag
class="element"><font></sgmltag>.
</para>
<para/><section><title>The "font" attribute in opening tags</title>
<para>
@@ -431,7 +431,7 @@
</para>
<para/></section><section><title>Comparison to CSS</title>
<para>
- The OpenLaszlo <indexterm><primary>font</primary></indexterm><sgmltag
class="attribute">font</sgmltag> attribute is similar to the CSS 'font' and
'font-family' properties:
http://www.w3.org/TR/2004/CR-CSS21-20040225/fonts.html#font-family-prop.
+ The OpenLaszlo <indexterm><primary>font</primary></indexterm><sgmltag
class="attribute">font</sgmltag> attribute is similar to the CSS 'font' and
'font-family' properties: <ulink
url="http://www.w3.org/TR/2004/CR-CSS21-20040225/fonts.html#font-family-prop">here</ulink>.
The remaining differences are:
</para>
<itemizedlist spacing="compact"><listitem><para>LZX specifies the font as an
XML attribute. HTML+CSS specifies it is a CSS
property.</para></listitem><listitem><para>An OpenLaszlo 'font' can only be a
list of font names. This makes it more similar to the CSS 'font-family' than to
the CSS 'font', which is a shorthand property that can also accept font size,
style, variant, weight, and line-height
values.</para></listitem><listitem><para>CSS defines the additional generic
font families 'cursive' and 'fantasy' , as well as "system font" names
'caption', 'icon', 'menu', 'message-box', 'small-caption', and 'status-bar'.
(Generic family name definitions, below, let the application or library
developer define these system names.)</para></listitem><listitem><para>CSS
allows multiword font names to be quoted, e.g. "Times New Roman" (where the
quotes are part of the value). LZX does not allow
this.</para></listitem></itemizedlist>
@@ -1040,7 +1040,7 @@
</para>
<para/></section><section><title condition="swf">Performance
considerations</title>
<para>
-Embedded fonts (in applications compiled to SWF) increase the size the size of
the application.
+Embedded fonts (in applications compiled to SWF) increase the size of the
application.
</para>
<para>When deciding what embedded fonts to use, you may need to take into
account how
fonts affect the size, hence download time, of your application. Here are some
heuristics to help you
Modified: openlaszlo/trunk/docs/src/developers/programs/text-$6.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/text-$6.lzx 2007-09-26
08:55:39 UTC (rev 6607)
+++ openlaszlo/trunk/docs/src/developers/programs/text-$6.lzx 2007-09-26
09:38:21 UTC (rev 6608)
@@ -3,7 +3,8 @@
<simplelayout/>
<slider name="down" width="100" value="5000" minvalue="1000"
maxvalue="100000"
keystep="1000"/>
- <text text="${'Slider Value is '+parent.down.value+' nicely constrained'}"/>
+<!-- added resize attribute IORIO 21 sep 2007 -->
+ <text resize="false" text="${'Slider Value is '+parent.down.value+' nicely
constrained'}"/>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
Modified: openlaszlo/trunk/docs/src/developers/proxied.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/proxied.dbk 2007-09-26 08:55:39 UTC
(rev 6607)
+++ openlaszlo/trunk/docs/src/developers/proxied.dbk 2007-09-26 09:38:21 UTC
(rev 6608)
@@ -669,58 +669,60 @@
</para>
<para>
-You can run the YouTube player here:
+You can run the YouTube player <ulink
url="http://www.donhopkins.com/trunk/demos/youtube/youtube.lzx?lzt=swf">here</ulink>.
</para>
-<para>
-http://www.donhopkins.com/trunk/demos/youtube/youtube.lzx?lzt=swf
-</para>
+
+
+
<para>
This is the youtubeplayer component source, and its supporting lzx files:
</para>
<para>
-http://www.donhopkins.com/trunk/demos/youtube/youtubeplayer.lzx?lzt=source
-http://www.donhopkins.com/trunk/demos/youtube/youtube.lzx?lzt=source
-http://www.donhopkins.com/trunk/demos/youtube/videolibraryicon.lzx?lzt=source
-http://www.donhopkins.com/trunk/demos/youtube/videolibrarypopup.lzx?lzt=source
-</para>
+ <itemizedlist>
+ <listitem><para><ulink
url="http://www.donhopkins.com/trunk/demos/youtube/youtubeplayer.lzx?lzt=source">youtubeplayer</ulink></para></listitem>
+ <listitem><para><ulink
url="http://www.donhopkins.com/trunk/demos/youtube/youtube.lzx?lzt=source">youtube</ulink></para></listitem>
+ <listitem><para><ulink
url="http://www.donhopkins.com/trunk/demos/youtube/videolibraryicon.lzx?lzt=source">videolibraryicon</ulink></para></listitem>
+ <listitem><para><ulink
url="http://www.donhopkins.com/trunk/demos/youtube/videolibrarypopup.lzx?lzt=source">videolibrarypopup</ulink></para></listitem>
+ </itemizedlist>
-<para>
-Here's the source of the YouTube proxy in Java, as a JSP. We've copied it to
another file and added the .txt extension so you can look at the source instead
of executing it.
+
+
+
</para>
<para>
-http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp.txt
+Here's the <ulink
url="http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp.txt">source</ulink>
of the YouTube proxy in Java, as a JSP. We've copied it to another file and
added the .txt extension so you can look at the source instead of executing it.
</para>
+
<para>
It performs a ReST call on the YouTube API to perform searches (which only
returns the id of the video and the URL of the HTML web page the view the
video, but not the actual url of the FLV video file). When the user plays the
video, it performs another call to download the web pages of the video, and
scrape out the URL of the FLV file from each one.
</para>
<para>
The youtube proxy supports the following functions:
-</para>
-<para>
-videoGetFlvUrl(id)
-http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videoGetFlvUrl&id=SRCux7wefH0
-</para>
+<itemizedlist>
+<listitem><para>
+<ulink
url="http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videoGetFlvUrl&id=SRCux7wefH0">videoGetFlvUrl(id)</ulink>
+</para></listitem>
-<para>
-videosListFeatured()
-http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListFeatured
-</para>
-<para>
-videosListByTag(tag) // comma separated tags
-http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListByTag&tag=kitten,cute
-</para>
+<listitem><para>
+<ulink
url="http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListFeatured">videosListFeatured()</ulink>
+</para></listitem>
-<para>
-videosListByUser(user)
-http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListByUser&user=marccanter
+<listitem><para>
+<ulink
url="http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListByTag&tag=kitten,cute">videosListByTag(tag)
// comma separated tags</ulink>
+</para></listitem>
+
+<listitem><para>
+<ulink
url="http://www.DonHopkins.com/trunk/demos/youtube/youtube.jsp?method=videosListByUser&user=marccanter">videosListByUser(user)</ulink>
+</para></listitem>
+</itemizedlist>
</para>
<para/><section><title>Another example of SOLO deployment: LaszloMail</title>
<para>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins