Browse files

Correct a couple of code problems with the bxml-primer tutorial

caught by new user.

Also corrected a couple of other actual English misspellings also.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
Roger Lee Whitcomb
Roger Lee Whitcomb committed Jan 24, 2013
1 parent 307b11d commit 3124acee02d270e1c354cf2226b61714a69bc69e
Showing with 4 additions and 4 deletions.
  1. +4 −4 tutorials/www/bxml-primer.xml
@@ -69,7 +69,7 @@ limitations under the License.
<tt>BXMLSerializer</tt> does not implement <tt>writeObject()</tt>, but does provide some
- additional conveniece methods for reading BXML as well as for localizing the deserialized
+ additional convenience methods for reading BXML as well as for localizing the deserialized
structure using resource bundles.
@@ -860,7 +860,7 @@ limitations under the License.
Window window =
- Label label = bxmlSerializer.getNamespace().get("label");
+ Label label = (Label)bxmlSerializer.getNamespace().get("label");
label.setText("Welcome to Pivot!");;
@@ -909,7 +909,7 @@ limitations under the License.
<Window xmlns="org.apache.pivot.wtk"
<Label bxml:id="label" text="Hello, World!"/>
- <Window>
+ </Window>
@@ -925,7 +925,7 @@ limitations under the License.
- As a result, the <tt>@BXML</tt> annotation can significanly simplify the process of
+ As a result, the <tt>@BXML</tt> annotation can significantly simplify the process of
working with loaded BXML data in Java code. However, it is important to note that, because
BXML binding relies on reflection to set the member variables, it can only be used with
trusted code or to set the values of public fields. For untrusted code, the namespace

0 comments on commit 3124ace

Please sign in to comment.